[sane-devel] proposal patch for sanei_usb.c and sanei_usb.h

gerard klaver gerard@gkall.hobby.nl
Tue, 18 Jan 2005 14:51:42 +0100


Hello,

I have made a patch for sanei_usb.c and sanei_usb.h to provide the
following:

-More debug info for control and isochronous mode
-Detects endpoints for different configurations, interface and
altsetting numbers > 0
- Routine added for changing configuration, interface or altsetting
number
   sanei_usb_set_configuration
   sanei_usb_claim_interface
   sanei_usb_release_interface
   sanei_usb_set_altinterface

This is needed to access for example a webcam.

See http://gkall.hobby.nl/stv680-aiptek.html for a 
SANE stv680 vidcam backend (status alpha, uses usb bulkmode)

For comparison, history and updates i have placed the patched files in
SANE CVS path: sane/experimental/sanei_usb/

This patch is a update from my patch to the list (07-09-2004)

Before adding the patch to the sanei_usb.c file in cvs i like to know
if there are any comments about it.


-- 
--------
m.vr.gr.
Gerard Klaver