Re: [ILUG] Listening to radio

From: Ronan Cunniffe (ronan at domain cunniffe.net)
Date: Sat 22 Jun 2002 - 01:10:34 IST


Quoting Niall O Broin <niall at domain linux.ie>:

> I've just replaced my Hauppauge WinTV card (any offers ?) with a model
> which
> includes a radio. I've installed the latest version of kradio (a KDE
> interface to the radio functionality of a BT878 card) from CVS but I get
IIRC, the Video4Linux API provides a listing of what devices are available, and
kradio is looking for a device *with the tuner flag set*.

I had a quick peek at /drivers/media/video/bttv-cards.c. Very visible is a line
mentioning "tea-5757". That chip is a combined AM/FM radio tuner (want the
datasheet? :-) It's *not* a TV-tuner.

So your card has >1 tuner, and kradio may be looking at the wrong one. The
Video4Linux API doesn't explictly distinguish between TV and radio, in fact the
pure-radio card drivers devote an amount of code to saying that all the
horizontal and vertical resolutions are zero.....

Can I suggest using more stupid software? I used rtune (can't remember URL,
author= Fred Gleason, fredg at domain wava.com IIRC). It's all of 422 lines long, most of
which is IOCTLS mixed with printfs, *fairly* easily hackable for debugging
purpose. You'll understand my reservation when you see the code! It was
originally written to run/debug a 5757 based radio card, AFAICT.

Question 1: What happens when you enumerate the tuners on /dev/radio0?
Question 2: The 5757 doesn't have a volume control, but does have a mute. Does
the card impose a subsequent volume control on the radio output? If so, the
volume could be up, but the mute bit set.

Drop me a mail if there's anything I can do.... No really. I'm bored....
Ronan



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:25 GMT