Dear allan, On Wed, 16 Jul 2008 at 4:46am, m. allan noah wrote:
man> there already is a mechanism for the backend to change the timeout: man> sanei_usb_set_timeout. which takes precedence, the env var or the man> backend? My intention was to only modify sanei_usb_init function. This would change the default value for libusb_timeout if SANE_USB_TIMEOUT is set. Generic "hp" backend does not use sanei_usb_set_timeout() function and will only use the (replaced by SANE_USB_TIMEOUT) default. Those backends that explicitly set the timeout with sanei_usb_set_timeout() will override the default with whatever they think is appropriate... Is this the right thing to do? Please advise -L
