Wireshark-dev: Re: [Wireshark-dev] [PATCH] USB: show unknown descriptors
From: "ronnie sahlberg" <ronniesahlberg@xxxxxxxxx>
Date: Mon, 26 Mar 2007 01:47:43 +0000
Thanks Charles.

Checked in.


I have a big patch to the dissector I am going to try to merge piece
by piece over the next few days.  This will result in many smallish
patches.

Since you are also working on patches to packet-usb.c  can I ask you
to send small patches and frequently so that none of us diverge too
much from eachother and svn?


The usb dissector is currently divided into two files
packet-usb.c and packet-usb-masstorage.c
My idea was to have packet-usb.c only contain the core part of the
protocol (and maybe also the HUB stuff)  while all other classes are
pushed out into its own specific file as far as possible.



best regards
ronnie s

On 3/26/07, Charles Lepple <clepple@xxxxxxxxx> wrote:
This patch enables packet-usb.c to display all descriptors in the GET
CONFIGURATION request, regardless of whether we know how to decode
them. (All descriptors in that request share the same first two
bytes.)

It also adds the HID descriptor type (not the report descriptor,
though - that is buried in a class request, not a device request). I
am still working on actually decoding this descriptor.

Ronnie: this should not conflict with our other discussion about DLT
189 and directions, since the current code gets the control transfer
directions correct.

--
- Charles Lepple