On Wed, 1 Jun 2005, Adam Kropelin wrote: > Poking thru hid-core.c I did see a number of things that look buggy in > the queuing logic. For example, this bit in the control pipe completion > handler...
> ...which appears to reset the queue on successful transfers rather than > continuing on with subsequent URBs. Alas, fixing that doesn't eliminate > the lockups Martin and Christian are experiencing, which makes sense > because apcupsd should never have more than one outstanding control > transfer anyway. > The problem seems to be random in terms of which report transfer is in > progress when the lockup strikes. APC definitely has some firmware bugs > where reports return fewer bytes than the report descriptor claims they > will, and that problem gave me fits on *BSD, but that doesn't seem to be > the issue here. It would certainly help to know exactly where the blockage occurs. Is it in the HID queuing code, in the HCD (unlikely), or in the UPS device? Suitable debugging statements ought to settle that pretty easily. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel