Blacklisting a module
Hi all,
I have a problem blacklisting a module. Whenever I plug in a proprietary USB device, a built-in kernel module, "usbtest", gets loaded automatically because my usb device has the same vendor/product ids as "usbtest". I am not using this driver and I want to have control of the usb device. So I put "usbtest" in the /etc/hotplug/blacklist file, but the module still gets loaded every time when I plug in my usb device. I have this problem on FC4 (and FC3 before). I tried on Debian Sarge and there was no problem - the module didn't get loaded when I blacklisted it. I need to use Fedora for now because of other issues so does anyone have any idea what the problem could be and how I can fix it?
Thanks.
Danny
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
I fixed the problem. The line needs to go into /etc/modprobe.d/blacklist-compat instead of /etc/hotplug/blacklsit. I forgot to mention but I'm using kernel 2.6.16-1.2096_FC4.
Danny
Quoted 17 lines · Danny Budik
Hi all,
I have a problem blacklisting a module. Whenever I plug in a proprietary USB device, a built-in kernel module, "usbtest", gets loaded automatically because my usb device has the same vendor/product ids as "usbtest". I am not using this driver and I want to have control of the usb device. So I put "usbtest" in the
/etc/hotplug/blacklistfile, but the module still gets loaded every time when I plug in my usb device. I have this problem on FC4 (and FC3 before). I tried on Debian Sarge and there was no problem - the module didn't get loaded when I blacklisted it. I need to use Fedora for now because of other issues so does anyone have any idea what the problem could be and how I can fix it?Thanks.
Danny
Signature · 16 lines
Danny Budik Systems Engineer Inductive Signature Technologies, Inc. http://www.ist-traffic.com (865) 673-9434 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 3 lines · Danny Budik
I fixed the problem. The line needs to go into
/etc/modprobe.d/blacklist-compatinstead of/etc/hotplug/blacklsit. I forgot to mention but I'm using kernel 2.6.16-1.2096_FC4.
Yes, it moved to a modprobe-based blacklist in FC5:
* Thu Jul 07 2005 Bill Nottingham <[email protected]> - 0.160-1
- move blacklist to /etc/modprobe.d, require new module-init-tools
This may have needed backported to FC4 once a newer udev got shipped.
Bill
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel