RADIOCTL(1) | General Commands Manual | RADIOCTL(1) |
radioctl
— control
radio tuners
radioctl |
[-anv ] [-f
file] |
radioctl |
[-nv ] [-f
file] name |
radioctl |
[-n ] [-f
file]
name=value |
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
radioctl
.-f
file-n
-v
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:
The name indicates what part of the tuner the control affects.
Write only controls:
up
’ or
‘down
’.Read-write controls:
on
’ or
‘off
’.on
’ or
‘off
’. Only for cards that allow
forced mono.All the remaining controls (mode, signal, stereo and card
capabilities) are read-only and can be viewed using option
-a
.
The following environment variable affects the execution of
radioctl
:
RADIODEVICE
Print all device variables, along with their current values:
$ radioctl -a volume=255 channel=0 chnlset=weurope frequency=106.30MHz mute=off reference=50kHz signal=on stereo=on mode: radio card capabilities: manageable mono/stereo
radioctl
command first appeared in
OpenBSD 3.0.
September 12, 2015 | OpenBSD-6.8 |