[sane-devel] sanei_usb and libusb_timeout

m. allan noah anoah@pfeiffer.edu
Wed, 1 Dec 2004 10:16:39 -0500 (EST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1386613362-797012048-1101914199=:25855
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

i am BIG in favor of this. have same problem with some fujitsus, 30 
seconds is far too long.

allan

On Wed, 1 Dec 2004, René Rebe wrote:

> Hi all,
>
> the default timeout passed to libusb of 30 seconds is quite a bit long. So 
> recovering from errors is already quite annoying for some use cases. Now I 
> have a situation where I expect an error to happen for some models and adjust 
> the code-path of future commands due to this. An initial timeout for the 
> error that might happen for 50% of the scanners attached is quite long ....
>
> So I propose the hand libusb_timeout into the hands of the backend author. 
> Does anyone see problems with this? (except of [tiny] API changes :-()
>
> Yours,
>
>

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera
--1386613362-797012048-1101914199=:25855--