[sane-devel] alternative setting on darwin (libusb)
Tue, 14 Jan 2003 23:58:48 +0100
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
> [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.