[sane-devel] sanei_usb limitations

Reinhold Kainhofer reinhold at kainhofer.com
Sat Nov 27 00:27:31 UTC 2010

Am Freitag, 26. November 2010, um 23:00:56 schrieb Hugo "Bonstra" 
> In its current state however, sanei_usb API does not allow us to choose
> what endpoint to use for bulk transfers. It will always use the first IN
> and OUT endpoints it finds for functions sanei_usb_read_bulk() ans
> sanei_usb_write_bulk() respectively.
> To overcome that limitation, I thought of adding a few functions to
> sanei_usb API to allow specifying an alternative endpoint (for instance:
> sanei_usb_read_bulk_ep() which would take an additional ep argument of
> type SANE_Byte). 

That's basically what my patch does (there's some more work to do, like making 
it possible to use a default endpoint in the auto-detection phase):


Reinhold Kainhofer, reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

More information about the sane-devel mailing list