Mustek MFS-12000SP and sane0.61

Jens Ritter (jens@unsolved.weh.rwth-aachen.de)
Wed, 16 Jul 1997 12:46:25 +0200 (CEST)

Hallo all,

I have problems compiling xscanimage 0.61 on my linux box and scanning
does not work properly.

I removed "frontend" from the SUBDIRS line in the Makefile and it compiled
cleanly and I did a make install. I then change to the frontend directory
and do make, which gives this:

-------------------------------------------------------------------
gcc -L/usr/X11R6/lib -o .libs/xscanimage xscanimage.o progress.o preview.o
preferences.o gtkglue.o ../sanei/libsanei.a -Wl,-rpath -Wl,/usr/local/lib
../backend/.libs/libsane.so ../lib/liblib.a -ldl -lgtk -lgdk -lglib -lXpm
-lXext -lX11 -lm
gtkglue.o: In function `curve_new':
/usr/src/sane-0.61/frontend/gtkglue.c:701: undefined reference to
`gtk_gamma_curve_new'
/usr/src/sane-0.61/frontend/gtkglue.c:702: undefined reference to
`gtk_gamma_curve_get_type'
gtkglue.o: In function `gsg_sync':
/usr/src/sane-0.61/frontend/gtkglue.c:1297: undefined reference to
`gtk_gamma_curve_get_type'
make[1]: *** [xscanimage] Error 1
---------------------------------------------------------------------------
Seems as if a library is missing or and old one is in my path. But which?
I had no problems compiling 0.57 and I did compile and install the other
gtk before trying the new version of sane. If you know what's wrong please
let me know.

Now to the scanning:
My Scanner is a Mustek MFS-12000SP. This is what the driver reports:
----------------------------------------------------------------------
unsolved [/root] # modprobe g_NCR5380 ncr_irq=255 ncr_addr=0x300
ncr_5380=1
scsi0 : interrupts not enabled. for better interactive performance,
scsi0 : please jumper the board for a free IRQ.
scsi0 : at port 0x300 interrupts disabled options CAN_QUEUE=16
CMD_PER_LUN=2 release=1 generic options AUTOPROBE_IRQ AUTOSENSE PSEUDO DMA
generic release=7
scsi0 : Generic NCR5380/53C400 Driver
scsi : 1 host.
Vendor: SCANNER Model: Rev: 1.02
Type: Scanner ANSI SCSI revision: 01 CCS
----------------------------------------------------------------------
The scsi card is the one shipped with the scanner btw, which only works if
I booted dos before and used the scanner under windows (damn plug and
pray).

frontend/scanimage scans a nice preview, but at
300 dpi I only get bad results (please have a look at
http://www.weh.rwth-aachen.de/~jens/ --- I'm sorry if you can't get a
connection. We have problems with the laser, which hooks the house with
the university. Please tell me where to upload/send the pictures, if you
have problems):

scanimage -x 50 -y 50 --resolution 300dpi -> ginger-01.jpg

you can see that some lines are missing because of the fast stop and
go of the head (especially at the "G" in the 3rd row).
In color it is even more bad:

scanimage --mode color -x 50 -y 30 --resolution 300dpi
--> ginger-02.jpg

using --speed slowest does not change anything.

Does this happen because there's no model string returned by the driver?

TIA,

Jens

---
Jens.Ritter@post.rwth-aachen.de
finger jens@unsolved.weh.rwth-aachen.de for pgp-key
(during normal european business time hours) 

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