[sane-devel] usb pipe stall handling?

Beat Birkhofer beat.birkhofer@ilw.agrl.ethz.ch
Mon, 16 Dec 2002 23:09:10 +0100

>What is a pipe stall?

USB 1.1 Specs; Chapter 8.5.1 Bulk Transactions:
"If the endpoint was halted, STALL is returned to indicate that the 
host should not retry the transmission because there is an error 
condition on the function."

libusb provides the function usb_clear_halt() to handle this 
situation. One has to reset the pipe and then retry the transmission.


Beat H.