Subject: Re: 0.9 bugs?
To: None <ted@erg.sri.com>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 01/10/1994 19:01:44
>Date: Mon, 10 Jan 94 17:32:31 EST
>From: Ted Nolan SRI Ft Gordon <ted@ags.ga.erg.sri.com>

>And finally, just as a request, how about a flag on the config line for the
>LP driver?  It would mean "don't probe, just assume that it's there."  (and
>would probably be correct for 99% of PCs..)

I find that a simple modification to lpa.c (or lpt.c, depending on
which you use) fixes the probing problem.  Look for a line in the
probe routine that looks like:

	mask = 0x1e;

and replace it with:

	mask = 0;

This shuts off the probe of the parallel port's control port.  Probing
the control port doesn't work if your printer and/or printer cable
has some control lines permanently set high or low.

I would vote for getting rid of the control port probe entirely.
Probing the data port should be sufficient, shouldn't it?
-- 
Mike Long                                         Mike.Long@Analog.com
VLSI Design Engineer                              voice: (617)461-4030
Analog Devices, SPD Div.                            FAX: (617)461-3010
Norwood, MA 02062                            *this = !opinion(Analog);

------------------------------------------------------------------------------