I spend a significant amount of time using Windoze computers at work. It was at work that I grew fond of a USB FM radio device manufactured by ADS Technologies called InstantFM (or RDX-155).
Since the device is about the size of two packs of chewing gum placed side-by-side it is very portable. It is also very inexpensive. These devices can be purchased new on eBay for less than $10 (U.S.). That $10 price also includes shipping and handling charges.
I wanted to incorporate this device into my home linux environment also. Alas, I could only find fragments of information about using this device in linux on multiple internet sites. However, I found numerous references to the existence of a si470x kernel module driver for the si470x chips upon which this device is based.
I collected and pieced the information together to form a script for what I believe is a complete solution to using the InstantFM radio in linux, which I provide below.
Requirements to use this device are:
1) Installation of the "gnomeradio" package.
2) The following kernel object modules compiled for one's active kernel
3) An ADS Technologies InstantFM device.
The presence of the kernel object modules can be confirmed by executing the following commands one by one:
modprobe -l radio-usb-si470x
modprobe -l snd_usb_audio
modprobe -l usbhid
If one or more of the object modules are missing it is doubtful that you will be able to to use the device unless you are willing to obtain the driver source files and compile them yourself for your running kernel.
Assuming that you have met the requirements and wish to use this device, the first step is to add the following lines to your /etc/modules file by opening a terminal and executing "sudo gedit /etc/modules"
#hotplug for ADS Technologies Instant FM Radio (USB)
radio-usb-si470x band=0 space=0 de=0
Save the file and reboot so that the modules will be loaded.
(Note: The radio-usb-si470x assignment values are "zeros".)
Now right click on an empty space on your desktop and select to create an empty file. You can name this file whatever you like but I chose "InstantFM" so that I would always know what the file pertained to. Right click on your newly created file and choose to open it with gedit.
Now copy and paste to add the following lines into the file:
if radio=$(ls /dev | grep --color=never radio*) ; then
echo "RADIO DEVICE FOUND -- Set gnomeradio preferences to show:"
echo "Radio Device: /dev/$radio"
echo 'RADIO DEVICE NOT FOUND -- EXITING'
echo 'Check driver and device installations.'
arecord -q -c 2 -D hw:1,0 -r 96000 -f s16_LE | aplay -q -B - &
while ps -A | grep gnomeradio 2>&1 > /dev/null
do sleep 5
echo 'KILLING ARECORD PROCESS.'
killall -9 arecord
and save the file.
Next cut the file from your desktop and paste it into the /usr/bin folder with your file manager.
Open a terminal and execute "sudo chmod 755 /usr/bin/InstantFM"
The script which you just created is now suitable to be executed from the command line in a terminal window by typing its name and I encourage executing it at least the first time in a terminal window because it provides useful information about configuring gnomeradio. From a terminal you will also gain a better understanding of what the script does and if your setup is working properly.
Setting the preferences in gnomeradio should only be required once. After that you will probably wish to add an entry for the "InstantFM" command to your menu for ease of use.
1) The script assumes that you have only one sound card installed. If you have more that one sound card change the "arecord" command in the script accordingly to acommodate the additional sound card(s).
2) Exercise caution attempting to use the device in a virtual machine. My experience with VirtualBox was not good. I suspect that VirtualBox's USB pass through function is not sophisticated enough for USB audio devices. A process on the host machine went berserk and locked up both the host machine and the virtual machine.
3) Although in an MS Windows environment this device displays the title of the currently playing song using "RDS" technology, I do not believe that RDS support is provided by the linux driver for this card. Even if the driver does provide RDS support, gnomeradio does not support this functionality.
4) Although it can be done, it is nearly as difficult (or more so) to get this device to function with MS Windows Vista or MS Windows 7 as it is in linux. The MS software supplied with the device is purportedly for WinXP or older operating systems.