[sane-devel] usb_claim_interface() missing?
Beat Birkhofer
beat.birkhofer at ilw.agrl.ethz.ch
Sun Dec 15 17:27:30 GMT 2002
Hi
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().
Regards
Beat H.
More information about the sane-devel
mailing list