how to blacklist some hardware
Ed Greshko
Ed.Greshko at greshko.com
Thu Aug 11 23:17:19 UTC 2011
On 08/12/2011 06:30 AM, Anthony Messina wrote:
> On 08/11/2011 02:27 PM, Tom Horsley wrote:
>> On Thu, 11 Aug 2011 20:55:51 +0200
>> François Patte wrote:
>>
>>> Is there a way to tell udev to ignore this hardware and skip anything
>>> regarding it.
>> I have often wondered this as well. I wish there were some way
>> to specify PCI device IDs to be skipped on the kernel command
>> line so the kernel would just leave that device out of the
>> list at the earliest enumeration of devices and no one else
>> would ever even know it was there.
> I do this for my Digium TDM400P card for Asterisk:
> /etc/modprobe.d/blacklist.netjet.conf
>
> Which contains:
> # Blacklist the netjet driver for the 2.6.32 kernel as it prevents the
> # wctdm (TDM400P) driver from loading.
> blacklist netjet
>
> You would do:
> blacklist cx18
There is also a kernel parameter rdblacklist=
Along with that, it may be a good idea to regenerate the initramfs with
dracut to make sure the module isn't loaded at the earliest possible time.
>
>
--
Even if you do learn to speak correct English, whom are you going to
speak it to? -- Clarence Darrow
More information about the users
mailing list