]> err.no Git - linux-2.6/commit
[PATCH] USB: Patch to make usbmon to print control setup packets
authorPete Zaitcev <zaitcev@redhat.com>
Sat, 25 Jun 2005 21:32:59 +0000 (14:32 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Jul 2005 18:52:55 +0000 (11:52 -0700)
commitae0d6cceb20eec57e7196c22999c62c465ffd5bf
treeba6b822e410af8621dc6f42bf0792b9eece2bbc6
parentead99eb00190a274e3b3666ecd431be12c2b7888
[PATCH] USB: Patch to make usbmon to print control setup packets

Make usbmon to print Setup packets of Control transfers. This is useful
when debugging enumeration issues.

This is a change to the trace format which is not fully compatible.
A parser has to look at the data length word now. If that word is
a character like 's', read setup packet before proceeding with data.
I decided not to bump the API tag for this because not many such
parsers exist at this point.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/usb/usbmon.txt
drivers/usb/mon/mon_text.c