On Fri, Dec 14, 2007 at 04:47:28PM +0000, Sergio Callegari wrote: > Alan Stern <[EMAIL PROTECTED]> writes: > > > > > On Fri, 14 Dec 2007, Sergio Callegari wrote: > > > > > I would like to know if this issue had already been reported and > > > maybe solved and alternatively if there is some way to _selectively_ > > > ban ehci_hcd from attaching to a single hub, rather than disabling it > > > completely. > > > > There is; you can do it through sysfs. For example on my system: > > > > # cd /sys/bus/pci/drivers/ehci_hcd > > # ls > > 0000:00:1d.7@ 0000:01:00.2@ 0000:01:01.2@ bind module@ new_id > > unbind > > > > You just have to identify which PCI device corresponds to the > > controller you want to disable, and write that name to the "unbind" > > file. For example: > > > > # ls -d 0000:00:1d.7/usb* > > 0000:00:1d.7/usb8/ 0000:00:1d.7/usb_host:usb_host8@ > > # echo -n 0000:00:1d.7 >unbind > > > > would disable the EHCI controller for my USB bus 8. > > > > Alan Stern > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > > the body of a message to [EMAIL PROTECTED] > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > > > What can I say... this is just excellent!!! > And it works fine. I have tried and right after the unbinding my UMTS modem > becomes visible. > > So I have a rather elegant workaround for my issue. > > Now the question is where the initial issue comes from: > 1) Buggy hardware
Yes :) > 2) Some bug or missing feature in the ehci_hcd driver > > Personally, I tend to believe that it should not be 1). In this days I have > been looking on mailing lists and forums and there are by far too many > people lamenting that they need to rmmod ehci_hcd to use their hardware > (most of the complaints are related to kernels from 2.6.17 to 2.6.22). So 2.6.23 works? thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html