Hi,

I'm looking for an example howto send a urb via usbfs.

I want to do what the windows driver does:

5 going down... 

TransferFlags          = 00000000 (USBD_TRANSFER_DIRECTION_OUT,
~USBD_SHORT_TRANSFER_OK)        
TransferBufferLength = 00000000 

  no data supplied      

5 coming back...        

TransferFlags        = 00000002 (USBD_TRANSFER_DIRECTION_OUT,
USBD_SHORT_TRANSFER_OK)   
TransferBufferLength = 00000000 
SetupPacket          : 42 a2 00 00 00 00 00 00  

the control transfer will not work since its a transfer to endpoint 2,
and the bulk transfer will not work since I need to set request and
requesttype. So I need to build the whole urb in userspace I guess?

what kind of transfer would this be? control but to endpoint?

Regards, Andreas



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to