[sane-devel] usb pipe stall handling?
Henning Meier-Geinitz
henning at meier-geinitz.de
Mon Dec 16 22:39:13 GMT 2002
Hi,
On Mon, Dec 16, 2002 at 08:46:02PM +0100, Beat Birkhofer wrote:
> Who has (in theory) to handle pipe stalls? libusb or sane?
I have no idea. But it shouldn't harm to add
usb_clear_halt (devices[dn].libusb_handle, devices[dn].bulk_out_ep);
when write_size < 0, does it? Same for read.
> [Yes, I have pipe stalls on OSX]
If I understand the spec correctly, STALL is a permanent error (unlike
NAK). So you should find out, why it occurs :-)
Bye,
Henning
More information about the sane-devel
mailing list