Re: Fwd: Re: FM radio problem with HVR1120

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

ftape-jlc wrote:
> Hello,
> 
> I didn't received any message about radio on HVR1120.
> I just want to know if the use /dev/radio0 is deprecated in v4l2 today.
> In the mails, I only read messages about video or TV.

No, it is not deprecated.

> Did one user of the mailing list have tested actual v4l2 on /dev/radio0 ?

Yes. It works with several devices. Maybe there's a bug at the radio entry
for your board.

>> The problem is to listen radio.
>> With Linux, the command used is
>> /usr/bin/radio -c /dev/radio0
>> in association with
>> sox -t ossdsp -r 32000 -c 2 /dev/dsp1 -t ossdsp /dev/dsp
>> to listen the sound.
>>
>> The result is an unstable frecuency. The station is not tuned. Stereo is
>> permanently switching to mono.
>> The 91.5MHz station is mixed permanently with other stations.

This probably means that the GPIO setup for your board is wrong for radio.
Only someone with a HVR1120 could fix it, since the GPIO's are board-specific.

The better is if you could try to do it. It is not hard. Please take a look at:
 
http://linuxtv.org/wiki/index.php/GPIO_pins

You'll need to run the regspy.exe utility (part of Dscaler package), and check
how the original driver sets the GPIO registers. Then edit them on your board
entry, at saa78134-cards.c, recompile the driver and test.

The better is to use the out-of-tree mercuiral tree:
	http://linuxtv.org/hg/v4l-dvb

since it allows you to recompile and test without needing to replace your kernel.


Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux