usbmon
usbmon是usb sniffer工具 on linux
據說在linux 2.6之後就有內建在kernel裡
CONFIG_USB_DEVICEFS=y CONFIG_USB_MON=y
目前在ubuntu及 linux omap kernel都可使用
mount -t debugfs none_debugs /sys/kernel/debug cd /sys/kernel/debug/usb/usbmon (or /sys/kernel/debug/usbmon) cat 1u
This post is licensed under CC BY 4.0 by the author.