On Fri, 24 Mar 2006, Franck Bui-Huu wrote: > I'm trying to pass testusb suite test on a UDC driver. It fails when > running test 10: > > $ ./testusb -t10 -D /proc/bus/usb/002/016 > unknown speed /proc/bus/usb/002/016 > /proc/bus/usb/002/016 test 10 --> 75 (error 75) > > It actually fails while running case 10 and it seems to test the host... > > Here's a part of usbmon's trace while running this test > > c5c83780 2492893466 S Ci:014:00 -115 10 D > d93b4800 2492894429 C Ci:014:00 0 18 D > d93b4800 2492894431 S Ci:014:00 -115 18 D > dbc56480 2492894436 C Ci:014:00 -32 0 > dbc56480 2492894438 S Ci:014:00 -115 9 D > dc01bf00 2492895429 C Co:014:00 0 0 > dc01bf00 2492895431 S Co:014:00 -115 0 case 8 > c5c83580 2492895435 C Ci:014:00 0 2 D > c5c83580 2492895437 S Ci:014:00 -115 2 D case 9 > d5161400 2492895442 C Ci:014:00 -121 32 D > d5161400 2492895444 S Ci:014:00 -115 1024 D case 10 > d5161080 2492904427 C Ci:014:00 -75 9 D > d3fd0b80 2492906427 C Ci:014:00 -104 0 > d5161300 2492906431 C Ci:014:00 -104 0 > d5161880 2492906434 C Ci:014:00 -104 0 > c5c83b00 2492906437 C Ci:014:00 -104 0 > > My host is a fedora 2.6.12-1.1381_FC3, with a uhci HC.
This output is very meager. You really should use a later kernel for your testing. Like 2.6.16. Also, how can you tell that the -75 status was for case 10? All you can see from the trace above is that the URB at d5161080 got that status. The trace doesn't show which test that URB was submitted for. In fact, the trace shows a lot of submissions and a lot of completions, but none of the completions are for any of the submissions. They are all for submissions made before the start of the trace. > The request was terminated with a "EOVERFLOW" instead of "EREMOTEIO" > status, and I don't understand why...can someone bring some light > here ? EOVERFLOW means that the device sent a packet longer than the host was expecting. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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