Difference between revisions of "Linux USB Debugging"

From Stm32World Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
[[File:USB Debugging Architecture.png|600px]]
 
[[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