On Tue, 22 Mar 2005, HARDY, Steven wrote: > Thanks for your response; > > > bash-2.05b# cat /proc/kmsg > > <4>Linux version 2.6.5 ([EMAIL PROTECTED]) (gcc version 3.3.3 20040412 (Red > > Hat > > Linux 3.3.3-7)) #1 Wed Mar 16 13:39:37 GMT > > 2005 > > >It would be better if you used 2.6.11. > > As mentioned, I've been experimenting with versions upto 2.6.11-bk6, and > they all behave the same. This kmsg output just happened to be from 2.6.5 - > apologies!
It's not that big a deal. The debugging messages in 2.6.11 are slightly more informative, that's all. > Yes - the problem occurs immediately after the firmware is loaded onto the > EZUSB device - this causes the device get disconnected and re-enumerate, > which is where the problems seem to occur. > > > <7>uhci_hcd 0000:00:00.2: wakeup_hc > > <7>uhci_hcd 0000:00:00.2: port 1 portsc 10c3 > > >This indicates that port 1 was suspended! That shouldn't have happened. > > Yes this does seem strange - on friday I noticed the suspend/wakeup messages > in the kmsg output, and as an experiment, I altered suspend_allowed in > uhci-hcd.c to always return 0. This stopped the suspend cycle, and fixed > the problem. > > I couldn't really understand why the uhci global suspend message was being > issued at this point - I was expecting the port to be reset following the > disconnect, and for the device to recconnect with a new descriptor id. There's a difference between a global suspend and a port suspend. The driver normally enters global suspend mode after one second with no devices attached; that's what you saw. It doesn't suspend individual ports unless someone tells it to, which is why that portsc value is so surprising. Apparently the controller is suspending that port all by itself. > Clearly it would be nice to bottom out the root cause of this issue - is it > likely that this is a problem relating to the uhci hardware? I believe the > USB facilities are provided by the Radisys 82600 system controller chip. > http://www.radisys.com/oem_products/ds-page.cfm?ProductDatasheetsID=1054 > > Anyway, thanks for your time, I will continue to investigate! Good luck. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel