[sane-devel] [RFC] SANE USB support for devices with multiple interfaces/endpoints

2009-03-20 Thread Ilia Sotnikov
I almost finished writing the backend for Konica-Minolta Bizhub devices. The point to discuss is how to handle them using SANE USB interface. The device has one configuration with two interfaces, one of them has four endpoints. The USB information (part of sane-find-scanner output) for Bizhub 162

[sane-devel] [RFC] SANE USB support for devices with multiple interfaces/endpoints

2009-03-20 Thread Julien BLACHE
Ilia Sotnikov hostcc at gmail.com wrote: Hi, For p.1 sanei_usb_claim_interface() could be used (to modify devices[I].interface_nr). To solve p.2 perhaps additional SANE USB call or a callback for sani_usb_open() should be introduced. The callback is probably a no-go given the different

[sane-devel] [RFC] SANE USB support for devices with multiple interfaces/endpoints

2009-03-20 Thread Ilia Sotnikov
On Fri, Mar 20, 2009 at 10:14 AM, Julien BLACHE jb at jblache.org wrote: For p.1 sanei_usb_claim_interface() could be used (to modify devices[I].interface_nr). To solve p.2 perhaps additional SANE USB call or a callback for sani_usb_open() should be introduced. The callback is probably a