[sane-devel] Installingproblem with parallellportscanner

Eddy De Greef degreef@imec.be
Thu, 3 Mar 2005 22:03:09 +0100


On 03-03-05 21:19:01 Philip Moller wrote:
> Ok, here is the output :
> 
> [root] # SANE_DEBUG_SANEI_PA4S2=128 scanimage -L
> [sanei_debug] Setting debug level of sanei_pa4s2 to 128.
> [sanei_pa4s2] sanei_pa4s2_devices: interface called for the first  
> time
> [sanei_pa4s2] sanei_pa4s2_devices: invoked
> [sanei_pa4s2] pa4s2_init: static int first_time = 1
> [sanei_pa4s2] pa4s2_init: called for the first time
> [sanei_pa4s2] pa4s2_init: initializing libieee1284
> ...
> [sanei_pa4s2] sanei_pa4s2_readbyte: not my fault, if your PC burns  
> down.
> [sanei_pa4s2] sanei_pa4s2_readbyte: read in EPP mode
> Here it freezes, nothing happens ......

This is due to a bug in the linux kernel: if you set the port
to ECP mode in the BIOS, the kernel still thinks it supports EPP
mode. The driver tries to use that mode and then everything gets
stuck. If you put the port in EPP mode in the BIOS, your problem
will probably be solved (ECP+EPP mode may work too, but I've
had reports of cases where that didn't work either).

See also http://home.tiscali.be/EddyDeGreef/Sane/index.html,
the Reported Problems section.

Best regards,

Eddy