viernes, 11 de julio de 2014

disabling ehci_hcd

disabling ehci_hcd

If your distribution (like Fedora 11) instead compiled the ehci_hcd support directly into the kernel, you cannot unload or blacklist it.

In such cases you can unbind it in sysfs, but first we need to find what the PCI device number of the EHCI controller is as follows;

*************************************
lspci | grep -i ehci
*************************************
On a ThinkPad T41 this returns

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)

To unbind the ehci_hcd support from the PCI device, run the following command (adjust PCI location, based on lspci result)



*************************************
echo -n "0000:00:1d.7" > /sys/bus/pci/drivers/ehci_hcd/unbind
*************************************

To automatically unload it on bootup, simply add the last command to /etc/rc.local.