[sane-devel] Mustek 600 II EP working with SANE

Henning Meier-Geinitz henning at meier-geinitz.de
Thu Aug 21 13:46:30 BST 2003


Hi,

On Sat, Aug 16, 2003 at 10:21:18AM +0100, James Perry wrote:
> I now have my Mustek Paragon 600 II EP scanner
> working with SANE. A patch for sane-backends-1.0.12
> to add this support can be found at:
> 
> http://www.epcc.ed.ac.uk/~jamesp/mustek600iiep.patch

Thanks. 

Your patch doesn't compile here with latest CVS:

sanei_pa4s2.c: In function sanei_pa4s2_get_status':
sanei_pa4s2.c:984: error: structure has no member named base'
[...]

Looks like you assume that libieee1284 is not present, but it is on my
system. Please check if you can use libiee1284 if available or at
least use some #ifdefs to get it compiled in both cases.

When I remove libieee1284 from my system I can compile the code but
get the following when trying to scan:

scanimage -L
scanimage: relocation error: /usr/local/lib/sane/libsane-mustek.so.1: undefined symbol: sanei_pa4s2_open_scsi_pp 

Your code seems to be only compiled in when libieee1284 is avaliable
or ENABLE_PARPORT_DIRECTIO is set manually. To avoid linking errors if
both is not the case, please provide stubs for your functions. There
are already some for the other sanei_pa4s2 functions at the end of the
file.

> I have tried it with various modes, resolutions and
> image sizes, and it seems to work fine. I tested
> using scanimage, xscanimage and xsane.

Fine. So which status do you think is ok for this scanner (from
doc/descriptions.txt)?

| :minimal' means that the device is detected and scans at least in one
| mode. But the quality is bad or important features won't work. :basic'
| means it works at least in the most important modes but quality is not
| perfect. :good' means the device is usable for day-to-day work. Some
| rather exotic features may be missing. :complete' means the backends
| supports everything the device can do.

> 1. It's not doing any line distance correction. I
> don't really know enough about scanners to know
> how it should do this. Output quality looks OK
> though

Some scanners do linedistance correction in hardware. So if the image
is ok (no colored stripes), this may be one of them.

> 4. Although this scanner connects via the parallel
> port, I've added it to the mustek backend, not the
> mustek_pp backend, as it uses SCSI commands

The structure of the code seems ok for me and if you can get the
problem with sanei_pa4s2.c and libieee1284 fixed, I'll commit the
patch to CVS.

> Any comments or questions?

Do you know if the 600 II ED is the same scanner and may also work?

I'll append the modified manpage, so you may have a look if it's
correct.

Bye,
  Henning
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-mustek.man
Type: application/x-troff-man
Size: 14547 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20030821/b0dfe4f3/attachment.man>


More information about the sane-devel mailing list