Difference between revisions of "Linux USB Debugging"

From Stm32World Wiki
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


USB Debugging Architecture.png

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

Miscellaneous Links