home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!hpa
- From: hpa@casbah.acns.nwu.edu (H. Peter Anvin N9ITP)
- Subject: Re: how do I get a lpt1 device
- Message-ID: <1992Aug20.171159.28253@news.acns.nwu.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Reply-To: hpa@nwu.edu (H. Peter Anvin)
- Organization: You must be kidding!
- References: <hess.714295947@swt1>
- Distribution: comp
- Date: Thu, 20 Aug 1992 17:11:59 GMT
- Lines: 26
-
- In article <hess.714295947@swt1> of comp.os.linux,
- hess@swt1.informatik.uni-hamburg.de (Hauke Hess) writes:
- > Hi,
- >
- > I looked through the documentation to find the primary and secondary device
- > numbers of the parallel ports but I didn't find one. How could I get a
- > device for this interface?
-
- mknod /dev/lp0 c 6 0 [0x3BC?]
- mknod /dev/lp1 c 6 1 [0x378?]
- mknod /dev/lp2 c 6 2 [0x278?]
-
- Note that DOS' LPT1 might not conform to /dev/lp0 since DOS/BIOS use
- dynamic number assignment, and many I/O cards put their ports on the
- address that Linux treats as /dev/lp1. Look at the messages when Linux
- boots... it should list the lp ports that it can find, and the ports do
- always come in the same *order*. I have listed the I/O addresses as far as
- I can remember above.
-
- /hpa
-
- --
- INTERNET: hpa@nwu.edu TALK: hpa@casbah.acns.nwu.edu
- BITNET: HPA@NUACC IBMNET: 16334@IBMX400
- HAM RADIO: N9ITP NeXTMAIL: hpa@lenny.acns.nwu.edu
- This is a test of the emergency USENET system.
-