Re: Re: [patch] TT C-1200 USB wrong frequency

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

 



Trent Piepho wrote:
On Tue, 1 May 2007, Petri Helin wrote:
Thomas Kaiser wrote:
Suur Karu wrote:
Thomas Kaiser wrote:
If your device is using the philips tda1316 tuner, i think there is a
problem in setting the correct Band. 162 MHz and above should be band
2 (Mid-Band). But in dvbc_philips_tdm1316l_tuner_set_params band 1 is
set for frequencies below 200 MHz:
    // determine charge pump
    tuner_frequency = params->frequency;
    if      (tuner_frequency <  87000000) {return -EINVAL;}
    else if (tuner_frequency < 130000000) {cp = 3; band = 1;}
    else if (tuner_frequency < 160000000) {cp = 5; band = 1;}
    else if (tuner_frequency < 200000000) {cp = 6; band = 1;} <<==

Just to let you all know, in case you didn't see an earlier post about
tuning problems with TechnoTrend's C1500 card, the above change broke
tuning on those cards with frequencies under 160MHz.

That doesn't seem possible, that it would break tuning for under 160Mhz.

This change only affects the band for frequencies between 160 Mhz and 200
Mhz, nothing outside this of this range should be affected in any way.

What frequency does it break exactly?


The problem seams to be that the fix was applied in the wrong file - budget-ci.c instead of dvb-ttusb-budget.c as supposed to. dvbc_philips_tdm1316l_tuner_set_params in budget-ci.c uses an offset of 36125000 for frequency before assigning the charge pump and band (what's the need for this offset??) and therefore the failing frequencies (for example 138MHz and 146MHz) are actually interpreted as something between 160MHz and 200MHz when the band is set.

-Petri

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux