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
TransferBuffer and PipeHandler , which I believe they should be different.).

any other ideas?

thx

On Mon, Aug 27, 2012 at 2:06 AM, Xiaofan Chen <xiaof...@gmail.com> wrote:

> On Mon, Aug 27, 2012 at 9:02 AM, John Chen <john...@gmail.com> 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 need some
> initialization to start the Bulk IN transfer.
>
> Do you know the communication protocol of the device? If not,
> you need to start with some reverse engineering. BTW, for
> starting, it is easier to use the simpler synchronous API
> to get the basics right and then you can use the asynchronous
> API.
>
> --
> Xiaofan
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> libusbx-devel mailing list
> libusbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusbx-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to