On Wed, 1 Mar 2006, Marc Singer wrote:

> I'd appreciate some feedback about this.  I'm attaching the raw log as
> well as showing the output of a simple parser.  There are a couple of
> things that I don't know of they should bother me.
> 
> In the following output, the time stamps lead the line and are
> computed as offsets from the first value.  The URB numbers are
> translated into indices, all URBs of the same value have the same
> index.  The setup packet is annotated in parenthesis.  The part of
> each line that is unparsed follows '---'.
> 
> Here is the snippet where it seems to go awry, running the test.
> 
>  1:09.859125 #  4 S Co 007:00 s 01 0b 0000 0000 0000 ( st in GET_STATUS ) --- > 0

Your parser is wrong.  This was Set-Interface, not Get-Status.

>  1:09.865643 #  4 C Co 007:00 --- 0 0
>  1:09.865976 #  5 S Ci 007:00 s 80 06 0100 0000 0012 ( st dv GET_DESCRIPTOR ) 
> --- 18 <
>  1:09.865983 #  6 S Ci 007:00 s 80 06 0200 0000 0009 ( st dv GET_DESCRIPTOR ) 
> --- 9 <
>  1:09.865988 #  7 S Ci 007:00 s 81 0a 0000 0000 0001 ( st in GET_STATUS ) --- 
> 1 <

Wrong again.  This was Get-Interface.

>  1:09.865991 #  8 S Ci 007:00 s 81 00 0000 0000 0002 ( st in GET_STATUS ) --- 
> 2 <

This was Get-Interface-Status.

>  1:09.865995 #  9 S Ci 007:00 s 80 00 0000 0000 0002 ( st dv GET_STATUS ) --- 
> 2 <
...
>  1:09.866647 #  5 C Ci 007:00 --- 0 18 = 12010002 ff000008 2505a0a4 0902192a 
> 6502
>  1:09.866649 #  5 S Ci 007:00 s 80 06 0100 0000 0012 ( st dv GET_DESCRIPTOR ) 
> --- 18 <
>  1:09.866655 #  6 C Ci 007:00 --- 0 9 = 09022000 0103fac0 01
>  1:09.866656 #  6 S Ci 007:00 s 80 06 0200 0000 0009 ( st dv GET_DESCRIPTOR ) 
> --- 9 <
>  1:09.866662 #  7 C Ci 007:00 --- 0 1 = 00
>  1:09.866663 #  7 S Ci 007:00 s 81 0a 0000 0000 0001 ( st in GET_STATUS ) --- 
> 1 <
>  1:09.866668 #  8 C Ci 007:00 --- -32 0
>  1:09.867661 #  9 C Ci 007:00 --- -104 0

So the Get-Interface-Status provoked a STALL (not surprising; I don't 
think any of the gadget drivers implement it since it doesn't return any 
useful information) and after that nothing worked.

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

Reply via email to