On Mon, 27 Jun 2005, randy_dunlap wrote:

> | There is no program to catch all USB packets in Linux -- but you can 
> | always write your own if you want.
> | 
> | For Windows there's the USB Snoopy project on Sourceforge.  It can capture 
> | almost all of the packets sent to a particular device (it misses the first 
> | few).
> 
> Uh, the usbmon patch in 2.6.recent does write a log to a
> debugfs file.  That log can be saved to disk and analyzed.
> See Documentation/usb/usbmon.txt .
> 
> There was some discussion of a "usbdump" program to analyze the
> usbmon log output, but I looked at that this past weekend and the
> log output is already readable (to a developer).
> Also, Pete posted a patch this past weekend for dumping control
> (setup) packet contents.

True, but the output from usbmon in 2.6 does not include the packet 
contents (other than the setup packet for control messages) -- which is 
what the OP seemed to be interested in.  It only gives things like 
timestamp, message type, length, and status.

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to