-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 02 Jan 2004 15:50 pm, David Findlay wrote: > Is there anywhere where I could find a guide to decoding the usb sniffs > from USB Sniff or Snoopy Pro? This is the basic format of the logs I have: They are basically the windows API, which closely reflects the USB specification. If you are super-familiar with the spec, it is obvious. Until then, read Chapter 9 of the USB spec. http://www.stillhq.com/cgi-bin/getpage?area=usblogdump&page=index.htm
> [11610 ms] >>> URB 15 going down >>> > -- URB_FUNCTION_VENDOR_DEVICE: > TransferFlags = 00000000 (USBD_TRANSFER_DIRECTION_OUT, > ~USBD_SHORT_TRANSFER_OK) Vendor transfer, to device. > TransferBufferLength = 00000001 One byte > TransferBuffer = b5b6d9c7 > TransferBufferMDL = 00000000 > 00000000: 00 > UrbLink = 00000000 > RequestTypeReservedBits = 00000000 > Request = 0000000c This is the bRequest field > Value = 00000006 This is wValue field > Index = 00000061 This is the wIndex field. > [11614 ms] UsbSnoop - MyInternalIOCTLCompletion(eb7d1db0) : fido=00000000, > Irp=81a42d68, Context=81c64168, IRQL=2 > [11614 ms] <<< URB 15 coming back <<< > -- URB_FUNCTION_CONTROL_TRANSFER: > PipeHandle = 81a99b34 > TransferFlags = 00000002 (USBD_TRANSFER_DIRECTION_OUT, > USBD_SHORT_TRANSFER_OK) > TransferBufferLength = 00000001 > TransferBuffer = b5b6d9c7 > TransferBufferMDL = 81a42188 > UrbLink = 00000000 > SetupPacket = > 00000000: 40 0c 06 00 61 00 01 00 This shows what you sent. In this case: bmRequestType = 0x40 bRequest = 0x06 (as above) wValue = 0x0006 (as above) wIndex = 0x0061 (as above) wLength = 0x0001 (as above) HTH Brad - -- http://linux.conf.au - I'm registered. Are you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/9PtCGwwszQ/PZzgRAuC7AJ4xIidGOCwI9wXZAuStV5jiYNKovACgo+F6 tWl3WpMbrOchvVRwIAfV7nA= =dOnP -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel