From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: ftape-jlc@club-internet.fr
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: Fwd: Re: FM radio problem with HVR1120
Date: Wed, 10 Feb 2010 20:28:49 -0200 [thread overview]
Message-ID: <4B733321.40803@redhat.com> (raw)
In-Reply-To: <201001252029.12009.ftape-jlc@club-internet.fr>
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
next prev parent reply other threads:[~2010-02-10 22:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-25 19:29 Fwd: Re: FM radio problem with HVR1120 ftape-jlc
2010-02-10 22:28 ` Mauro Carvalho Chehab [this message]
2010-02-11 1:07 ` hermann pitton
2010-02-11 21:45 ` ftape-jlc
2010-02-15 22:03 ` ftape-jlc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B733321.40803@redhat.com \
--to=mchehab@redhat.com \
--cc=ftape-jlc@club-internet.fr \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox