Difference between revisions of "Linux USB Debugging"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Linux]][[Category:USB]][[Category:Debugging]] | [[Category:Linux]][[Category:USB]][[Category:Debugging]] | ||
+ | |||
+ | [[File:USB Debugging Architecture.png|600px]] | ||
+ | |||
+ | == ASCII Capture == | ||
+ | |||
+ | <pre> | ||
+ | mount -t debugfs none_debugs /sys/kernel/debug | ||
+ | modprobe usbmon | ||
+ | ls -l /sys/kernel/debug/usb/usbmon | ||
+ | cat /sys/kernel/debug/usbmon/1u >/tmp/usbmon.mon | ||
+ | vbus-analyzer usbmon.mon | ||
+ | </pre> | ||
== Miscellaneous Links == | == Miscellaneous Links == |
Latest revision as of 10:48, 1 June 2021
ASCII Capture
mount -t debugfs none_debugs /sys/kernel/debug modprobe usbmon ls -l /sys/kernel/debug/usb/usbmon cat /sys/kernel/debug/usbmon/1u >/tmp/usbmon.mon vbus-analyzer usbmon.mon