On Wed, 13 Sep 2006, Rafael J. Wysocki wrote: > > Try this patch instead. It looks for problems occurring a little earlier > > in the call chain. > > I've applied both patches at a time (I hope they don't conflict). > > The dmesg output is attached.
The dmesg output shows the root-hub device state is set wrong. I have to leave now, so I can't give you another patch to try. You can experiment as follows... Look in drivers/usb/host/ehci-pci.c, at ehci_pci_resume(). The part of interest is everything following the "restart:" statement label. Try adding some ehci_dbg() lines in there (copy the form of the line just after restart:). We want to follow the value of hcd->self.root_hub->state. Initially it should be equal to USB_STATE_SUSPENDED (= 8), and it shouldn't change. But somewhere it is getting set to USB_STATE_CONFIGURED (= 7). I don't know where, but almost certainly somewhere in this routine. If you can find out where that happens, I'd appreciate it. Alan Stern ------------------------------------------------------------------------- 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