[linux-dvb] [PATCH 1/1] gl861/qt1010: fix tuning issue

Jan Nijs jan.nijs at scarlet.be
Wed Oct 11 18:38:17 CEST 2006


On Wed, 2006-10-11 at 18:17 +0300, Aapo Tahkola wrote:
> On Tue, 10 Oct 2006 00:14:59 +0200
> Jan Nijs <jan.nijs at scarlet.be> wrote:
> 
> > From: Jan Nijs <jan.nijs at scarlet.be>
> > 
> > This patch fixes the tuning issue I was having.
> > Tuning to 482MHz was impossible. Now this driver works
> > as expected for me.
> 
> > +	else if (div == 217)
> > +		rd[15].value = 0xd4;
> 
> Did you guess this value?

No guess, taken from an usb snoop when presto was tuning to 482MHz.

> I don't see why would it be different as 482MHz is supported.
> What scan configuration did you use with presto? Did you check that the
> frequency presto finds is 482MHz?

Presto says that it is 482MHz. The documentation of the transmitter
station also says that it transmits this signal at 482MHz.

For testing purposes, I changed:

    else if (div < 217)
        rd[15].value = 0xd3;

into

    else if (div < 218)
        rd[15].value = 0xd3;

Instead of checking for equality to 217. This also fixes my tuning problem. Could it be an off-by-one error?
Is the 0xd3 value taken from the datasheet of this tuner?

Regards,
Jan




More information about the linux-dvb mailing list