Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 07:46:40 +0100
From:      "Remko Lodder" <remko@elvandar.org>
To:        "Stephen Liu" <satimis@icare.com.hk>
Cc:        questions@freebsd.org
Subject:   RE: MAKEDEV question
Message-ID:  <20040308064643.DB63A2B4DAD@mail.evilcoder.org>
In-Reply-To: <20040308061806.534E919@mail.elvandar.org>

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

Excuse my for my previous post, read down/top instead top/down,
Stephen,

Perhaps try searching google for similiar options, then try figuring out
stuff yourself, and THEN ask us how it works, it gives great education for
yourself also ;)

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-----Oorspronkelijk bericht-----
Van: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]Namens Stephen Liu
Verzonden: maandag 8 maart 2004 16:40
Aan: Kris Kennaway
CC: questions@freebsd.org
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: <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

Hi Kris,

Turned on printer to make following tests

# dmesg
.....
ppbus0: <HEWLETT-PACKARD DESKJET 690C> MLC,PCL,PML
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
......

ls -l /dev/lpt0
crw-------  1 root  wheel   16,   0 Mar  8 22:48 /dev/lpt0

It is there.


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/lpt0
only strange symbols printed and printing continued without stop until I
removed the paper tray.  Communication between printer and port seemed
working

Kindly advise how to fix the test printing error.

TIA

B.R.
Stephen


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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