[sane-devel] MacOS X 10.2.6 CanoScan N650U

Henning Meier-Geinitz henning@meier-geinitz.de
Mon, 13 Oct 2003 17:47:11 +0200


Hi,

On Mon, Oct 13, 2003 at 09:16:00AM -0600, Bill Clyde wrote:
> I just compiled the latest changes from the CVS. The driver got a 
> little farther, but it still does not recognize the scanner.
> 
> $ SANE_DEBUG_SANEI_USB=5 scanimage -L
[...]
> [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
> Converting ep address to pipeRef.
> pipeRef for ep 0x03 found: 0x03
> usb_bulk_write: endpoint=0x03 size=4 TO=30000
> write completed
> CFLoopRun returned
> [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 0 bytes

That's a bug in libusb. It's told to write some bytes of data but
always return 0 instead of the actual number of bytes written. 

That seems to be fixed in the CVS version of libusb. It has lots of other
changes for MacOS X.

http://libusb.sourceforge.net/

Bye,
  Henning