On Sun, 22 Jul 2007, Ron Gage wrote: > > You have failed to realize something important about SnoopyPro: The > > Setup packet values displayed in the "down" section for an URB are > > garbage. Only the values displayed in the "up" section are correct. > > Don't ask me why; I didn't write SnoopyPro. > > > > > I can honestly say that I have never heard this before. I wonder if > anyone has sent bug reports in to the author of SnoopyPro.
I haven't. Maybe I should... But it's probably a defect in Windows rather than in SnoopyPro. (Just a guess.) > > It's the wrong thing to recreate. Look at what the "up" section says > > and recreate that instead. You can use usb_control_msg(). > > > > > I am now confused. From what I can tell, every "up" message in the > capture appears to be from device to host. As an example, the > "GET_DESCRIPTOR_FROM_DEVICE" packet is a "down" message, it's response > packet is an "up" packet, and the data in that packet seems to support > the notion of "up" packets being from device to host. Look again. Every URB gets two messages in the log, "down" and "up", regardless of the direction of data transfer. "Down" means the information was captured when the driver submitted the request to the OS and "up" means the information was captured when the OS informed the driver that the transfer was complete. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users