Date: Mon, 8 Mar 2004 22:54:46 +0800 From: Stephen Liu <satimis@icare.com.hk> To: Kris Kennaway <kris@obsecurity.org> Cc: questions@freebsd.org Subject: Re: MAKEDEV question Message-ID: <200403082254.46315.satimis@icare.com.hk> In-Reply-To: <20040308033511.GA56389@xor.obsecurity.org> References: <200403081945.16907.satimis@icare.com.hk> <20040308033511.GA56389@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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. But # ls -l lpt0 ls: lpt0: No such file or directory # ls -al /dev/ | grep lpt0 crw------- 1 root wheel 16, 0 Mar 8 17:38 lpt0 crw------- 1 root wheel 16, 128 Mar 8 17:38 lpt0.ctl (Is it necessary turning on the printer before running above command) OR Shall I run # ./devfs -m lpt0 Kindly advise. TIA B.R. Stephen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403082254.46315.satimis>