MAKEDEV question

Kris Kennaway kris at obsecurity.org
Sun Mar 7 21:24:45 PST 2004


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 replaced
> > > 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.
> 
> Hi Kris,
> 
> Tks for your response.
> 
> # 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
> 
> I suppose lpt0 is supported. 

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

lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040307/22da44b6/attachment.bin


More information about the freebsd-questions mailing list