[sane-devel] alternative setting on darwin (libusb)

Henning Meier-Geinitz henning at meier-geinitz.de
Tue Jan 14 22:58:48 GMT 2003


Hi,

On Tue, Jan 14, 2003 at 11:38:45PM +0100, Beat Birkhofer wrote:
> >Does it work when commenting out the call to set the alternate setting?
> 
> Yes :-)   [The code after '/* Set alternative setting */']
> 
> BTW: In sanei_usb_close() there are now two usb_clear_halt(). I don't 
> think they're needed. I get an error every time sanei_usb_close() is 
> called:
> 
> [sanei_usb] sanei_usb_close: closing device 0
> USB error: error clearing pipe stall
> usb_os_close: 04a9:220e
> 
> IMVHO pipes should only be reset if they're actually stalled.

Ok. I'll comment out both the clear and alternate setting stuff.

Bye,
  Henning



More information about the sane-devel mailing list