Nice to heard that it works with VMware. I might just add the USB IO logging
feature to VMware so people don't have to sniffer VMware again.

You need to have more information on what is happening in the IO. 
I think you are not interested in the IO that upload the firmware.
You might want to consider the USB snoopy pro which can be down load
from sf.net. It is a tool that runs inside windows.

Chris

 
On Thu, Mar 10, 2005 at 09:47:57AM +1000, Glen Harris wrote:
> I'm trying to sniff the firmware of a USB2 DVB-T receiver, using 2.6.10 and
> vmware. I saw Greg Kroah-Hartman's article in Linux Journal, and tried to
> use his snooping support. The device is working(slowly) in vmware.
> 
> Unfortunately, the syslog doesn't show the firmware. I can see that the
> firmware is being downloaded, and data being exchanged after initialization.
> 
> The firmware appears to be transferred through SUBMITURB ioctl calls. Some
> printk()'s in proc_submiturb() show that the USBDEVFS_URB_TYPE_CONTROL uurb
> type is used.
> 
> At this point, I need help to identify where and how in proc_submiturb() to
> place my printk()'s. Is uurb.buffer the correct variable to dump, and is
> it the raw firmware data, or is there USB protocol data in there as well?
> 
> I've put a printk() in for each type in proc_submiturb()'s switch statement,
> here's part of the syslog:
> 
> Mar 10 09:01:31 debian kernel: usb 4-1: new high speed USB device using 
> ehci_hcd and address 2
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: CLAIMINTERFACE
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: SUBMITURB
> Mar 10 09:02:01 debian kernel: USBDEVFS_URB_TYPE_CONTROL
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: REAPURBDELAY
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: REAPURBDELAY
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: SUBMITURB
> Mar 10 09:02:01 debian kernel: USBDEVFS_URB_TYPE_CONTROL
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: REAPURBDELAY
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: REAPURBDELAY
> Mar 10 09:02:01 debian kernel: usb 4-1: usbdev_ioctl: SUBMITURB
> 
> This repeats a couple of dozen times, until the firmware is downloaded and
> the device initializes itself.
> 
> Thanks, glen.
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to