Re: libusb driver question: can't write to endpoint

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sun, 11 Mar 2007, Phil Dibowitz wrote:

> Sadly, I'm only slightly further. I have two files that generally get
> transfered to the device:
> 
>   Connectivity.EZHex - this is a 'connectivity test' to transfer to the
>      device
>   Test.EZHex - this is a config blob for the remote.
> 
> The site always downloads the Connectivity one first, waits for confirmation
> the windows/mac software was able to confirm communication, and then
> downloads your config. The software uploads it, reboots the device, and done.
> 
> Anyway, Connectivity.EZHex is 3.5K and Test.EZHex is 716K.
> 
> But when I transfer 64 bytes at a time, on Connectivity.EZHex, I get 19
> successful transfers (~1.2k) and the 20th gives me an error of -110, or "No
> error" (the read was successful).

110 is ETIMEDOUT (see include/asm-generic/errno*), which means your
timeout expired before the data could be transferred.  I suggest you
increase the timeout to something like 1000 (1 second).

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.