rusty@belch.Berkeley.EDU (Rusty Wright) (01/03/91)
This is a very minimal program to control the CD-ROM drive on a Sun workstation for playing audio discs and using the headphone jack. It's not likely to compile on any other OS or anything prior to SunOS 4.0 due to the ioctl's for the CD-ROM drive. It uses the Athena widgets. It's in the contrib directory on expo.lcs.mit.edu.
bob@MorningStar.Com (Bob Sutterfield) (01/04/91)
In article <RUSTY.91Jan2171910@belch.Berkeley.EDU> rusty@belch.Berkeley.EDU (Rusty Wright) writes:
It's not likely to compile on any other OS or anything prior to
SunOS 4.0 due to the ioctl's for the CD-ROM drive.
Are you using SunOS 4.1? Under 4.0.3c, the
ioctl(cdrom_fd, CDROMREADTOCHDR, (char *) tochdr) in
cdrom_read_tochdr() returns
ioctl(cdromreadtochdr): Inappropriate ioctl for device
even though it's just like the example in /usr/demo/cdrom/cdrom.c.
Sigh... my 4.1.1 CD might arrive someday soon...
mouse@larry.mcrcim.mcgill.EDU (01/05/91)
> This is a very minimal program to control the CD-ROM drive on a Sun > workstation for playing audio discs and using the headphone jack. > [...] It uses the Athena widgets. It's in the contrib directory on > expo.lcs.mit.edu. A non-widget-based program with much more elaborate functionality is on the anonymous ftp area of 132.206.1.1 (X/cdplayer.shar). Of course, the same caveats about Suns apply: you need a recent version of the OS (known to build on SPARCs running 4.1). Documentation is basically nonexistent, but there isn't much to document except command-line options, which are all collected together in one routine in the source. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu