3 ms·
Software-based analyzers [...] could someone explain this in more detail? If you have the device working in Linux, then you can capture USB as it runs via Wire
by angusgr 16y ago
Software-based analyzers [...] could someone explain this in more detail?
If you have the device working in Linux, then you can capture USB as it runs via Wireshark or other tools.
If you have the device working in Windows, I've used 'usbsnoop' and I think may be are other newer free software sniffers.
If the device is plugged into proprietary hardware or a locked-down computer (ie Kinect, or I have a Telstra T-Hub on my desk with a USB DECT transceiver soldered to its main board), then you need a hardware analyser. There may be other scenarios where software capturing doesn't work too well either, I've only done a tiny amount of it.
Wouldn't examining the USB packets on a computer, give you the same information?
AFAIK, even with a hardware sniffer you still do most of the actual analysis on the computer. The hardware device is just to sniff the raw data, and it normally has a second USB port to send it to your computer for analysis.
- daeken 16y agoHardware USB analyzers are also essential when you're diagnosing problems with the USB stack itself.