On Wednesday 05 July 2006 8:42 am, Christopher Montgomery wrote:

> The hub is plugged in doing nothing. 

Except being regularly polled "did anything happen" about 4x/second.
It's certainly active.  (Though there's some new autosuspend stuff
in the works that could de-activate it and use remote wakeup to
learn about all interesting happenings.)


> It has no connected devices.  I 
> unplug it.  I log multiple EPROTO errors and see resubmission attemps
> as well as schedule teardown/setup.  Apparently there are always
> pending URBs, so we're once again splitting hairs.

You appear to have changed something, and thereby prevented khubd
from marking the device gone.  Otherwise faults like EPROTO would
normally appear at most once.


> > That's why the URB submitter should throttle its activity.  ehci-hcd can't
> > do much about it.
> 
> ...except that ehci-hcd is what is resubmitting the URB.

Nope ... no 2.6 HCD resubmits URBs; they're not allowed to.
Automagic resubmission has been gone for several years now.

The URBs you're talking about have already been submitted,
and the HCD is still working on them.  Drivers are free to
unlink them, and usbcore will abort them sometime after it
notices a disconnect.  But until one of those things happens,
or the URB gets a hardware fault, the HCD is not allowed to
do anything except work on completing the URBs.

- Dave

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&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to