Subject: Re: Parallel port problem
To: None <port-i386@netbsd.org>
From: Michael Santos <msantos2@home.com>
List: port-i386
Date: 01/04/1999 11:14:07
On Mon, Jan 04, 1999 at 12:21:02PM +0100, Federico_Lupi@www.datasys.it wrote:
> 
> Do you have any idea of what is happening? Why did lpt0 work with the old
> printer and not now? Is it normal that EPP/ECC are not recognized?
> 

Sorry! I didn't read your question very carefully, obviously. I found this
in the netbsd archives:

Alex Rolfe (arolfe@MIT.EDU) wrote:
> When trying to print to a parallel port printer (an HP 692C), I get the
> correct output.  However, it takes an insanely long time to get it.  the
> printer often times out waiting.  I get the same results whether I use
> lpd or print straight to /dev/lpt0.  I've tried setting the BIOS printer
> mode to both uni and bi directional.  Is there perhaps some setting
> similar to a serial ports baud that needs to be set?  I'm using NetBSD
> 1.2.
> 

I've seen this with some combination of motherboard/printer.
The workround is to disable the interrut in the kernel config file
and rebuild a kernel
(i.e. change 
lpt0    at isa? port 0x378 irq 7
to:
lpt0    at isa? port 0x378
), it appears that the interutions may not be generated properly.
Another way to disable interrutps is to use /dev/lpa0 instead.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--

-- 
Michael Santos
msantos2@home.com