home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8702 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.5 KB  |  40 lines

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