home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / hardware / 188 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.3 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!twilight!zola!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi.hardware
  4. Subject: Re: /dev/plp I/O
  5. Keywords: parallel communications
  6. Message-ID: <v5tr6ss@zola.esd.sgi.com>
  7. Date: 21 Jan 93 22:48:44 GMT
  8. References: <1993Jan19.191155.3829@cs.sfu.ca> <v3pthhg@zola.esd.sgi.com> <1993Jan20.181528.9501@cs.sfu.ca>
  9. Sender: news@zola.esd.sgi.com (Net News)
  10. Distribution: na
  11. Organization: Silicon Graphics, Inc.  Mountain View, CA
  12. Lines: 36
  13.  
  14. In <1993Jan20.181528.9501@cs.sfu.ca> welman@cs.sfu.ca (Chris Welman) writes:
  15. | Yes, I did see this in plp.h.  On the read side I'm issuing PLPIOCRESET,
  16. | PLPIOCREAD, and PLPIOCRTO (read timeout), in that order.  No luck - the
  17. | write call just hangs (or times out), presumably waiting for something
  18. | to occur.  I'm also doing a PLPIOCSTATUS to query the port status on
  19. | both ends, and this tells me that the "printer" is considered to be offline, 
  20. | which makes me wonder whether the Indigo is expecting the "peripheral" to
  21. | assert a signal on pin 13 (ONLINE) before anything will work.  Obviously
  22. | there is something I'm overlooking...
  23.  
  24. Thinking about it more, I think I know what the problem is.  In the
  25. bidirectional mode, you probably can't just hook the two ports up
  26. directly, because it uses the conventions used by the Ricoh parallel
  27. port scanner, and they are somewhat different than normal printers.
  28.  
  29. I need to get some hardware specs to get more detail; let me know if
  30. you really want to pursue it by email.
  31.  
  32. | By the way, there is a second undocumented ioctl in plp.h, PLPIOCSETMASK.
  33. | What does this do, and is it of any use to me?  
  34.  
  35. Nothing.  It is there for compatibility with the 4D/20 and 25, because
  36. some programs used it and didn't like getting an error on that ioctl.
  37.  
  38. Here is the comment from the 20/25 driver (the hardware didn't support
  39. this in later versions, and it was never much used):
  40.  
  41.     /* Set printer abort mask: if any status bits match
  42.      * set bits in the mask, then printing stops.  This
  43.      * can be used to cause printing to abort on paper out.  */
  44.     case PLPIOCSETMASK:
  45.  
  46. --
  47. Let no one tell me that silence gives consent,  |   Dave Olson
  48. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  49.     Maria Isabel Barreno                        |   olson@sgi.com
  50.