Re: USB sniffer? (devel)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Dec 2008 09:02:25 +0100, Michelle Konzack <linux4michelle@xxxxxxxxxxxxxxx> wrote:

> I an developing a "24V DC modular ATX PSU" which act like a  UPS  and  I
> have problems with the USBHID-PDU stuff...
> 
> Q 1:    Is there a commandline tool, which can  be  used  to  sniff  USB
>         traffic and able to analyse singel (selected) endpoints?

The usbmon is useful, but keep in mind that it only shows a higher
level overview of transfers that kernel does. So you will not see
SOF and NAK frames for example. If you have trouble with your UPS-like
device not working, it may need some traces generated by its own
firmware. I understand that may be tough if you don't have enough
RAM in the device, but c'est la vie.

Alan Stern once posted a very useful sheet to decode the usbmon's
output, I saved it here:
 http://people.redhat.com/zaitcev/notes/usb_stern_cheat.txt

-- Pete
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux