This is the homepage of the Mustek parallel port scanner backend sane-mustek_pp. This backend supports parallel port scanners using the Mustek A4S2 and A4CIS chipset. See Support Scanners for a list of scanners using this chipset. The backend has reached a quite stable state, still it is under constant development. Use it at your own risk.
The Mustek parallel port scanners come in two flavours, which use different sensors: charge coupled device (CCD) and contact image sensor (CIS). The backend currently supports both types to some extent.
CCD scanners | ||
---|---|---|
Model | ASIC/CCD | Status |
Mustek ScanExpress 6000 P | 1013/00 | supported |
Mustek ScanExpress 1200 ED Plus | 1015/01 | not supported |
Mustek ScanExpress 12000 P | 1505/05 | not supported |
Mustek ScanExpress 600 SEP | 1013/?? | supported |
Mustek ScanMagic 1200 ED Plus | 1015/01 | not supported |
Mustek ScanMagic 4800 P | 1013/0x | supported |
Mustek 600 III EP Plus | 101x/0x | supported |
Mustek 600 II EP | ga1503a | supported by the mustek SCSI backend |
Medion MD9848 | 1015/00 | supported |
Medion MD9806 | 1013/00 | supported |
Viviscan Compact II | 1013/00 | supported |
Gallery 4800 | ????/?? | supported |
Network Easy Plus 30 Bit | ????/?? | supported |
CIS scanners | ||
---|---|---|
Model | ASIC | Status |
Mustek ScanExpress 600 CP | 1015 | supported |
Mustek ScanMagic 600 CP | 1015 | supported |
Mustek 1200 CP | 1015 | supported |
Mustek 1200 CP+ | 1015 | supported |
Medion/LifeTec/Tevion MD/LT935x | 1015 | supported |
Medion/LifeTec/Tevion MD/LT985x | 1015 | supported |
Medion/LifeTec/Tevion MD/LT9890 | 1015 | supported |
Targa Funline TS12EP | 1015 | supported |
Trust Easy Connect 9600+ | 1015 | supported |
Targa Funline TS6EP | 1015 | supported |
Cybercom 9352 | ????/?? | supported |
If your scanner isn't in the list but the backend recognizes your scanner, please let us know.
Also check, whether it's a CCD scanner or a CIS Scanner... it's often mentioned in the manual. Also, CIS scanners often have a FCC ID number that ends with CIS (look for labels at the bottom of your scanner), whereas CCD scanners tend to have A4SII in the FCC ID.
The latest working release of this backend is included in SANE since SANE v1.0.3. You can download the latest sane-backends version from their download page at http://www.sane-project.org/.
The support for CCD is incomplete in SANE version from 1.0.10 to 1.0.13. If you need CCD support, please use a later version. For SANE 1.0.13 a patch is available from the download directory.
The most recent versions of the SANE backends include version 13-beta of the mustek_pp backend. This version supports both CCD and CIS scanners.
Please install the latest version of SANE that comes with your distribution. Normally, you shouldn't need to compile SANE yourself. However, if you do so anyway, please be sure to follow the instructions given on the SANE homepage.
Please also consult the documentation of your distribution on which packages and dependencies are required for SANE.
The following steps are needed to configure the mustek_pp backend.
scanner "mustek" * <driver>where <driver> is one of
driver | Description |
---|---|
ccd300 | 600 III EP & OEM versions |
cis600 | 600 CP, 96 CP & OEM versions |
cis1200 | 1200 CP & OEM versions |
cis1200+ | 1200 CP+ & OEM versions |
$ SANE_DEBUG_MUSTEK_PP=1 scanimage -Lor if you are running csh or tcsh:
$ setenv SANE_DEBUG_MUSTEK_PP 1 $ scanimage -LThis should result in an output similar to the one below:
[sanei_debug] Setting debug level of mustek_pp to 1. device `mustek_pp:LT9350' is a Mustek 1200CP flatbed scanner device `net:localhost:mustek_pp:LT9350' is a Mustek 1200CP flatbed scannerDon't worry if you don't see the last line (see below for information on how to set up the SANE network daemon).
Known distribution specific issues:
New: You can use sane-find-scanner to probe for your parallel port scanner:
$ sane-find-scanner -p
If your scanner is detected by SANE and you have correct access rights to the parallel port device, you should see something like this:
found possible Mustek parallel port scanner at "parport0" # Your Mustek parallel port scanner was detected. It may or # may not be supported by SANE. Please read the sane-mustek_pp # man-page for setup instructions.
If your scanner is not recognized, you can run
$ SANE_DEBUG_MUSTEK_PP=128 scanimage -L
or if your are running csh or tcsh
$ setenv SANE_DEBUG_MUSTEK_PP 128 $ scanimage -L
The output will probably look something like this
[sanei_debug] Setting debug level of mustek_pp to 128. [mustek_pp] sane-mustek_pp, version 0.13-beta. build for SANE 1.0.14 [mustek_pp] backend by Jochen Eisinger <jochen.eisinger@gmx.de> [mustek_pp] sanei_init: auto probing port [mustek_pp] ccd300_init: couldn't attach to port ``parport0'' (Invalid argument) [mustek_pp] sane_exit: all drivers unloaded
If mustek_pp tries to attach to 0x378 or similar, your SANE package was not compiled with libieee1284 support. If you have compiled SANE yourself, please ensure you have libieee1284 installed, and, depending on your distribution libieee1284-dev or similar. If you did just install a package of SANE, please complain at the packager to add support for libieee1284. Without support for it, only the user root can use the scanner.
If scanimage -L hangs, add the option no_epp to your mustek_pp.conf. Just insert
option no_eppat the top of the file mustek_pp.conf.
If you get an error message like
[mustek_pp] sane_init: invalid driver name ``ccd300''
this means you are using auto-probing and no port could be found. The error message is a bit unclear, this is already fixed in the development version. See further down on how to debug the problem, that your scanner was not found.
There is an easy way to see whether you have support for libieee1284 enabled or not, just run
$ ldd `which sane-find-scanner` | grep libieee1284
If this doesn't produce any output, you don't have support for it. You should enable support for libieee1284 before you continue. If you don't want to do this, you have to become user root in order to access your scanner.
To check whether you don't have enough access rights or your scanner is not recognized at all, run
$ SANE_DEBUG_SANEI_PA4S2=128 scanimage -L
or if you are using csh or tcsh
$ setenv SANE_DEBUG_SANEI_PA4S2 128 $ scanimage -L
The output of this command might be several pages long. You should scan the output for one of those lines:
[sanei_pa4s2] sanei_pa4s2_devices: A4S2 support not compiledor
[sanei_pa4s2] sanei_pa4s2_open: A4S2 support not compiledIf this is the case, you can either recompile SANE with libieee1284 installed. SANE will use the library automatically if it is installed. Or, if you have downloaded a binary package, contact the author of this package and ask him to add support for libieee1284
[sanei_pa4s2] pa4s2_init: trying to setuid rootYou need to run scanimage as user root in order to be able to scan. If you also find this line
[sanei_pa4s2] pa4s2_init: setuid failed: errno = 1you weren't root. Please run the command again as user root.
[sanei_pa4s2] pa4s2_init: 0 ports reported by IEEE 1284 libraryor like this
[sanei_pa4s2] pa4s2_open: could not open device `parport0` (Error initializing port)you probably do not have support for parallel port devices enabled in your kernel.
$ ls -l /dev/parport0Make sure you have read/write access to this device, i.e. either
# modprobe ppdev # grep ppdev /proc/devicesIf you have parallel port device support compiled in your kernel, you should get an output like
99 ppdevIf you are missing support for parallel port devices, you will have to enable them in your kernel and recompile the kernel.
$ ls -l /dev/parport*This command should show a lot of character devices, all looking something like this:
crw-rw---- 1 root root 99, 0 Jan 1 1970 /dev/parport0You can create such a device using this command:
# mknod /dev/parport0 c 99 0
[sanei_pa4s2] pa4s2_open: `0x378` is not a valid device nameor
[sanei_pa4s2] pa4s2_open: `parport0` is not valid port numberyou probably gave the wrong device name in your mustek_pp.conf. You should use * as device name to auto-detect your scanner's port.
[sanei_pa4s2] pa4s2_open: `parport0` is not a valid device name [sanei_pa4s2] pa4s2_open: returning SANE_STATUS_INVAL [sanei_pa4s2] sanei_pa4s2_open: connection failedor
[sanei_pa4s2] sanei_pa4s2_enable: enable port '0x378' [sanei_pa4s2] pa4s2_enable: failed to claim the port (Error interfacing system) [sanei_pa4s2] sanei_pa4s2_enable: failed to enable port [sanei_pa4s2] sanei_pa4s2_enable: returning SANE_STATUS_IO_ERRORthen you either should upgrade to libieee1284 version 0.2.11 or later, or as a workaround, create a file /etc/ieee1284.conf with the following content:
disallow method ppdevHowever, you can only scan as user root then.
[sanei_pa4s2] sanei_pa4s2_open: returned ASIC-ID 0x77or a line similar to this with another ID, your scanner is not properly connected to the box. The only valid ASIC IDs are 0xA8, 0xA5, and 0xA2.
There are no official technical papers for this scanner available. However the complete reference on configuration for this backend is available in the man page sane-mustek_pp(5).
There are still too many bugs...
If you find a bug (or even better a bug fix) please let us know...
General questions
$ export SANE_DEBUG_MUSTEK_PP=128 $ export SANE_DEBUG_SANEI_PA4S2=128 $ scanimage -Lor if you are using csh or tcsh
$ setenv SANE_DEBUG_MUSTEK_PP 128 $ setenv SANE_DEBUG_SANEI_PA4S2 128 $ scanimage -Land send us the output. If it exceeds some reasonable size, consider putting the output on a web page and send us the link. Please also include your mustek_pp.conf.
CCD scanners related
(empty)
CIS scanners related
If you have questions, comments, bug reports, suggestions, or if you just wish to send us some nice greetings, feel free to contact us: