I assume you are using a kernel version >2.4.18. Since 2.4.19, and the introduction of O_NONBLOCK semantics in /dev/parport, I get the same hangs when my BIOS is set to EPP. These hangs do not happen with direct hardware access. Personnaly, I set my BIOS to ECP/EPP, and all work fine. I suspect that pure EPP mode has an IRQ trouble, but I have no other fix than changing BIOS settings, or downgrading kernel version.
Regards, Stef On Wed, Oct 16, 2002 at 09:09:14PM +0100, Ryan Harkin wrote: > Hi, > I have a Umax 1220P parallel port scanner that I have sucessfully installed > with SuSE 7.2 to use /dev/parport0 as both root and normal user. > > Now I am trying to get it to work with a newer distro and wondered if someone > could help out. And I realise that you all have work to do on 1.0.9! > > I have tried SuSE 8.0, Mandrake 9.0 and now RedHat 8.0. In all cases I can ..... > [umax_pp_low] UMAX Astra 1220/1600/2000 P ASIC detected (mode=7) > [umax_pp_low] SlowNibbleRegisterRead: found 0x20 expected 0x0 \ > (umax_pp_low.c:4757) > [umax_pp_low] 32 bits EPP data transfer > [umax_pp_low] Count-down value is 0xCF (umax_pp_low.c:5184) > [umax_pp_low] Scanner init done ... > [umax_pp_low] Probe done ... > > Then the process hangs indefinitely. OK, so to get some debug, I install > SANE > and test using scanimage: > ............