>From: Pete Zaitcev <[EMAIL PROTECTED]>
>To: randy_dunlap <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED], linux-usb-devel@lists.sourceforge.net
>Subject: Re: [linux-usb-devel] Patch to make usbmon to print control setup
> packets

>X-Original-Date: Sun, 10 Jul 2005 13:53:21 -0700
>Date: Sun, 10 Jul 2005 13:53:21 -0700
>
>
>On Fri, 8 Jul 2005 01:00:57 -0700, randy_dunlap <[EMAIL PROTECTED]> wrote:
>> Few minor typo corrections to usbmon.txt below.
>> | +- Setup packet, if present, consists of 5 words: one of each for bmRequestType,
>>                                         or:  fields
>
>This was on purpose. A few paragraphs above, it says:
> Every event is a text line, which consists of whitespace separated words.
>
>So, the data inside the Setup packet is organized in fields, but
>the representation of the packet is formatted in words.
>
>What I would really like to see is some sort of parsing of known
>things inside the data stream, which is completely opaque for usbmon.
>This includes names of known control messages and status replies from
>hubs and devices, SCSI commands and replies for storage. This is the
>biggest thing USBMon needs (right after I teach it to load and save
>the usbmon traces in text file).
>

Hi Pete, Randy,

I have an awk program that I use to run through Kitty USB Analyzer html pages and decode setup data packets for device, configuration, endpoint etc. generic descriptors, into USB spec type formats. It is table driven and could be extended to some of the more difficult descriptors, such as HID or audio etc., but would take an expert in those descriptors.

In any case, if you give me a URL to a few usbmon text dumps, I will try to do a converter to run usbmon output through this AWK decoder program. (I don't have a working Linux system right now). If I can do a converter I think this GAWK program will help make the usbmon stuff more helpful.

Regards ~Steve

>The tcpdump supports that, and it's quite useful. E.g. in case of
>NFS, CIFS, and even AFS, it shows requests made to the storage server.
>
>-- 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