Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 16:01:39 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Michael Maxwell <drwho@xnet.com>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   HEADS UP: changes in config (was: NIC causes printing problem?)
Message-ID:  <19990510160139.F22791@freebie.lemis.com>
In-Reply-To: <19990510012453.A1861@drwho.xnet.com>; from Michael Maxwell on Mon, May 10, 1999 at 01:24:53AM -0500
References:  <19990509222332.A393@drwho.xnet.com> <Pine.BSF.3.91.990509205306.9185O-100000@dsinw.com> <19990510001519.A416@drwho.xnet.com> <19990510144805.C22791@freebie.lemis.com> <19990510002912.B416@drwho.xnet.com> <19990510152905.D22791@freebie.lemis.com> <19990510010341.C416@drwho.xnet.com> <19990510154613.E22791@freebie.lemis.com> <19990510012453.A1861@drwho.xnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 10 May 1999 at  1:24:53 -0500, Michael Maxwell wrote:
> On Mon, May 10, 1999 at 03:46:13PM +0930, Greg Lehey wrote:
>> Hmm.  It doesn't even try to find the printer.  That doesn't explain
>> why network printing doesn't work, but it does explain why the printer
>> doesn't work.
>>
>> Take a look at your config file more carefully.  What are the
>> lpt-related things?  Have you disabled the port by accident?  Diff
>> against the GENERIC config file.
>>
>> There have been some changes in the lpt driver recently; possibly
>> that's your problem.  Look particularly at the ppbus stuff, if it's
>> there.
>
> Ok, I think I *may* have found the situation here.  There was a definition
> for "nlpt0" instead of "lpt0" from generic.  I was not aware that this had
> changed.  So, I am compiling a kernel again as I type with "lpt0" in place
> of "nlpt0".  HOPEFULLY this will work.

Yes, this is part of the problem.  The printer driver has changed
recently.  There are some other things which go with it; that's why I
suggested that you look at the GENERIC file.  You'll need much of
this:

# Parallel port
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?

> By the way, do you happen to know what the "net" definition is on the
> "lpt0" line?  I have been told it is advisable to use "tty" here instead
> of net.  I don't know what this is for.

I only see one on the ppc0 line.  It specifies the interrupt mask
(system priority level) at which the interrupt handler runs.  Don't
change it.  In the near future, this keyword won't just go away, it'll
cause a warning or error message.  In fact, it's quite likely that 3.3
will have a very different configuration mechanism.  We're playing
around with it (and tripping over it) at the moment in -CURRENT.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990510160139.F22791>