lkml.org 
[lkml]   [1998]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch: 2.1.85: Bugfix: LP device selection
> From: Tim Waugh <tim@cyberelk.demon.co.uk>
> 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.
--
Garst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.056 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site