From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 21:24:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E65516A4CE for ; Sun, 7 Mar 2004 21:24:45 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11E4043D1F for ; Sun, 7 Mar 2004 21:24:45 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (8297376b498f26f396960b7f3a976e07@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i285Nia3022132; Sun, 7 Mar 2004 21:23:44 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D0F625284E; Sun, 7 Mar 2004 21:24:42 -0800 (PST) Date: Sun, 7 Mar 2004 21:24:42 -0800 From: Kris Kennaway To: Stephen Liu Message-ID: <20040308052442.GA57973@xor.obsecurity.org> References: <200403081945.16907.satimis@icare.com.hk> <20040308033511.GA56389@xor.obsecurity.org> <200403082254.46315.satimis@icare.com.hk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <200403082254.46315.satimis@icare.com.hk> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org cc: Kris Kennaway Subject: Re: MAKEDEV question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 05:24:45 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 08, 2004 at 10:54:46PM +0800, Stephen Liu wrote: > > > FreeBSD 5.2 > > > > > > I am now configuring printer and aware that 'MAKEDEV' has been repla= ced > > > with 'devfs' > > > > > > According to handbook I should run > > > > > > # ./MAKEDEV lpt0 (para port) > > > > > > whether to be replaced with > > > > > > # ./devfs -m lpt0 > > > > The device should be created automatically if your kernel detects the > > device. >=20 > Hi Kris, >=20 > Tks for your response. >=20 > # grep ppc0 /var/run/dmesg.boot > ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/7 bytes threshold > ppbus0: on ppc0 >=20 > I suppose lpt0 is supported.=20 If your kernel detects it it will be listed in the dmesg: lpt0: on ppbus0 lpt0: Interrupt-driven port Kris --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATAOaWry0BWjoQKURAnkQAKCkHkEytHkOCnqYDl9F0kHlUfybfACg1s3Z Vl0wLYiqZ2mF5bW/nYjSYEA= =JTyb -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--