experiences with MUSTEK and HP

Mathias Weigt (p5iba@medchem2.pharmazie.uni-halle.de)
Tue, 1 Apr 1997 20:50:21 -0600

Hello !

In the last days I tested the last pre0.5 SANE package.
I had to include sys/param.h to get it compiled but then
it worked. Unfortunately I could use preview only in 16bit color mode.
But the appearance of xscan is much better now.
I'm using the following scanners (in different systems):

MUSTEK MFS-6000CX (label)
Host: scsi1 Channel: 00 Id: 06 Lun: 00
Vendor: MUSTEK Model: MFS-06000CX Rev: 2.71
Type: Scanner ANSI SCSI revision: 01

It is connected to an Adaptec 1505 adapter:

Adaptec 152x SCSI driver; $Revision: 1.7 $
ioports 0x0340 to 0x035f
interrupt 0x0b
disconnection/reconnection disabled
parity checking enabled
synchronous transfers disabled
0 commands currently queued
enabled debugging options:

queue status:
no not yet issued commands
no current command
no disconnected commands

waiting: SCSISEQ (); SCSISIG (DATA OUT); INTSTAT (lo); SSTAT (BUSFREE PHASECHG
); SSTAT (); SXFRCTL0 (CH1 ); SIGNAL (); SELID (01), SSTAT2 (SEMPTY ); SFCNT
(0);
SCSICNT (0), OFFCNT(0), SSTAT4 (); DMACNTRL0 (16BIT PIO READ INTEN ); DMASTAT
(DFIFOEMP )

enabled interrupts ()

(this is from /proc/scsi)
This is what you wanted to know

[mustek] attach: firmware revision 2.71
[mustek] attach: found Mustek scanner model MFS-06000CX (flatbed scanner)

The following problems occured:

It is a 3-pass scanner: with SANE only grayscale scanning works. On color
scanning I get the error message : "device busy". This maybe an adapter timeout
problem as it is discribed for the ncr810 adapter but I have another MUSTEK
scanner program from Arno Augustin : Email:
aoaugust@informatik.uni-erlangen.de ; with
this program I can scan even color images (no error messages). Maybe you can
have a look at it. Further more the scanner drives to far if the range is set
to 14inches. This sounds really bad. Thanks to god it did't destroyed the
scanner.
I could fix it by setting the maximum resolution to 300 dpi in mustek.c because
this the optical resolution of the MFS-6000CX.
Now it scan grayscale images without errors but with maximum resolution
(299dpi)
I can`t get the whole selected area (it is cut off)

I also installed SANE (sane-pre0.5) to work with an HP SCANJET 4P.
Unfortunately I had no time yet to provide the necessary firmware data to you.
(I have only time-limited access to this device.) It is on the same SCSI-BUS as
the system harddrive and a zipdrive.
But there were really no errors! The only problem was to make SANE recognize
the HP as a sane device. HP scanners have unusual device type (from scsi.h):
#define TYPE_PROCESSOR 0x03 /* HP scanners use this */
I changed this to TYPE_SCANNER and it worked.
Maybe the resolution setting could be more sensitive (the highest possible
resolution is 1599 dpi - the step size is to big).

SANE version 0.5:

It compiles without errors. When invoked I get the message: "cannot locate
symbol strndup".
configure states the following:
checking for strdup... (cached) yes
checking for strndup... (cached) no

Thats all for today...

Thank you for programming such an important project.

Mathias Weigt

p5iba@medchem2.pharmazie.uni-halle.de

-- 
Mathias Weigt 
p5iba@medchem2.pharmazie.uni-halle.de

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