hi alan ott: 2013/11/14 Alan Ott <alan@xxxxxxxxxxx>: > On 11/14/2013 09:52 AM, vichy wrote: >> >> hi alan: >> >> 2013/11/14 Alan Ott <alan@xxxxxxxxxxx>: >>> >>> On 11/14/2013 09:33 AM, vichy wrote: >>>> >>>> 1. if I need to capture all the data host capture from bus, usb mon >>>> binary can reach this goal? >>>> 2. if #1 is Yes. from usb mon text I need >>>> a. compile kernel with usbmon support >>>> b. access /dev/usbmonx >>>> c. feed the binary file to wireshark. >>> >>> >>> With usbmon loaded, wireshark can capture from usbmon directly. Depending >>> on >>> your distro, you may need to load usbmon manually: >>> modprobe usbmon >> >> forget to mentioned, my platform is arm embedded system. >> And it seems I have to get binary from my target board then feed it to >> wireshark on my pc, right? >> if so, how could I dump the binary from embedded target board? > > > Use tcpdump: > tcpdump -i usbmon1 -w out.dump It is embarrassing that busybox on the target don't have "tcpdump" :-) Is there any other way to reach the same goal? appreciate your kind help, -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html