Right... I'm using a timeout of 10ms in my call.  I thought that since the 
device wants a poll every 10ms, why have a longer timeout?

-----Original Message-----
From: Alan Stern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 25, 2007 2:43 PM
To: David Hooker
Cc: linux-usb-users@lists.sourceforge.net
Subject: RE: [Linux-usb-users] Help with talking to a device


On Wed, 25 Jul 2007, David Hooker wrote:

> Timeout is 10ms - the device's protocol spec defines it.
> 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval              10

You mean bInterval?  That's not a timeout; it's a polling interval.

The timeout I was referring to is the argument you specify in your call 
to the libusb wrapper.

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

Reply via email to