|
From: Peter S. <pe...@st...> - 2010-06-25 06:24:24
|
Ludovic Rousseau wrote: > libusb returns -99 (LIBUSB_ERROR_OTHER) .. > libusb:warning [do_sync_bulk_transfer] unrecognised status code 1 Alan's description is helpful. libusb does handle when transfer >=2 in a multi-URB transfer submitted to Linux fails. libusb discards the previous transfers and sets reap_action=SUBMIT_FAILED. As libusb is reaping the URBs, it notices that one could not be submitted, and returns an error. Ludovic, please try the attached patch. It checks if any data was already transferred by this multi-URB transfer, and if so returns without error - and although I think this might work I'm not positive that it's correct to require any data to have been transferred - could there have been a 0 byte transfer instead of the 28 here? //Peter |