[sane-devel] usb_set_interface and usb_claim_interface

2008-09-17 Thread Sofian Teja
Hello, sorry that I was wrong about libusb function, the right one is usb_set_configuration(), I saw in sanei_usb the place of usb_set_configuration is before usb_claim_interface being used, but when I saw in sane-backend for 1.0.16 , the sm3600 was usb_claim_interface first after that is

[sane-devel] usb_set_interface and usb_claim_interface

2006-04-19 Thread Tamkang
Hello, sorry that I was wrong about libusb function, the right one is usb_set_configuration(), I saw in sanei_usb the place of usb_set_configuration is before usb_claim_interface being used, but when I saw in sane-backend for 1.0.16 , the sm3600 was usb_claim_interface first after that is

[sane-devel] usb_set_interface and usb_claim_interface

2006-04-18 Thread Henning Meier-Geinitz
Hi, On 2006-04-17 09:07, Tamkang wrote: Does anyone know why the position of usb_set_interface before usb_claim_interface, get return -1 ? As far as I know there is no libusb function called usb_set_interface. If you refer to usb_set_altinterface, you really must claim the interface

[sane-devel] usb_set_interface and usb_claim_interface

2006-04-17 Thread Tamkang
Hello, Does anyone know why the position of usb_set_interface before usb_claim_interface, get return -1 ? because I am trying to developing driver sm3880 for sane-backend, and I got this I/O Device Error, but I got fixed after, I reverse the usb_claim_interface is on behind, after