I have usbmon installed and /sys/kernel/debug/usb/usbmon has entries for 0 to 4. If I cat 0u, I see transactions when I run an application I want to debug. Therefore, I think usbmon is working. Note that permissions on all are rw for root. All things I have tried run with sudo including enabled usbmon and wireshark. Wireshark 1.10.6 lists usbmon1-4, none of which see traffic. I assume there should be a usbmon0 in the interface list, but it is not listed. Can someone confirm that there should be a usbmon0, and are there any ideas on how to make wireshark list it? Or if the numbers aren't supposed to align, like 0s/u is really usbmon1 in wireshark, how do I debug the problem? Ubuntu 14.X LTS asked 31 Jul '15, 17:42 Proclivis |
One Answer:
Modern kernels (with the
answered 03 Aug '15, 02:41 Lekensteyn |
Libpcap provides a usbmonN device for each entry in /sys/bus/usb/devices with a name of the form usbN. What does
ls /sys/bus/usb/devices
print?