Wim De Kimpe wrote:
> I have been doing some more experiments. Apparently, if I increase the 
> nTimeout to 2000, and I use libusb_bulk_transfer then I can also communicate 
> with the device in Linux.
>
> So I do not know exactly what this is caused by. From the documentation, I 
> also do not understand clearly what the difference between the bulk and the 
> interrupt transfer is. 

To put it succinctly, you use an interrupt transfer with an interrupt
endpoint.  You use a bulk transfer with a bulk endpoint.  You use a
control transfer with a control endpoint.  You use an isochronous
transfer with an isochronous endpoint.  The choice is determined by the
descriptors, not by the application writer.

(From a driver perspective, a bulk transfer and an interrupt transfer
are identical.  In Windows, the two actually share the same request
code.  The only difference is the way the host controller driver
schedules them.)

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to