Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 01:10:25 +0200
From:      usleepless@gmail.com
To:        "Sean West" <sean.west@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: pvr-350 not working - how to debug?
Message-ID:  <c39ec84c0704081610h536bf343q1391cfadd60559e1@mail.gmail.com>
In-Reply-To: <c39ec84c0704081502m2edf5cd7rda50b9e37d5be4a5@mail.gmail.com>
References:  <20070407194836.d725b2f3.torfinn.ingolfsen@broadpark.no> <20070408154643.4dd4c20c@devil.troback.com> <c39ec84c0704080701h5a68e2cau14c5de7f049f4f15@mail.gmail.com> <20070408212347.3d00e8ae@devil.troback.com> <c39ec84c0704081250v7575d862t4d74c9bac50c5f71@mail.gmail.com> <50feecaf0704081306r6d94b89bh9fdf5e07fb7244f1@mail.gmail.com> <c39ec84c0704081350r2d3ab73do31b1645f8eb62c95@mail.gmail.com> <50feecaf0704081401xc1fc42aqbf86cd21ac659d79@mail.gmail.com> <50feecaf0704081402s7325e294o833c4d242c49e678@mail.gmail.com> <c39ec84c0704081502m2edf5cd7rda50b9e37d5be4a5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean, List,

On 4/9/07, usleepless@gmail.com <usleepless@gmail.com> wrote:
> Sean,
>
> On 4/8/07, Sean West <sean.west@gmail.com> wrote:
> > On 4/8/07, usleepless@gmail.com <usleepless@gmail.com> wrote:
> > > Sean,
> > >
> > > On 4/8/07, Sean West <sean.west@gmail.com> wrote:
> > > > On 4/8/07, usleepless@gmail.com <usleepless@gmail.com> wrote:
> > > > > Anders,
> > > > >
> > > > > On 4/8/07, Anders Troback <freebsd@troback.com> wrote:
> > > > > > On Sun, 8 Apr 2007 16:01:23 +0200
> > > > > > usleepless@gmail.com wrote:
> > > > > >
> > > > > > > Anders,
> > > > > > >
> > > > > > > On 4/8/07, Anders Troback <freebsd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c39ec84c0704081610h536bf343q1391cfadd60559e1>