[sane-devel] mac osx w/ epson backend status

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 12 Feb 2003 11:39:25 +0100


Hi,

On Tue, Feb 11, 2003 at 10:53:11PM -0800, Ricky Charlet wrote:
> 	I cannot get sane to work in my environment (mac osx(Jaguar 
> 10.2.3/darwin Kernel 6.3), sane-backends-1.0.10, libusb-0.1.7 and an 
> epson perfection 636 scanner.
> 
> 	What happens is that (with either scanimage or xscan) the front end 
> begins to 'talk' to the scanner but eventually (during pre-scan I think) 
> fails to read data from the scanner after a timeout and quits.
> 
> 	`scanimage -L` will succeed once, but then I must disconnect and 
> reconnet the scanner to the USB chain before it will work again.
> 
> 	There has been talk on the list of major Max OSX architectual issues 
> related to forking needing review. But that does not seem to apply to my 
> situation since the epson backend does not use fork.

With some versions of libusb there also seems to exist a problem when
writing bulk messages. While on other platforrms, the number of
written bytes is returned, on MacOS X libusb seems to return 0 because
it can't detect how many bytes have been written. But I don't think
that's the case here.

> 	The system seems too daunting for me to grok. I cannot even diagnose 
> 	if it is a sane-guts, sane-epson, or libusb issue. From the debug output, a 
> libusb call (read_bulk) simply times out with no received data and the 
> system gives up. I am willing to test suggestions if others have them. 
> But I am rather stuck trying to think on my own what might be the problem.

Show us the logs (SANE_DEBUG_EPSON=255 SANE_DEBUG_SANEI_USB=255). If
they are too long, send about 50 lines before the problem starts.

> 	I hope to first get a definitive answer where this thread belongs, 
> 	to sane-devl or to libusb-devel.

We may see that from the logs.

>  o What reports of mac osx success with sane have been made?

Mustek 1200 UB Plus (gt68xx) works on MacOS X. I remember some more
success reports so have a look at the archive.

>  o What reports of success with the sane-epson backend with perfection 
> 6363 have been made?

I think the epson maintainer has a MacOS X system himself.

>  o What reports of success with libusb w/ mac osx have been made?

It seems to work at least for some scanners.

Bye,
  Henning