pvr-350 not working - how to debug?

usleepless at gmail.com usleepless at gmail.com
Sun Apr 8 23:10:26 UTC 2007


Sean, List,

On 4/9/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> Sean,
>
> On 4/8/07, Sean West <sean.west at gmail.com> wrote:
> > On 4/8/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> > > Sean,
> > >
> > > On 4/8/07, Sean West <sean.west at gmail.com> wrote:
> > > > On 4/8/07, usleepless at gmail.com <usleepless at gmail.com> wrote:
> > > > > Anders,
> > > > >
> > > > > On 4/8/07, Anders Troback <freebsd at troback.com> wrote:
> > > > > > On Sun, 8 Apr 2007 16:01:23 +0200
> > > > > > usleepless at gmail.com wrote:
> > > > > >
> > > > > > > Anders,
> > > > > > >
> > > > > > > On 4/8/07, Anders Troback <freebsd at troback.com> wrote:
> > > > > > > >
> > > > > > > > # pvr250-setchannel 280.25
> > > > > > > >
> > > > > > > > ==> /var/log/messages <==
> > > > > > > > Apr  8 15:40:45 tv kernel: before tuner_command!
> > > > > > > > Apr  8 15:40:45 tv kernel: tuner: tv freq set to 540.00
> > > > > > >
> > > > > > >      ^^^^^
> > > > > > >
> > > > > > > my bad! i hardcoded a frequency!
> > > > > > >
> > > > > > > > Apr  8 15:40:45 tv kernel: tuner: Huh? tv_set is NULL?
> > > > > > > > Apr  8 15:40:45 tv kernel: cxm0: tuner failed to lock
> > > > > > >
> > > > > > > we will have to see if this disappears as well. try:
> > > > > > >   http://usleepless.110mb.com/pvrxxx_port-08042007.tgz
> > > > > > >
> > > > > > > regards,
> > > > > > >
> > > > > > > usleep
> > > > > >
> > > > > > OK, if I:
> > > > > > tv# pvr250-setchannel 175.25
> > > > > >
> > > > > > /var/log/messages says:
> > > > > > Apr  8 21:20:05 tv kernel: before tuner_command!
> > > > > > Apr  8 21:20:05 tv kernel: tuner: tv freq set to 175.00
> > > > > > Apr  8 21:20:05 tv kernel: tuner: Huh? tv_set is NULL?
> > > > > > Apr  8 21:20:05 tv kernel: cxm0: tuner failed to lock
> > > > > >
> > > > > >
> > > > > > Please let me know if I can assist you in any way!!!
> > > > >
> > > > > Anders, thank you for your time. As it turns out, i implemented the
> > > > > initialization of the linux-tuner only for pvr500 cards...
> > > > >
> > > >
> > > > I just installed 08042007. I can tune with MHz or channel, but doing a
> > > > -m 2 causes a page fault.
> > >
> > > are you in PAL or NTSC land? you say you can tune, but not change the
> > > channelset.
> >
> > NTSC
> >
> > >
> > > what happens if you tune by frequency and cat /dev/cxm0 > test.mpg?
> >
> > I get static, probably because its not a valid frequency. Do you know
> > a valid one?
>
> at this particular moment, i consider tuning + static without a crash
> partial succes. there is also the problem that Anders observed: the
> code seems to "round" frequencies to whole Mhzs. i will look into
> that.
>
> you want to tune by the channel right? i will see if i can upload
> support for that tomorrow.

i investigated about the frequency / channel tuning. it turns out that
the linux/v4l2-tuner only supports frequency tuning.

you can look up frequencies in "libs/libmythtv/frequencies.c" in a
mythtv-source-tree.

i am not sure what to do: i think keeping "channels" out of the driver
is sane: it's is a userland issue. feel free to enhance
pvr250-setchannel.

"what's the frequency kenneth?"

regards,

usleep


More information about the freebsd-multimedia mailing list