Monday, January 16, 2017

Hauppage 350 FM Radio in Linux

I'm not sure why, but lately I've been getting interested in radios.  I was digging through my desk the other day and I stumbled on my old Hauppauge PVR 350 Tuner PCI Card.  

If you're still using Ubuntu 14.04, you'll have to manually load the ivtv drivers to use the card.

However, it turns out that Ubuntu 16.04 recognizes the card and installs the drivers automatically. You only have to install a few programs to control the tuner after that.

ivtv-utils

'ivtv-radio' has to be my favorite tool I've found so far to listen to the radio.  It simply works will little overhead if you know the stations you should be able to receive.

$ sudo apt-get install ivtv-utils 

$ ivtv-radio -f 99.5set to freq 99.50Running: aplay -f dat < /dev/video24Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Simply CTRL-C the program and rerun it with the frequency you want to switch too.

fmtools

This package deserves an honorable mention. It gives you some simple control over the tuner and no direct playback.  It is useful if you want to scan the bands for a station or simply control the tuner and record the station to a file.

Install fmtools:
$ sudo apt-get install fmtools

To scan:
$ fmscan -d /dev/radio0
I found that fmscan missed every station on the band that still came in clear enough in my opinion. The fact is I'm using a simple dipole antenna in the basement of my house might be the problem but I also noticed something in the man page:
If your card's hardware cannot report signal strength, it will not produce useful results.
It might be that the Hauppauge 350 can not report signal strength.


Tune to a station:
$ fm -d /dev/radio0 89.9 65535



References:

No comments: