fmtools.git
10 years agoMakefile.am: Properly distribute all .at files.master
Ben Pfaff [Sat, 21 Sep 2013 23:35:50 +0000 (21 16:35 -0700)]
Makefile.am: Properly distribute all .at files.

10 years agoINSTALL: Add installation instructions.
Ben Pfaff [Sun, 15 Sep 2013 17:38:30 +0000 (15 10:38 -0700)]
INSTALL: Add installation instructions.

Suggested by Andrii Bordunov <andrew.bordunov@gmail.com>.

10 years agoDebian packaging update.
Ben Pfaff [Sun, 15 Sep 2013 17:36:58 +0000 (15 10:36 -0700)]
Debian packaging update.

10 years agoRelease fmtools 2.0.6.
Ben Pfaff [Sat, 14 Sep 2013 21:37:13 +0000 (14 14:37 -0700)]
Release fmtools 2.0.6.

10 years agoVIDIOC_QUERYCTRL: don't treat EINVAL as a fatal error
Andrii Bordunov [Thu, 5 Sep 2013 17:12:51 +0000 (5 20:12 +0300)]
VIDIOC_QUERYCTRL: don't treat EINVAL as a fatal error

If a control (V4L2_CID_AUDIO_VOLUME in our case) is not supported by
VIDIOC_QUERYCTRL, EINVAL is returned.  If the query operation
(VIDIOC_QUERYCTRL) is not supported at all, ENOTTY is returned.  Currently
we use VIDIOC_QUERYCTRL just for the V4L2_CID_AUDIO_VOLUME and can survive
both of these errors. Let's do it.

Related to commit e5a2c03089651659f1b4159a6d7f231b1969db0b (Work with
tuners that do not support V4L2_CID_AUDIO_VOLUME.)

Tested-by: Paulo Cavalcanti <promac@gmail.com>
11 years agoAdd precision to printed frequency values and update tests to match
Sebastian Mäki [Wed, 6 Mar 2013 06:41:44 +0000 (6 08:41 +0200)]
Add precision to printed frequency values and update tests to match

When using 0.01 increments fmscan should now print the correct
frequencies instead of rounding the values.

11 years agoWork with tuners that do not support V4L2_CID_AUDIO_VOLUME.
Ben Pfaff [Sat, 1 Sep 2012 23:31:15 +0000 (1 16:31 -0700)]
Work with tuners that do not support V4L2_CID_AUDIO_VOLUME.

Rajil Saraswat <rajil.s@gmail.com> reported that D-link/Gemtek tuners using
the dsbr100 driver do not support V4L2_CID_AUDIO_VOLUME and therefore fm
failed as follows:

    #fm -d /dev/radio0  -T forever on 106.20
    ioctl VIDIOCGAUDIO: Inappropriate ioctl for device

This commit should fix the problem.

Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
11 years agoDebian packaging update.
Ben Pfaff [Sat, 1 Sep 2012 23:27:24 +0000 (1 16:27 -0700)]
Debian packaging update.

13 years agoDebian packaging update (use "linux-any" for architecture).
Ben Pfaff [Tue, 23 Nov 2010 17:40:02 +0000 (23 09:40 -0800)]
Debian packaging update (use "linux-any" for architecture).

14 years agoDebian packaging update.
Ben Pfaff [Sat, 1 May 2010 18:55:51 +0000 (1 11:55 -0700)]
Debian packaging update.

14 years agoUpdate Debian packaging.
Ben Pfaff [Sat, 27 Mar 2010 17:59:14 +0000 (27 10:59 -0700)]
Update Debian packaging.

14 years agoRelease fmtools 2.0.1.
Ben Pfaff [Sat, 9 Jan 2010 21:52:47 +0000 (9 13:52 -0800)]
Release fmtools 2.0.1.

14 years agoUpdate Debian packaging.
Ben Pfaff [Sat, 9 Jan 2010 21:45:43 +0000 (9 13:45 -0800)]
Update Debian packaging.

14 years agoImprove Automake packaging.
Ben Pfaff [Sat, 9 Jan 2010 21:45:22 +0000 (9 13:45 -0800)]
Improve Automake packaging.

14 years agoFix typo in manpage syntax.
Ben Pfaff [Sat, 9 Jan 2010 21:45:55 +0000 (9 13:45 -0800)]
Fix typo in manpage syntax.

14 years agoRename CHANGES to NEWS to better match Automake conventions.
Ben Pfaff [Sat, 9 Jan 2010 21:48:48 +0000 (9 13:48 -0800)]
Rename CHANGES to NEWS to better match Automake conventions.

14 years agoMake fm report when the radio is muted and tell the user how to unmute it.
Ben Pfaff [Sat, 9 Jan 2010 21:27:05 +0000 (9 13:27 -0800)]
Make fm report when the radio is muted and tell the user how to unmute it.

14 years agoBetter support radios that do not have volume control.
Ben Pfaff [Sat, 9 Jan 2010 21:27:43 +0000 (9 13:27 -0800)]
Better support radios that do not have volume control.

Thanks to Paulo Cavalcanti <promac@gmail.com> for reminding me that such
radios exist.

14 years agofmscan: Correctly calculate percentages for display during scan.
Ben Pfaff [Sun, 20 Dec 2009 04:43:43 +0000 (19 20:43 -0800)]
fmscan: Correctly calculate percentages for display during scan.

The final percentages were already correct, but the ones displayed during
the scan were off.

14 years agofmlib: Fix uninitialized data in tuner_open().
Ben Pfaff [Sun, 20 Dec 2009 04:42:18 +0000 (19 20:42 -0800)]
fmlib: Fix uninitialized data in tuner_open().

This is necessary to make fm and fmscan work other than in "test" mode
(for the testsuite).

14 years agoRewrite to use video4linux2 API.
Ben Pfaff [Sun, 13 Dec 2009 22:15:43 +0000 (13 14:15 -0800)]
Rewrite to use video4linux2 API.

- Add "-q" (quiet) and "-T" (tuner) options to fmscan.

- Improve fmscan frequency calculations.  It should now be better at
  accurately finding radio stations.

- Add Autotest test suite and, in the process, convert the packaging
  to use Autoconf and Automake.

- Some code and some documentation used a range of 0-65535 for volume,
  other code and other documentation used a range of 0-100.  This has
  been consistently changed to 0-100.

14 years agofmtools version 1.0.2.
Ben Pfaff [Sat, 12 Dec 2009 18:50:38 +0000 (12 10:50 -0800)]
fmtools version 1.0.2.

14 years agofmtools version 1.0.1.
Ben Pfaff [Sat, 12 Dec 2009 18:49:51 +0000 (12 10:49 -0800)]
fmtools version 1.0.1.

14 years agofmtools version 1.0.
Ben Pfaff [Sat, 12 Dec 2009 18:48:57 +0000 (12 10:48 -0800)]
fmtools version 1.0.

14 years agofmtools version 0.99.1
Ben Pfaff [Sat, 12 Dec 2009 18:48:12 +0000 (12 10:48 -0800)]
fmtools version 0.99.1

14 years agofmtools 0.99.0.
Ben Pfaff [Sat, 12 Dec 2009 18:46:57 +0000 (12 10:46 -0800)]
fmtools 0.99.0.

 - Final cleanups for 0.99.0.  This source has been sitting around for
   awhile, so it's probably time to push towards 1.0 and call it done.
   How much can you do to a pair of radio programs, anyway?

 - fmscan: ioctl/code cleanups, ala fm
 - fmscan: -d <dev> support
 - fm: -d <dev> support for multiple devices (/dev/adio1 and so on)
 - fm: ioctl results checked, other coding cleanups

14 years agofmtools 0.2.5.
Ben Pfaff [Sat, 12 Dec 2009 18:45:51 +0000 (12 10:45 -0800)]
fmtools 0.2.5.

Adds -t option for selecting the tuner on multi-tuner boards (radio-cadet,
etc).

14 years agofmtools version 0.2.4.
Ben Pfaff [Sat, 12 Dec 2009 18:44:33 +0000 (12 10:44 -0800)]
fmtools version 0.2.4.