Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-09-21 Thread Tim Roberts
Ricardo Villamil wrote: > I have the exact same problem, did you find a solution? You don't have the exact same problem. You might be getting a timeout, but that's almost certainly because you're using the device incorrectly. Every device is different. Show us your code, and tell us what you ex

Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-09-21 Thread Ricardo Villamil
I have the exact same problem, did you find a solution? -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;26

Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-08-27 Thread Xiaofan Chen
On Tue, Aug 28, 2012 at 12:40 AM, John Chen wrote: > I believe I did exactly what is expecting, because I did the same thing in > Window's API and it did not timeout, if you please look at the trace file I > attached, there is not difference in turns of parameters I am passing to USB > Device (bet

Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-08-27 Thread John Chen
Also, I was just running the code, not debugging so the timeout is not related to the debug process... On Mon, Aug 27, 2012 at 9:40 AM, John Chen wrote: > I believe I did exactly what is expecting, because I did the same thing in > Window's API and it did not timeout, if you please look at the t

Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-08-27 Thread John Chen
I believe I did exactly what is expecting, because I did the same thing in Window's API and it did not timeout, if you please look at the trace file I attached, there is not difference in turns of parameters I am passing to USB Device (between window's API vs LibUSB, Only difference is the Transfer

Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-08-27 Thread Xiaofan Chen
On Mon, Aug 27, 2012 at 9:02 AM, John Chen wrote: > Hi,I just trying to do a simple bulk read, and always got a TIMEOUT, would > any one please tell me what I did wrong here? Most likely the device does not understand the command/data your host program sends to it. For example, the device may nee