Color Problems with SANE 0.73 and Microtek Scanmaker E6

Christian Müller (Christian.Mueller@ezmd.hl.siemens.de)
Mon, 29 Jun 1998 08:18:04 +0200

Dear Sirs,

I intend to use SANE for scanning in a linux network.

Configuration and building of SANE was done according to the README file
and
proceeded without any errors. Kernel supports all kinds of SCSI devices.
Using SANE with the Adaptec 1502E card succeeded after removing the link
/dev/scanner and using /dev/sg0 instead. Former tries hang up after some
activity at the scanner (without any debugging information displayed,
even
with SANE_DEBUG_LEVEL and SANE_DEBUG_MICROTEK increased to 128). Tryouts
with an Adaptec 2940 controller on a 486/100MHz worked without problems
(same SANE revision, same Linux kernel).
Using the SANE daemon saned was possible, but hang up when scanning a 20
MB
image. I now use the rsh command, writing the image file to a NFS
mounted
directory.

But after solving all other problems, I now have some color failure
which
depends on the coordinates of the scanned pixel (From right to left side
of
the scanned image the failure in the blue channel increases).
Using the Microtek TWAIN driver under Windows showed no problems - the
scanner itself seems to be okay. At this point I think I will need some
additional help from you. If it provides better information, I could
sent the image files of the scans under Windows and SANE to the
developer,
but they are too big to append to the mailing list.
Below I list my system configuration and the log of a SANE scan:

The SANE machine's configuration:

SuSE Linux distribution 4.2
Linux Kernel 2.0.0
386/25MHz with 8 MB RAM and 100 MB harddisk (30 MB swapspace)
(additional file space available on file server)
Adaptec 1502E SCSI host
Microtek Scanmaker E6
SANE 0.73

contents of /proc/scsi/scsi:

Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: MICROTEK Model: ScanMaker E6 Rev: 1.40
Type: Scanner ANSI SCSI revision: 02

The scan script:

#!/bin/sh
export SANE_DEBUG_LEVEL=128
export SANE_DEBUG_MICROTEK=128
scanimage -d microtek:/dev/sg0 --mode Color --resolution 300 -l 0 -t 0
-x 178 -y 127 > $1.pnm
cjpeg -quality 100 $1.pnm > $1.jpg ; rm -f $1.pnm

(Remark: Both, the PNM and the JPEG file contain wrong colors, it is no
problem
of image file format conversion)

With kindest regards - Christian Mueller

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