NAME | SYNOPSIS | DESCRIPTION | FILES | ATTRIBUTES
cdcontrol is a program to control the audio features of a CD drive. The device is a name such as cd0 or mcd0.
If the device is not specified, the environment variables MUSIC_CD, CD_DRIVE, DISC and CDPLAY are used (in this order) to find the cd device.
If no command is given, cdcontrol enters an interactive mode, reading commands from the standard input.
The following options are available:
Silent mode - does not print table headers or comments visible to users.
Verbose mode - prints as much information as possible.
Specifies a device, such as /dev/cd0c or mcd0. Both an absolute path and a path relative to /dev filename are possible. Suffix `c' is added to the device name, if required.
The available commands are listed below. Only as many characters as are required to identify a command uniquely need be specified. Word play can be omitted.
Plays from track first_track to track last_track. The first track has number 1. Can be omitted in all cases.
Plays from the absolute address (MSF) defined by start_m in minutes, start_s, in seconds and start_f (frame number) to the absolute address defined by end_m in minutes, end_s, in seconds and end_f (frame number). Minutes are in the range 0-99. Seconds are in the range 0-59. Frame numbers are in the range 0-74.
Plays starting from the logical block start_block using length logical blocks.
Stops playing. Does not stop the disc.
Resumes playing. Used after the pause command.
Stops the disc.
Ejects the disc.
Inserts the disc.
Sets the volume of left channel to left_channel and the volume of right channel to right_channel. Permitted values are in the range 0-255.
Turns the sound off.
Sets the mono mode.
Sets the stereo mode.
Plays the left subtrack on both left and right channels.
Plays the right subtrack on both left and right channels.
Prints the table of contents.
Prints information about the disc:
Displays the serial number of the cd using the method used by the cddb (http://www.cddb.org/) project.
Prints the list of available commands.
Enables the debugging mode of the CD device driver.
Disables the driver debugging mode.
Performs a hardware reset of the device.
Sets minute-second-frame ioctl mode (default).
Sets LBA ioctl mode.
Quits the program.
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE | 
|---|---|
| Interface Stability | Evolving | 
NAME | SYNOPSIS | DESCRIPTION | FILES | ATTRIBUTES