Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fm(1) [redhat 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)

Check Out this Related Man Page

radio(1)						      General Commands Manual							  radio(1)

NAME
radio - console radio application SYNOPSIS
radio [ options ] DESCRIPTION
radio is a interactive, ncurses-bases console radio application. OPTIONS
-h print a short help text. -d enable debug output. -q quit after processing the cmd line options, don't enter interactive ncurses mode. Only useful together with other options for obvi- ous reasons ... -m mute radio. -f freq tune the specified radio frequency (and unmute the radio). -c dev specify radio device (default is /dev/radio0). -s Do a scan for radio stations. -S Same as above + write a radio.fmmap with the signal for every frequency. You can get a graph for it with gnuplot (plot "radio.fmmap" w lin). -i Scan, write a initial ~/.radio file to stdout and quit. So you can create a config file where you only have to fill in the correct station names later this way: "radio -i > ~/.radio". See below for the config file syntax. CONFIGURATION
radio picks up station names and present stations from a config file. It can parse kradio (KDE radio app) config files, therefore it first tries the usual KDE config file location: ~/.kde/share/config/kradiorc. Failing that, radio tries ~/.radio (which makes things a bit easier for people who don't use kradio). The format looks like this: # KDE Config File [Buttons] 1=95800000 2=91400000 [Stations] 100600000=Hundert,6 95800000=Radio eins 102600000=Fritz 94300000=r.s.2 91400000=Berliner Rundfunk The [Buttons] section can have up to eight entries. That are the present stations, they get mapped to F1-F8. The [Stations] section maps frequencies to station names. The frequencies in both sections are specified in Hz. KEYS
X exit ESC,Q,E mute and exit. up/down inc/dec frequency pgup/pgdown next/previous station. This one uses the stations from the config file by default. When started with the -s option these keys will cycle througth the stations found during the scan. F1-F8, 1-8 preset buttons. Ctrl+L redraw screen. AUTHOR
Gerd Knorr <kraxel@bytesex.org> COPYRIGHT
Copyright (C) 1997-2001 Gerd Knorr This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (c) 1998-2001 Gerd Knorr radio(1)
Man Page