[sane-devel] mac osx with epson usb backend

Henning Meier-Geinitz henning at meier-geinitz.de
Sun Jan 12 12:18:30 GMT 2003


Hi,

On Sun, Jan 12, 2003 at 06:46:08AM -0500, Karl Heinz Kremer wrote:
> On Sun, Jan 12, 2003 at 12:12:56PM +0100, Henning Meier-Geinitz wrote:
> [ ... ]
> > 
> > > usb_bulk_write: endpoint=0x02 size=2 TO=60000
> > > write completed
> > > CFLoopRun returned
> > > [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 0 bytes
> 
> If I remember correctly, libusb on the Mac will not report how
> may bytes it wrote, so this my not be a problem.

You are right, that's a libusb bug. The CVS version of libusb seems to
return the number of bytes written, however.

So this one is the real problem?

Converting ep address to pipeRef.
pipeRef for ep 0x81 found: 0x01
usb_bulk_read: endpoint=0x81 size=1 TO=60000
USB error: error reading from bulk endpoint 81
[sanei_usb] sanei_usb_read_bulk: read failed: No such file or directory

No such file or directory? Maybe errno doesn't show the correct error
here.

I don't see any pattern when read works and when it doesn't.

Bye,
  Henning



More information about the sane-devel mailing list