[sane-devel] umax_pp works well with "port 0x378" bot not with "/dev/parport0"
stef
svoltz at wanadoo.fr
Mon Oct 13 21:57:53 BST 2003
On Mon, Oct 13, 2003 at 03:46:11PM +0200, Sven Hergenhahn wrote:
> 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?
>
> Thanks,
> Sven
>
Hello,
which kind of hardware is it ? Also what does 'dmesg|grep parport' reports ?
It seems there is -to my opinion- some issue with ppdev on recent hardware. Also, it
maybe worth to rebuild your kernel accordingly to :
http://umax1220p.sourceforge.net/trouble.html
Regards,
Stef
More information about the sane-devel
mailing list