USB sniffing on linux
Wednesday, March 18th, 2009The linux kernel has a facility called “usbmon” which can be used to sniff the USB bus. It’s been in there for ages, and the output is really easy to collect, even from the command line shell. Simply mount debugfs and insmod the usbmon module:
mount -t debugfs none_debugs /sys/kernel/debug
modprobe usbmon
Then you can just cat USB [...]