On Mon, 16 Jul 2007, Alex Villací­s Lasso wrote:

> You can download the raw USB log from 
> http://www.palosanto.com/~a_villacis/ks959-2.usblog.bz2 . The XML format 
> is no good because it lacks details about the setup packet.

I see your problem.  You think the contents of the Setup packet are 
displayed in the DOWN entry for the URB; that's where the "00 01 00 02 
00 00 00 00" comes from.

But you're wrong.  The actual Setup packet contents are in the URB's UP
entry.  I don't know where those other numbers come from; they are
garbage.  For example, look at URB 5.  The DOWN entry shows wLength to
be 0 together with a transfer buffer of length 8.  However the UP entry
shows wLength correctly equal to 8.  Or compare the directions shown in
the DOWN and UP entries for URB 6.

So the contents you want really are: "a1 01 00 02 00 00 00 08".  It's a
class-specific request directed to interface 0.  wLength is 0x800 =
4096; a little on the large side considering that the device doesn't
send any data back.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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