On Mon, 11 Jul 2005 11:35:31 -0700, "Steve Calfee" <[EMAIL PROTECTED]> wrote:

> >Here's the one usbmon dump that I generated and used:
> >http://www.xenotime.net/linux/scripts/usbmon.out

> Hi Randy, that dump is helpful. I have a couple of questions on details of 
> the format:

You have to read this:
 
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;h=2f8431f92b77fe7f762a75386f20ca8a92fbf0ca;hb=200d481f28be4522464bb849dd0eb5f8cb6be781;f=Documentation/usb/usbmon.txt

It is rudimentary, but at least it lists words and mentions basic concepts.

> The translation of the data is a little harder because USB is little endian
> and the bytes of the data packets a built into "words".

Scripts can ignore whitespace when parsing data. Data stream is a data
stream, its endianness is not defined. It is divided into words in order
to make breaks for human eyes. This is especially evident when you
consider a message of uneven size.

> Apparently there is no indication of data0/data1 or crcs in your data, maybe 
> they are generated in H/W on your system.

The usbmon cannot capture toggles and CRC. It operates on the level
above the HC driver.

-- Pete


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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