[sane-devel] usb pipe stall handling?

Beat Birkhofer beat.birkhofer at ilw.agrl.ethz.ch
Mon Dec 16 22:09:10 GMT 2002


>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.

Regards

Beat H.



More information about the sane-devel mailing list