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