Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

radioctl(1) [netbsd man page]

RADIOCTL(1)						    BSD General Commands Manual 					       RADIOCTL(1)

NAME
radioctl -- control radio tuners SYNOPSIS
radioctl [-f file] [-n] -a radioctl [-f file] [-n] name radioctl [-f file] [-n] -w name=value DESCRIPTION
The radioctl command displays or sets various variables that affect the radio tuner behavior. If a variable is present on the command line, radioctl prints the current value of this variable for the specified device. By default, radioctl operates on the /dev/radio device. The options are as follows: -a Print all device variables and their current values. -w name=value Attempt to set the specified variable name to value. -f file Specify an alternative radio tuner device. -n Suppress printing of the variable name. Values may be specified in either absolute or relative forms. The relative form is indicated by a prefix of '+' or '-' to denote an increase or decrease, respectively. The exact set of controls that can be manipulated depends on the tuner. The general format (in both getting and setting a value) is name = value The name indicates what part of the tuner the control affects. Write only controls: search Only for cards that allow hardware search. Can be 'up' or 'down'. Read-write controls: frequency Float value from 87.5 to 108.0. volume Integer value from 0 to 255. mute Mutes the card (volume is not affected), 'on' or 'off'. mono Forces card output to mono, 'on' or 'off'. Only for cards that allow forced mono. reference Reference frequency. Can be 25 kHz, 50 kHz and 100 kHz. Not all cards allow to change the reference frequency. sensitivity Station locking sensitivity. Can be 5 mkV, 10 mkV, 30 mkV and 150 mkV. Not all cards allow to change the station locking sensitivity. All the remaining controls (signal, stereo and card capabilities) are read-only and can be viewed using option -a. ENVIRONMENT
The following environment variable affects the execution of radioctl: RADIODEVICE The radio tuner device to use. FILES
/dev/radio radio tuner device EXAMPLES
The command radioctl -a can produce volume=255 frequency=106.30MHz mute=off reference=50kHz signal=on stereo=on card capabilities: manageable mono/stereo SEE ALSO
radio(4) HISTORY
radioctl command first appeared in OpenBSD 3.0 and NetBSD 1.6. BSD
September 16, 2001 BSD

Check Out this Related Man Page

FM(1)							      General Commands Manual							     FM(1)

NAME
fm - control frequency, volume, mute/unmute of FM radio card SYNOPSIS
fm [ -h ] [ -o ] [ -q ] [ -d device ] [ -t tuner ] [ -T none | forever | time ] on | off | + | - | freq [ volume ] DESCRIPTION
fm is a program to control the frequency, volume, and mute/unmute state of an FM radio card, using the video4linux interface introduced in 2.1.x series Linux kernels. OPTIONS -h Print a usage message to standard output, and exit. -o Ignore frequency range limits of card. Use if you suspect that the card supports a wider frequency range than its driver believes. -q Quiet mode. Keeps information on station and volume from being printed on standard output. -d device Sets device as the device to tune. The default is /dev/radio0. -t tuner Sets tuner as the tuner on the selected device to adjust. The default is tuner 0. Most radio devices have only a single tuner. -T none | forever | time After tuning, sleep for the time specified or forever. Time is specified in seconds by default. A suffix of m indicates minutes, h indicates hours, or d indicates days. The -T option is useful with radio card drivers that only maintain the tuner settings while the tuner's file descriptor remains open. Try using this option if running fm ordinarily produces only a single "pop" from your speakers. freq Frequency to tune the radio to, in MHz. For instance, 88.9 specifies a frequency of 88.9 MHz. AM tuner values are also specified in MHz; for instance, 530 kHz would be specified as .530. on Turn the radio on (unmute). off Turn the radio off (mute). volume Specify the desired volume, in percent. Not all radio devices support volume control. + Increase the current volume. - Decrease the current volume. CONFIGURATION
fm reads $HOME/.fmrc, if it exists, to obtain default settings. Each line may take one of the following forms: VOL percent Specifies default volume (default: 12.5%). INCR percent Volume increment used for + and - options (default: 10%). TIME Default sleep time (default: none). All other lines are ignored. SEE ALSO
Additional documentation: /usr/share/doc/fmtools/README The fmtools homepage: http://benpfaff.org/fmtools AUTHORS
Russell Kroll <rkroll@exploits.org>, now maintained by Ben Pfaff <blp@cs.stanford.edu>. Sleep time feature contributed by Dave Ulrick <d- ulrick@insightbb.com>. This manpage written by Ben Pfaff. fm 1.0.2 FM(1)
Man Page