Re: Patch: 2.1.85: Bugfix: LP device selection

Garst R. Reese (
Sun, 08 Feb 1998 15:46:32 -0400

> From: Tim Waugh <>
> Date: Sun, 8 Feb 1998 12:00:59 +0000 (GMT)
> Subject: Re: Patch: 2.1.85: Bugfix: LP device selection

> On Sun, 8 Feb 1998, Adam Heath wrote:

>> When specifying lp devices to be associated with parport devices, lp.c says to
>> use parport=-1,0 to make it work like 2.0. However, this doesn't work as
>> advertised. It insists on makes lp0=parport0. The following *simple* patch
>> fixes this, at least for me. All it does it move one line lower in the file.

> I don't think that quite gives the intended behaviour either. Below is a
> patch to allow -1,0 to work as *well* as just leaving out the parameters.

> There's still a small problem with loading lp as a module in this way, in
> that if you are using kerneld to load parport for you, you'll get parport0
> the first time but parport1 after parport0 goes away.
That's what you call a 'small problem'? Joe user uses kerneld, does not
specify parameters and his printer works once, then mysteriously quits.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to