Re: X6EL modes under OS/2?

Bernd Schroeder (Bernd.M.Schroeder@gmx.de)
Mon, 28 Jun 1999 07:37:56 +0200 (MEST)

> The new os/2 compilation of SANE 1.0.1 gives me a core dump whenever I
> try "36-bit Color" or "12-bit Gray" on my Microtek X6EL. My command
> line is something like this:
>
> scanimage --device-name=microtek2:b1t6l0 --mode="36-bit Color"
>trial.ppm
>
> Has anyone gotten either of these modes to work on a similar
> configuration?

1) With the version of the backend included in sane-1.0.1 the
scan mode option has been split into two options. You can
try instead something like this:

scanimage --device-name=microtek2:b1t6l0 --mode=Color --depth=8

for a scan with 8 bit per color.

2) Last time I checked scanimage didnīt support more than 8 bit
at all. In fact, if you issue a scanimage command and specify
a color depth of more than 8 bit scanimage tries to stop the
scan by sending a cancel command to the device. There seems
to be a bug in the backend, that it ignores a cancel during
a scan (but not during a preview).

3) Of course, scanimage or the backend should not segfault, when
wrong parameters are specified. Actually this happens, when
scanimage reads the OPT_BR_X option, but I am not yet sure,
whether this happens, because the backend ignores the cancel
command. This happens on Linux, too, and is not a problem of
the OS/2 port.

Bernd


-- 
Sent through Global Message Exchange - http://www.gmx.net

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com