[sane-devel] umax_pp works well with "port 0x378" bot not with "/dev/parport0"

Sven Hergenhahn svenxy@gmx.net
Mon, 13 Oct 2003 15:46:11 +0200

Hi List,

when trying to setup SANE for my Unax Astra 2000p, I experience the following 
strange behaviour:

when setting 

port 0x378 

in umax_pp.conf, the scanner is properly detected and works fine (at least as 
root), but setting it to

port /dev/parport0 (as suggested for Linux)

results in the following error:

gimli:~# scanimage -L
[umax_pp_low] Found 0x18 expected 0x00  (umax_pp_low.c:5267)
[umax_pp_low] Unexpected value for for register 0x0D, expected 0x00 or 0x40, 
got 0x18 ! (umax_pp_low.c:5338)
[umax_pp_low] RegisterRead, found 0xFF expected 0x00 (umax_pp_low.c:5429)
[umax_pp_low] *** It appears that EPP data transfer doesn't work    ***
[umax_pp_low] *** Please read SETTING EPP section in sane-umax_pp.5 ***

BIOS is set to EPP, all umax_pp tests work fine, only detecting doesn't work.

Permissions to /dev/parport0:

gimli:~# ls -la /dev/parport0
crw-rw-rw-    1 root     lp        99,   0 Oct 13 12:18 /dev/parport0

Any ideas?