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
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).

As far as I can I will try to pass the good news that they do not need to
disable ehci alltogether.

Even if it is buggy hardware, I wonder if some some patch in the drivers might
be possible since the thing just works in some other os.

Thanks again!

-
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

Reply via email to