[sane-devel] problems with Umax 1220P and Sane

Afra Ahmad aa4@cse.Buffalo.EDU
Sun, 2 Sep 2001 19:48:22 -0400 (EDT)


I have read/searched past messages on the mailing list, and it doesn't
seem like my problem has surfaced for anyone.

I downloaded sane 1.0.5 and applied the patches for the UMAX 1220P
scanner, which patched fine (umax1220p-2.1.gz).

My scanner is the only device attached to the parallel port.

I set my BIOS to EPP+ECP and my kernel is Linux 2.4.9, which picks up the
scanner alright:

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP]
parport0: irq 7 detected
parport0: cpp_mux: aa55f00f52ad51(06)
parport0: Found 1 daisy-chained devices
lp0: using parport0 (polling).

(Yes, I did select CONFIG_PPDEV within the kernel).

However, if I use umax_pp (as root) to test the scanner, I get this:

[sanei_debug] Setting debug level of umax_pp_low to 1.
[umax_pp_low] Using /proc info
UMAX 1220P scanning program version 2.1 starting ...
[umax_pp_low] status 7 doesn't match! umax_pp_low.c:2055
[umax_pp_low] No 1220P/2000P scanner detected by 'RingScanner()'...
[umax_pp_low] Trying 610P...
[umax_pp_low] Found 0x0 expected 0x88  (umax_pp_low.c:3649)
[umax_pp_low] UMAX Astra 610P detected
[umax_pp_low] Probe610P done ...
[umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7
[umax_pp_low] Error! expected STATUS=0x38, found 0x07!
[umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0x07
[umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3204)
InitTransport() failed (umax_pp.c:400)

Does anyone know what is wrong? Obviously scanimage does not work either
resulting in similar output.

Did I not set something correctly within the Linux kernel?

Thank you very much.