[sane-devel] usb_claim_interface() missing?

Beat Birkhofer beat.birkhofer@ilw.agrl.ethz.ch
Sun, 15 Dec 2002 18:27:30 +0100


The libusb-documentation states that usb_claim_interface() (and thus 
usb_release_interface()) must be called when performing any 
operations related to his interface (usb_bulk_write() etc.).

In sanei_usb.c usb_claim_interface() is only called in usb_open(). I 
get somewhat further if I pad usb_bulk_write() and usb_bulk_read() 
with usb_claim_interface()/usb_release_interface().


Beat H.