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

Beat Birkhofer beat.birkhofer@ilw.agrl.ethz.ch
Tue, 14 Jan 2003 23:38:45 +0100


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