[sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try!

Oliver Rauch oliver.rauch@rauch-domain.de
Tue, 13 Jan 2004 16:40:03 +0100


Hello Randolph,

your problem has nothing to do with fork(), the backend does not reach to
the position where the reader_process is started, the problem already ooc=
urs
while calibration:

[umax] scanner reserved
[umax] sending 3 * 256 bytes of gamma data for RGB
[umax] send_gamma_data
[umax] using gamma download curve format type 2
[umax] set_window_param
[umax] window descriptor block created with 82 bytes
[umax] window(s) set
[umax] start_scan
[umax] starting scan
[umax] do_calibration
[umax] wait_scanner
[umax] scanner reports Error during device I/O, waiting ...
[umax] scanner does not get ready
[umax] trying to release scanner ...

But to answer your other question at first: the scanner IS supported.

There are some possible reasons for the problem like
- bad scsi buffer size
- bad scsi driver
- bad scsi cables or termination

Please redo the test with
export SANE_DEBUG_SANEI_SCSI=3D128
and please also take a look at the kernel log file if you find any
scsi errors there.

Oliver


On Tuesday 13 January 2004 10:17, Randolph Fritz wrote:
> On Mon, Jan 12, 2004 at 09:00:16PM +0100, Oliver Rauch wrote:
> > I just replaced the fork() calls by sanei_thread_*() calls for the
> > sane-umax backend. I tested it wirk fork() and threads on
> > linux. This version is in the sane cvs now.
>
> "Failed to start scanner: Unknown SANE status code -1."
>
> Stops in the same place it always has.  I am wondering if the Umax
> Vista-S6E SCSI scanner works with any recent version of SANE or if I
> have a really, really version of that model.
>
> MacOS 10.2.8.  Debugging log attached.
>
> Randolph

--=20
http://www.xsane.org
http://www.mostang.com/sane
http://www.rauch-domain.de
mailto:Oliver.Rauch@Rauch-Domain.DE