No one knows how to generate the following URBs using libusb, or any other protocol? I suspect it can be done with a call to usb_control_msg(), but I have no idea how.

This is a dump from usbsnoopy under Windows:

----------------------------------------------------------------------------
140     out down        n/a     27.780  VENDOR_DEVICE   -
URB Header (length: 80)
SequenceNumber: 140
Function: 0017 (VENDOR_DEVICE)
PipeHandle: 82696d40

SetupPacket:
0000: 00 00 00 00 00 00 00 00
bmRequestType: 00
   DIR: Host-To-Device
   TYPE: Standard
   RECIPIENT: Device
bRequest: 00
   GET_STATUS

No TransferBuffer
----------------------------------------------------------------------------
140     out up  n/a     27.780  CONTROL_TRANSFER        -       0x00000000
URB Header (length: 80)
SequenceNumber: 140
Function: 0008 (CONTROL_TRANSFER)
PipeHandle: 82696d40

SetupPacket:
0000: 40 00 00 00 00 00 00 00
bmRequestType: 40
   DIR: Host-To-Device
   TYPE: Vendor
   RECIPIENT: Device
bRequest: 00

No TransferBuffer
----------------------------------------------------------------------------
141     in down n/a     27.800  VENDOR_DEVICE   -
URB Header (length: 80)
SequenceNumber: 141
Function: 0017 (VENDOR_DEVICE)
PipeHandle: 82696d40

SetupPacket:
0000: 00 05 00 00 00 00 00 00
bmRequestType: 00
   DIR: Host-To-Device
   TYPE: Standard
   RECIPIENT: Device
bRequest: 05
   SET_ADDRESS

No TransferBuffer
----------------------------------------------------------------------------
141     in up   n/a     27.800  CONTROL_TRANSFER        01 60   0x00000000
URB Header (length: 80)
SequenceNumber: 141
Function: 0008 (CONTROL_TRANSFER)
PipeHandle: 82696d40

SetupPacket:
0000: c0 05 00 00 00 00 02 00
bmRequestType: c0
   DIR: Device-To-Host
   TYPE: Vendor
   RECIPIENT: Device
bRequest: 05

TransferBuffer: 0x00000002 (2) length
0000: 01 60
----------------------------------------------------------------------------

Maybe I'm emailing the wrong groups? Any help would be appreciated! Thanks in advance!

-Doug

--
Douglas S. Blank,         Assistant Professor
[EMAIL PROTECTED],            (610)526-6501
Bryn Mawr College,   Computer Science Program
101 North Merion Ave,       Park Science Bld.
Bryn Mawr, PA 19010  dangermouse.brynmawr.edu



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to