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

Beat Birkhofer beat.birkhofer at ilw.agrl.ethz.ch
Tue Jan 14 22:38:45 GMT 2003


>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.

Regards

Beat H.



More information about the sane-devel mailing list