

If all you want is to check what the em28xx Linux driver is doing, and provided that the usbmon module is loaded (the Kernel should be compiled with CONFIG_USB_MON option), you can just use: URB transactions look like those:įor example, let's analyse the folowing URB's:Ĭontrol URB examples URB sequence log (URB setup + URB IN or OUT)Ĭ0 00 00 00 15 00 01 00 >1,, 0x03) Įm28xx_read_reg(dev, EM28XX_R15_RGAIN) /* read 0x00 */ Identify the URB transactions at the control endpoint.Group URB transactions into a shorter log by using a parser, like parse-usbsnoop.php.Wireshark - logs usbmon output, via libpcap.It allows both realtime and offline parsing of usbmon data, and its format output is compatible with other parsers like the em28xx log parser. This is part of the contrib stuff at the v4l-utils tree. parse_tcpdump_log.pl - a script to directly talk with usbmon, parsing the result into a format feasible for analysis.

usbmon - Linux kernel module which can snoop USB device communications traffic.USBPcap - open source USB sniffer for Windows XP, Vista, 7 and 8.usbsnoop/SniffUSB - Windows based snoop for USB device communications traffic.

