|m = 0||default: no override|
|m = 1||OpticPro 9630PL override (works if OP9630 has been detected) forces legal size (14")|
|m = 2||Primax 4800Direct override (works if OP600 has been detected) swaps red/green color|
|m = 3||OpticPro 9636 override (works if OP9636 has been detected) disables backends transparency/negative capabilities|
|m = 4||OpticPro 9636P override (works if OP9636 has been detected) disables backends transparency/negative capabilities|
|m = 5||OpticPro A3I override (works if OP12000 has been detected) enables A3 scanning|
|m = 6||OpticPro 4800P override (works if OP600 has been detected) swaps red/green color|
|m = 7||Primax 4800Direct 30bit override (works if OP4830 has been detected)|
See the plustek_pp.conf file for examples.
As mentioned before, the plustek_pp backend code can also be compiled and installed as linux kernel module. To do so, you will need the source-files of this sane-backend installation. Unpack this tar-ball and go to the directory:
Within this directory, you should find a script called:
Now if your Linux kernelsources are installed correctly, it should be possible to build, install and load the module pt_drv. Please note, that the kernelsources need to be configured correctly. Refer to your distributions manual on how this is done. As root user, try
the script will try and get all necessary information about your running kernel and will lead you through the whole installation process.
Note: Installing and loading the can only be done as superuser.
The configuration of the kernel module is done by providing some or more options found below to the kernel module at load time. This can be done by invoking insmod with the appropriate parameters or appending the options to the file /etc/modules.conf (kernel < 2.6.x) or /etc/modprobe.conf (kernel >= 2.6.x)
lampoff=lllThe value lll tells the driver, after how many seconds to switch-off the lamp(s). The default value is 180. 0 will disable this feature.
HINT: Do not use a value that is too small, because often switching on/off the lamps will reduce their lifetime.
port=pppppp specifies the port base address, where the scanner is connected to. The default value is 0x378, which is normally a standard.
warmup=wwwwww specifies the time in seconds, how long a lamp has to be on, until the driver will start to scan. The default value is 30.
lOffonEnd=ee specifies the behaviour when unloading the driver, 1 --> switch lamps off, 0 --> do not change lamp status
slowIO=ss specifies which I/O functions the driver should use, 1 --> use delayed functions, 0 --> use the non-delayed ones
forceMode=fmfm specifies port mode which should be used, 0 --> autodetection, 1 --> use SPP mode and 2 --> use EPP mode
m = 0 default: no override m = 1 OpticPro 9630PL override (works if OP9630 has been detected) forces legal size (14") m = 2 Primax 4800Direct override (works if OP600 has been detected) swaps red/green color m = 3 OpticPro 9636 override (works if OP9636 has been detected) disables backends transparency/negative capabilities m = 4 OpticPro 9636P override (works if OP9636 has been detected) disables backends transparency/negative capabilities m = 5 OpticPro A3I override (works if OP12000 has been detected) enables A3 scanning m = 6 OpticPro 4800P override (works if OP600 has been detected) swaps red/green color m = 7 Primax 4800Direct 30bit override (works if OP4830 has been detected)
Sample entry for file /etc/modules.conf :
alias char-major-40 pt_drv
pre-install pt_drv modprobe -k parport
options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=0 forceMode=0
For multidevice support, simply add values separated by commas to the different options
options pt_drv port=0x378,0x278 mov=0,4 slowIO=0,1 forceMode=0,1
Remember to call depmod after changing /etc/conf.modules.
The current driver works best, when the parallel port has been set to EPP-mode. When detecting any other mode such as ECP or PS/2 the driver tries to set to a faster, supported mode. If this fails, it will use the SPP mode, as this mode should work with all Linux supported parallel ports. If in doubt, enter your BIOS and set it to any mode except ECP.
Former Plustek scanner models (4830, 9630) supplied a ISA parallel port adapter card. This card is not supported by the driver.
The ASIC 96001/3 based models have sometimes trouble with high resolution modes. If you encounter sporadic corrupted images (parts duplicated or shifted horizontally) kill all other applications before scanning and (if sufficient memory available) disable swapping.
See the plustek_pp.conf file for examples.
/usr/local/etc/sane.d/plustek_pp.conf The backend configuration file /usr/local/lib/sane/libsane-plustek_pp.a The static library implementing this backend. /usr/local/lib/sane/libsane-plustek_pp.so The shared library implementing this backend (present on systems that support dynamic loading). /lib/modules/<Kernel-Version>/kernel/drivers/parport/pt_drv.o The Linux kernelmodule for kernels < 2.6.x. /lib/modules/<Kernel-Version>/kernel/drivers/parport/pt_drv.ko The Linux kernelmodule for kernels >= 2.6.x.
SANE_CONFIG_DIR This environment variable specifies the list of directories that may contain the configuration file. Under UNIX, the directories are separated by a colon (:), under OS/2, they are separated by a semi-colon (;). If this variable is not set, the configuration file is searched in two default directories: first, the current working directory (".") and then in /usr/local/etc/sane.d. If the value of the environment variable ends with the directory separator character, then the default directories are searched after the explicitly specified directories. For example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in directories "tmp/config", ".", and "/usr/local/etc/sane.d" being searched (in this order). SANE_DEBUG_PLUSTEK_PP If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. Higher debug levels increase the verbosity of the output.
Example: export SANE_DEBUG_PLUSTEK_PP=10
Please send any information and bug-reports to:
SANE Mailing List
Additional info and hints can be obtained from our
Mailing-List archive at:
or directly from the projects homepage at:
To obtain debug messages from the backend, please set the environment-variable SANE_DEBUG_PLUSTEK_PP before calling your favorite scan-frontend (i.e. xscanimage).
i.e.: export SANE_DEBUG_PLUSTEK_PP=20 ; xscanimage
The value controls the verbosity of the backend.
* The Halftoning works, but the quality is poor
* Printers (especially HP models) will start to print during scanning. This in fact is a problem to other printers too, using bidirectional protocol (see www.plustek.com (TAIWAN) page for further details)
* The driver does not support these manic scalings up to 16 times the physical resolution. The only scaling is done on resolutions between the physical resolution of the CCD-sensor and the stepper motor i.e. you have a 600x1200 dpi scanner and you are scanning using 800dpi, so scaling is necessary, because the sensor only delivers 600dpi but the motor is capable to perform 800dpi steps.
* On some devices, the pictures seems bluish
ASIC 98001 based models:
* The 300dpi transparency and negative mode does not work correctly.
* There is currently no way to distinguish a model with and without transparency unit.
* The scanned images seem to be too dark (P9636T)
ASIC 96003/1 based models:
* 30bit mode is currently not supported.
* On low end systems under heavy system load the driver may lose data, which can result in picture corruption or cause the sensor to hit the scan bed.
* The scanning speed on 600x1200 dpi models is slow.
* The scanning quality of the A3I is poor
|SANE-PLUSTEK_PP (5)||14 Jul 2008|