[sane-devel] sanei_usb and libusb_timeout
Wed, 01 Dec 2004 14:54:59 +0100
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
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.exactcode.de/t2
+49 (0)30 255 897 45