Hi, On Thu, Feb 13, 2003 at 10:34:44AM +0100, Beat Birkhofer wrote: > If there's a pipe-stall on bulk write the libusb returns an error. > Both, libusb and sane, don't try to clear the pipe stall (plustek > backend). It's quite easy to find out by placing additional debugging > logs in the libusb code.
sanei_usb_write_bulk calls usb_clear_halt on error, so the pipe stall should be cleared. The backend can call write again if it likes to do that. But I don't know if that makes sense. An error occured and this shouldn't be hidden. At least if the scanner doesn't regulary answer with pipe stalls to some condition the error should just be avoided. Bye, Henning
