Skip to content

[DEFCONFIG][USB_MON] Enable USB Monitor

Niccolò Rosadi requested to merge niccolor/usbmon into seco_lf-5.10.y
  • the usb monitor is useful to collect traces of I/O on the USB bus.
  • Step to use it:
    1. find the usb bus that you want to analyze (eg: 1)
    2. check that under /sys/kernel/debug/usb/usbmon/ there are some files that start with the number of this bus (1s, 1t, 1u) 3.a) analyze the traffic with the cat of /sys/kernel/debug/usb/usbmon/1u (not easy to understand the content) 3.b) collect the traffic with tcpdump (eg: tcpdump -i usbmon1 -s0 -w usb1.pcap) and then use wireshark to analyze the content of the file

Merge request reports

Loading