Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 1999 19:17:14 +0100
From:      Nicolas Souchu <nsouch@teaser.fr>
To:        Chuck Robey <chuckr@mat.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: lpt0
Message-ID:  <19990213191714.53383@breizh.prism.uvsq.fr>
In-Reply-To: <Pine.BSF.4.05.9902131303170.357-100000@picnic.mat.net>; from Chuck Robey on Sat, Feb 13, 1999 at 01:11:25PM -0500
References:  <Pine.BSF.4.05.9902131303170.357-100000@picnic.mat.net>

next in thread | previous in thread | raw e-mail | index | archive | help

You need:

controller	ppbus0			# The ppbus system
device		nlpt0	at ppbus?	# The printer driver

And finally the parallel port chipset interface,

controller	ppc0	at isa? port? tty irq 7 drq 3

See ppbus(4) and/or http://www.freebsd.org/~nsouch/ppbus.html for more info
about the ppbus architecture.

On Sat, Feb 13, 1999 at 01:11:25PM -0500, Chuck Robey wrote:
>
>Recently I noticed that lpt0 has been replaced by the ppbus stuff, in
>LINT.  The problem is, I can't find any example as to how to set it up
>for a plain, vanilla printer.... ppbus has so many more capabilities
>than lp, I think it's embarrassed about it's dowdy origins.  I don't
>know what controller to use (ppbus0 or maybe ppc0?) and the old device,
>lpt0, doesn't even exist in LINT anymore.
>
>I tried picking up the lines for ppbus0 and nlpt, which I guessed might
>be right, from LINT, and dropping them into my config file.  They
>compile fine, but nothing is probed (my dmesg shows no printer) and I
>can't print.
>
>What's the right setup for a plain, ordinary IRQ 7 printer port?
>Please, don't answer if you're going to talk about connecting some
>parallel interfaced thing like a zip drive.  I can't seem to find any
>docs on this, nor any mail messages (nothing in UPDATING either).  There
>is much discussion about things like zip drive connecting, though ...
>
>----------------------------+-----------------------------------------------
>Chuck Robey                 | Interests include any kind of voice or data 
>chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
>213 Lakeside Drive Apt T-1  |
>Greenbelt, MD 20770         | I run picnic (FreeBSD-current)
>(301) 220-2114              | and jaunt (Solaris7).
>----------------------------+-----------------------------------------------
>
>
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-current" in the body of the message
>

-- 
nsouch@teaser.fr / nsouch@freebsd.org
FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org

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



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