p The options are as follows: l -tag -width Ds t Fl a Print all device variables and their current values. t Fl w Ar name=value Attempt to set the specified variable .Ar name to .Ar value . t Fl f Ar file Specify an alternative radio tuner device. t Fl n Suppress printing of the variable name. .El
p Values may be specified in either absolute or relative forms. The relative form is indicated by a prefix of .Ql + or .Ql - to denote an increase or decrease, respectively.
p The exact set of controls that can be manipulated depends on the tuner. The general format (in both getting and setting a value) is
p .Va name = value
p The .Va name indicates what part of the tuner the control affects.
p Write only controls: l -tag -width search t search Only for cards that allow hardware search. Can be .Ql up or .Ql down . .El
p Read-write controls: l -tag -width volume t frequency Float value from 87.5 to 108.0. t volume Integer value from 0 to 255. t mute Mutes the card (volume is not affected), .Ql on or .Ql off . t mono Forces card output to mono, .Ql on or .Ql off . Only for cards that allow forced mono. t reference Reference frequency. Can be 25 kHz, 50 kHz and 100 kHz. Not all cards allow to change the reference frequency. t 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. .El
p All the remaining controls (signal, stereo and card capabilities) are read-only and can be viewed using option .Fl a . .Sh ENVIRONMENT The following environment variable affects the execution of .Nm radioctl : l -tag -width RADIODEVICE t Ev RADIODEVICE The radio tuner device to use. .El .Sh FILES l -tag -width /dev/radio t Pa /dev/radio radio tuner device .El .Sh EXAMPLES The command
p .Dl "radioctl -a"
p can produce d -literal volume=255 frequency=106.30MHz mute=off reference=50kHz signal=on stereo=on card capabilities: manageable mono/stereo .Ed .Sh SEE ALSO .Xr radio 4 .Sh HISTORY .Nm command first appeared in .Ox 3.0 and .Nx 1.6 .