udev - How to blacklist pcspkr?
Hi, I'm using Slamd64 with a 2.6.21 kernel, and I'm trying to stop the pcspkr module from loading at boot.
I can see it's not being loaded by any init script, so I guess it's udev that's loading it. I tried putting "blacklist pcspkr" on /etc/modprobe.d/blacklist, but it still gets loaded. What's the proper way to blacklist a module in udev? Any other suggestions for disabling the pcspkr module are appreciated. |
Quote:
Code:
$ sudo rm /lib/modules/`uname -r`/kernel/drivers/input/misc/pcspkr.ko |
Now it's gone, thanks
|
Does the "remove module hack" survive a kernel upgrade?
If not, try adding the following line: Code:
install pcspkr true |
All times are GMT -5. The time now is 11:43 AM. |