Re: mustek-probs: color, preview

David Mosberger-Tang (davidm@azstarnet.com)
Sun, 25 May 1997 10:18:04 -0700

>>>>> On Thu, 22 May 1997 05:36:22 -0700, Andreas Gaumann <gg261@appl2.hrz.uni-siegen.de> said:

Andreas> Hello, now I have sane-0.57 make running with my Mustek
Andreas> MFS-06000 SP (Rev. 3.12) and an Asus SC 200
Andreas> SCSI-Adaptor.

Noted. Can you tell me whether you had to configure the SCSI driver
specially to make it work with the scanner (such as disable
synchronous requests)?

Andreas> Scanning grey-scaled images is working very
Andreas> well.

Good.

Andreas> But I have still problems trying to scan images in
Andreas> color-mode. The image I get has many horizontal stripes. It
Andreas> seems that stripes of red, green and blue (ca. 30-60 pixel
Andreas> height) are not exactly layed over the other stripes but
Andreas> moved a little down (ca. 1-3 pixel). Is this problem known
Andreas> by someone else? Or must I use the mustek-scsi-patch ?
Andreas> (Somewhere in the documentation it is said that this patch
Andreas> is only for those who use the NCR53c400-card from
Andreas> mustek. But I don't use it and so I don't try it.)

That is correct. The mustek-scsi patch is for the Mustek SCSI adapter
only.

Andreas> Some
Andreas> time ago I have this problem while using the scanner with
Andreas> the NCR53c400-card (from Mustek) with muscan. But it
Andreas> disappears now with using the Asus SC200 SCSI-Adaptor. Now
Andreas> scanning of color-images (with muscan-2.0.7 and a special
Andreas> patch for 06000 SP-scanner) runs very slow but the images
Andreas> are all right.

Ok, in this case, try rebuilding SANE with configuration option
"--disable-ld-fix". Something like:

make distclean
./configure --disable-ld-fix
make
su
make install

should do the trick (the "make distclean" _is_ important). Can you try
this and let me know how it works?

Andreas> Another problem is in the preview-window. If I try to scan
Andreas> a preview-image the scanner starts to scan from the top
Andreas> till the bottom. But arriving at the bottom the head of the
Andreas> scanner stops while the LED at the front of the scanner is
Andreas> still blinking. Then nothing more happens and the only way
Andreas> to stop the scanner and to reset sane is to turn the
Andreas> scanner off, delete the modules and then start all
Andreas> again. The background in the preview-window is black while
Andreas> scanning the first 2/3 of the image. Then (after 2/3) it
Andreas> turnes white like it was before starting the preview-scan.

I see two possibilities:

(a) The height of the scanner is not correct. At present, mustek.c defines
the height to be 360mm for your scanner type. If that's not correct,
could you measure the width and height of the scan area and let me know?
(you could also experiment/change with the width and height as defined
around line 339 in backend/mustek.c).

(b) The SCSI driver times out while acquiring the preview. If this is the
case, you'll have to hack the driver. You should see messages in
/var/log/messages if this happens.

Hope this helps,

--david

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com