Thanks syg00 and towheedm.
I'll tell you what I did.
1) I checked the dependencies of each module and it turns out that ehci_hcd does not depend on uhci_hcd. Instead, both depend on usbcore:
Code:
root@debian:~# modinfo ehci_hcd uhci_hcd | grep depends
depends: usbcore
depends: usbcore
root@debian:~#
However, I tried to blacklist both modules from modprobe, as towheedm suggested. I rebooted and found out that both modules were loaded automatically during boot. (Also, I forgot to add that I had updated grub configuration yesterday
).
2) I changed the name of the module file:
Code:
root@debian:~# modinfo ehci_hcd
filename: /lib/modules/3.2.0-4-686-pae/kernel/drivers/usb/host/ehci-hcd.ko
license: GPL
author: David Brownell
description: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
alias: pci:v*d*sv*sd*bc0Csc03i20*
depends: usbcore
intree: Y
vermagic: 3.2.0-4-686-pae SMP mod_unload modversions 686
parm: log2_irq_thresh:log2 IRQ latency, 1-64 microframes (int)
parm: park:park setting; 1-3 back-to-back async packets (uint)
parm: ignore_oc:ignore bogus hardware overcurrent indications (bool)
parm: hird:host initiated resume duration, +1 for each 75us (int)
root@debian:~#
and rebooted. It appears the module is still being loaded:
Code:
root@debian:~# lsmod | grep usb
usb_storage 35142 0
usbcore 104555 4 ehci_hcd,uhci_hcd,usb_storage
scsi_mod 135037 5 libata,sd_mod,sr_mod,sg,usb_storage
usb_common 12338 1 usbcore
root@debian:~# modinfo ehci_hcd
filename: /lib/modules/3.2.0-4-686-pae/kernel/drivers/usb/host/ehci-hcd.ko
ERROR: could not get modinfo from 'ehci_hcd': No such file or directory
root@debian:~#
It just can't find the module information since I changed the module name... but somehow it keeps getting loaded... I'm kinda confused here.
FYI:
Code:
root@debian:~# ls /lib/modules/3.2.0-4-686-pae/kernel/drivers/usb/host
ehci-hcd.ko.bkp hwa-hc.ko isp116x-hcd.ko ohci-hcd.ko r8a66597-hcd.ko sl811_cs.ko sl811-hcd.ko u132-hcd.ko uhci-hcd.ko whci xhci-hcd.ko
root@debian:~#
Or maybe I'm doing something wrong.
Please advise.