A Mutable Log

A blog by Devendra Tewari


Project maintained by tewarid Hosted on GitHub Pages — Theme by mattgraham

Sniff USB bus on Linux

There are two ways.

Using usbmon

Load the usbmon module

modprobe usbmon

The following command then prints data going to and fro on a bus

sudo cat /sys/kernel/debug/usb/usbmon/1u

Using Wireshark

I refer you to their USB wiki.