home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / hardware / 5389 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.sun.hardware
  2. Path: sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!apache.cis.ohio-state.edu!fontana
  3. From: fontana@apache.cis.ohio-state.edu (Mark Fontana)
  4. Subject: Writing to audio port w/o using /dev/audio
  5. Message-ID: <1992Nov6.184839.12741@cis.ohio-state.edu>
  6. Sender: news@cis.ohio-state.edu (NETnews        )
  7. Organization: The Ohio State University Dept. of Computer and Info. Science
  8. Distribution: usa
  9. Date: Fri, 6 Nov 1992 18:48:39 GMT
  10. Lines: 19
  11.  
  12.  
  13.  
  14. Here at Ohio State we have labs full of Sun ELC's, each configured
  15. such that /dev/audio is writable only by root, to conserve disk space
  16. and prevent unnecessary bloops and bleeps in the labs.
  17.  
  18. Last spring someone demonstrated a program to me that produced various
  19. synthesized tones based upon a user-specified function.  Now that I think
  20. of it, this program must have somehow written to the audio port
  21. directly, as the /dev/audio restrictions were also in effect at that time.
  22.  
  23. Has anyone heard of such a program?  I'd like to know how this was done.
  24. (No devious intentions; I've been writing software for our Sun tape
  25. drives and such using the mtio functions and ioctl(), and thought that
  26. ioctl() might have something to do with it... "How'd they do that?" :-)
  27.  
  28.  
  29. Mark Fontana
  30.  
  31.