On Wed, Mar 01, 2006 at 07:39:06AM -0800, David Brownell wrote:
> On Wednesday 01 March 2006 1:09 am, Marc Singer wrote:
> > On Tue, Feb 28, 2006 at 10:29:03PM -0800, David Brownell wrote:
> > > 
> > >   http://www.linux-usb.org/usbtest/#gadgets
> > ...
> > 
> > I'm not seeing an explanation of what the tests should look like.  How
> > long should each one last?  Most take about a second.  A couple, 6, 7,
> > 8, and 9 take less than 20 seconds.  10 is still running after a few
> > minutes.
> 
> If you run direct from the command line, many of the tests use defaults
> that add up to one second for full speed peripherals.  I usually run that
> through the test script though, so the timings are different.
> 
> Test #10 taking a few minutes?  Sounds troublesome.  If this is using
> an OHCI or EHCI host controller and you've compiled with USB_DEBUG,
> you'll find a /sys/class/usb_host/.../async dump of the control and
> bulk queues.  If it doesn't change, it suggests the peripheral is just
> sitting there NAKing packets for some reason.  You can find out just
> which packet, and then work backward from there to "which test".  (One
> test requests 1KB of data, that's a good marker to count back from.
> You can correctly infer that I've seen test #10 turn up lots of bugs
> like that ...)

It's getting an error 84.

    Wed Mar 1 06:49:26 PST 2006
    ** Control test cases:
    test 9: ch9 postconfig
    /proc/bus/usb/002/014 test 9,   55.293133 secs
    test 10: control queueing
    /proc/bus/usb/002/014 test 10 --> 84 (error 84)
    test 14: control writes
    /proc/bus/usb/002/014 test 14 --> 71 (error 71)

    Wed Mar 1 09:14:25 PST 2006
    ** Control test cases:
    test 9: ch9 postconfig
    /proc/bus/usb/002/014 test 9 --> 71 (error 71)
    test 10: control queueing
    /proc/bus/usb/002/014 test 10 --> 71 (error 71)
    test 14: control writes
    /proc/bus/usb/002/014 test 14 --> 71 (error 71)

One oddity here is that these messages didn't appear until I pulled
the USB cable.  Perhaps there's an output flushing problem in the test
code.



-------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to