Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 21:24:42 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Stephen Liu <satimis@icare.com.hk>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: MAKEDEV question
Message-ID:  <20040308052442.GA57973@xor.obsecurity.org>
In-Reply-To: <200403082254.46315.satimis@icare.com.hk>
References:  <200403081945.16907.satimis@icare.com.hk> <20040308033511.GA56389@xor.obsecurity.org> <200403082254.46315.satimis@icare.com.hk>

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

--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: <Parallel port bus> on ppc0
>=20
> I suppose lpt0 is supported.=20

If your kernel detects it it will be listed in the dmesg:

lpt0: <Printer> 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--



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