GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CDCONTROL(1) FreeBSD General Commands Manual CDCONTROL(1)

cdcontrol
compact disc control utility

cdcontrol [-sv] [-f device] [command ...]

The cdcontrol utility is a program to control audio features of a CD drive. The device is a name such as cd0.

If no command is given, then cdcontrol enters an interactive mode, reading commands from the standard input.

The following options are available:

Silent mode. Do not print table headers and human readable comments.
Verbose mode. Print as much information as possible.
device
Specify a device, such as /dev/cd0. Both absolute path and relative to /dev filename are possible. The -f option overrides CDROM. If neither CDROM nor the -f option is specified, cdcontrol tries opening first /dev/cdrom, then /dev/cd0.

The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. The word play can be omitted or the characters + and - can be used in the place of next and prev.

first_track [last_track]
Play from track first_track to track last_track. The first track has number 1. Can be omitted in all cases.
start_m:start_s.start_f [end_m:end_s.end_f]
Play 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.
[#start_block [length]]
Play starting from the logical block start_block using length logical blocks.
[tracks]
Skip forward a number of tracks (default 1).
[tracks]
Skip backward a number of tracks (default 1).
Stop playing. Do not stop the disc.
Resume playing. Used after the pause command.
Stop the disc.
Eject the disc.
Inject the disc.
Same as status volume command.
level
Set the volume of both channels to level. Allowed values are in the range 0-255.
left_channel right_channel
Set the volume of left channel to left_channel and the volume of right channel to right_channel. Allowed values are in the range 0-255.
mute
Turn the sound off.
mono
Set the mono mode.
stereo
Set the stereo mode.
left
Play the left subtrack on both left and right channels.
right
Play the right subtrack on both left and right channels.
Print the table of contents.
[audio | media | volume]
Print the information about the disc:

the current playing status and position
the current media catalog status
the current values of the volume for left and right channels.
Display the serial number of the CD using the method used by the CDDB project (http://www.cddb.org/).
Print the list of available commands.
on
Enable the debugging mode of the CD device driver.
off
Disable the driver debugging mode.
Perform the hardware reset of the device.
msf
Set minute-second-frame ioctl mode (default).
lba
Set LBA ioctl mode.
s
Set the highest speed that the drive should use for reading data. The units are multiples of a single speed CDROM (150 KB/s). Specify “max” to use the drive's fastest speed.
Quit the program.

The following environment variables affect the execution of cdcontrol:
The CD device to use, if one is not specified with the -f option.
, CD_DRIVE, DISC, MUSIC_CD
These variables have been deprecated in favour of CDROM.

/dev/cd0
 

The cdcontrol command appeared in FreeBSD 2.1.

Jean-Marc Zucconi
Andrey A. Chernov
Serge V. Vakulenko
August 25, 2016 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.