Most common trouble
Many installation troubles are caused by an older version installed. See http://www.xs4all.nl/~ljm/SANE-faq.html for some hint on how to remove them. You cal also use the package manager of your linux distribution, you must be careful to not let it remove sane-frontends or xsane, because it may thinks you don't need it anymore ...
When you have troubles using the umax_pp backend, get sure that your BIOS is set to EPP or ECP+EPP . ECP only works only with direct hardware access and is worth trying if every thing else fails.
Disconnect any device connected to the pass-through port during the tests. When the scanner works, you can plug them back. This way, in case of trouble, you are sure it is related to the parallel port or to the scanner.
Stop any daemon that could access parallel port in background such as lpd.
Tips and tricks
Thefollowing page has some tips and tricks for you to try, in case of problems.
The first step to get the scanner running is to get the parallel port right. Usually parallel port support is compiled as a linux kernel module. The following script will detect the settings of the parport: ppdiag
S01: parport built as module
But if you only have PCSPP,TRISTATE as available modes. You may still have a chance. Your parport may be wrongly detected.
To solve it, you can provide parameters to the parport module to help the linux kernel get it right:
- io=parallel port address (check BIOS to get it), typical values ares 0x378, 0x278 and 0x3BC.
- dma=none currently useless wrt linux parport support
- irq=interrupt number (check BIOS to get it), typical values are 7 or 5
- io_hi=ECR registers address, usually io+0x400, unless you have a PCI parallel port add-on card.
You can try them until you parallel port is correctly detected by inserted the kernel module with the above options on the command line (you must be logged as root):
modprobe parport_pc io=0x378 irq=7 io_hi=0x778 dma=none
Then type 'dmesg' to see it's correctly detected:
parport 0x278 (WARNING): CTR: wrote 0x0c, read 0xff
parport 0x278 (WARNING): DATA: wrote 0xaa, read 0xff
parport 0x278: You gave this address, but there is probably no parallel port there!
parport0: PC-style at 0x278, irq -787072976 [PCSPP,TRISTATE]
parport0: irq -787072976 in use, resorting to polled operation
In this case, the address provided is wrong and we have to try another one. The desired result is:
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
A typical module configuration (to put into 'modules.conf' or 'modprobe.conf' depending on your kernel version) looks like:
alias char-major-99 ppdev
alias parport_lowlevel parport_pc
options parport_pc io=0x378 io_hi=0x778 irq=7 dma=none
ppdev character device
Check that the '/dev/parport*' have read/write permissions for all users.
If ppdev is built as a module, check is shows up when doing 'lsmod':
[root@Gurraen root]# lsmod
You may try direct I/O access before trying ppdev. It seems there is a bug in ppdev or in the way it is used in the backend, which prevent the use of EPP mode. Use the parport address for the port option in umax_pp.conf file.
intend to scan wide areas at 600 or 1200 dpi, ppdev will fail unless you have
a really fast CPU. In this case you'll have to fall back to direct hardware
access, logged as 'root'. 2000 pixels (8.5 cm) wide scan succeed on a K6-2
500 MHz. The height does not matter.
If you want to rebuild your kernel, I recommend you use the following settings:
If the 'umax_pp' program in the tools directory can detect your scanner, but 'scanimage -L' doesn't show it, check that the umax_pp backend is not commented out in dll.conf . You must edit 'dll.conf' in the source directory before install, or in the directory it has been installed.
If your system uses rpm, you can remove installed SANE packages with:
parallel port access conflict
You can check no other process is using the parallel port before doing a test by the command 'cat /proc/sys/dev/parport/parport0/devices/active'. It should tell 'none' when the backend is inactive.
If you get:
|download||install||use||bugs and issues||troubleshooting||links||lists||changelog|