Prevent parport0 module from loading(kernel 2.6.28)

 

修改/etc/modeprobe.d/alsa-base-blacklist

# Uncomment these entries in order to blacklist unwanted modem drivers # blacklist snd-atiixp-modem # blacklist snd-intel8x0m # blacklist snd-via82xx-modem # Comment this entry in order to load snd-pcsp driver blacklist parport blacklist lp blacklist parport0 blacklist parport_pc blacklist snd-pcsp

 

~ reboot 搞定!

 

然后就可以正常运行

 

Linux Driver by Yoo Young Chang

》上的中断例子了.

 

sudo insmod int_dev.ko

 

sudo mknod /dev/intdev c 240 0

 

sudo ./int_app

 

cat /proc/interrups

Prevent parport0 module from loading(kernel 2.6.28)_第1张图片

你可能感兴趣的:(c,linux,Module)