[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to prevent kernel from (auto)loading a module?



On 13/07/11 06:06 PM, Long Wind wrote:
I use lenny and 2 sound cards
I want to disable one sound card, which use snd-ens1371 module
how can I prevent the module from being loaded?
Thanks!

Here is the blacklist factoid from #debian:


!blacklist
In lenny and later, create/edit /etc/modprobe.d/blacklist.local.conf and add a line similar to this (without quotes): "blacklist module_name". If this doesn't work, do 'echo "install modulename /bin/true" >> /etc/modprobe.d/blacklist.local.conf'. IMPORTANT: ask about <blacklist-initramfs>. To blacklist a module at installation time, ask me about <installer blacklist>. http://wiki.debian.org/KernelModuleBlacklisting


Reply to: