Re: MAKEDEV question

2004-03-09 Thread Stephen Liu
- snip - > > > > After reboot > > # dmesg > > Probing for PnP devices on ppbus0: > > ppbus0: MLC,PCL,PML > > plip0: on ppbus0 > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: on ppbus0 > > > > # ls -l /dev/lpt0 > > crw--- 1 root wheel 16, 0 Mar 9 01:17 /dev/lpt0 > > > > Repeate

Re: MAKEDEV question

2004-03-08 Thread Malcolm Kay
On Tue, 9 Mar 2004 14:59, Stephen Liu wrote: > - snip - > > > > I skipped following steps > > > > > > 1) > > > # ./MAKEDEV port > > > > > > and > > > 2) > > > # lptcontrol -i -d /dev/lpt0 > > > (to set interrupt-driven mode for lpt0) > > > > > > and > > > 3) > > > # lptcontrol -p -d /dev/lpt0 > > >

Re: MAKEDEV question

2004-03-08 Thread Stephen Liu
- snip - > > I skipped following steps > > > > 1) > > # ./MAKEDEV port > > > > and > > 2) > > # lptcontrol -i -d /dev/lpt0 > > (to set interrupt-driven mode for lpt0) > > > > and > > 3) > > # lptcontrol -p -d /dev/lpt0 > > (to set polled-mode for lptN) > > > > > > Jumped to; > > # lptest > /dev/lp

Re: MAKEDEV question

2004-03-08 Thread Malcolm Kay
On Tue, 9 Mar 2004 02:09, Stephen Liu wrote: > - snip - > > > > # 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 > >

RE: MAKEDEV question

2004-03-07 Thread Remko Lodder
] Onderwerp: Re: MAKEDEV question - snip - > > # 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

RE: MAKEDEV question

2004-03-07 Thread Remko Lodder
Hi, Saw that your question was mentioned twice, that does not make it a high priority question ;-)... Perhaps you should read your manual pages for more information {man devfs}, Also, i thought {unsure} that when you have a lpt port enabled, it get's detected during boot sequence, and then accor

Re: MAKEDEV question

2004-03-07 Thread Stephen Liu
- snip - > > # 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 > > > > I suppose lpt0 is supported. > > If your kernel detects

Re: MAKEDEV question

2004-03-07 Thread Kris Kennaway
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 b

Re: MAKEDEV question

2004-03-07 Thread Stephen Liu
> > 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 autom

Re: MAKEDEV question

2004-03-07 Thread Kris Kennaway
On Mon, Mar 08, 2004 at 07:45:16PM +0800, Stephen Liu wrote: > Hi folks, > > 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 wit