Igor Furlan wrote:
>
> On Sun, Jun 22, 2014 at 11:41 PM, Tim Roberts <t...@probo.com
> <mailto:t...@probo.com>> wrote:
>
> On Jun 22, 2014, at 1:00 PM, Igor Furlan <igor.fur...@gmail.com
> <mailto:igor.fur...@gmail.com>> wrote:
> .
> > It returns -110 (aka it fails).
>
> You know that -110 tells you more than just “it fails”, right?
> Errno 110 is ETIMEDOUT. Do you have a very short timeout?
> Timing in a VM is somewhat “flexible”.
>
>
> No, I did not know. To be honest with you, I did not look for. My
> bad. Sorry.
>
> About "Do you have a very short timeout?"
> I do not know. How do I change (increase) the 'timeout' ?
Did you check the API documentation? The last parameter to
usb_control_msg is the timeout in milliseconds.
To a certain extent, however, I am just blowing smoke. Control messages
usually complete very quickly. Your symptoms seem to indicate some more
fundamental problem, and I don't know what to suggest.
One of the advantages of libusb is that it crosses platforms. Why don't
you run your code on Windows?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel