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

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

 



Thomas Kaiser wrote:
Suur Karu wrote:
Thomas Kaiser wrote:
Suur Karu wrote:
> My Technotrend Connect C-1200 USB DVB-C adapter have problem
> to tunning to 170MHz (no signal at all), but instead of it I found missing channels on frequency 178MHz (not listed in NIT table), but with big disturbance in picture and not stable LOCK (not usable).
>
> dmesg:
> ttusb_init_controller: unknown STC version V 2.5, please report!
> ttusb_init_controller: dsp-version: 0.0
> DVB: registering new adapter (Technotrend/Hauppauge Nova-USB).
> DVB: registering frontend 1 (ST STV0297 DVB-C)...
> usbcore: registered new driver ttusb

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;} <<==
    else if (tuner_frequency < 290000000) {cp = 3; band = 2;}
    else if (tuner_frequency < 420000000) {cp = 5; band = 2;}
    else if (tuner_frequency < 480000000) {cp = 6; band = 2;}
    else if (tuner_frequency < 620000000) {cp = 3; band = 4;}
    else if (tuner_frequency < 830000000) {cp = 5; band = 4;}
    else if (tuner_frequency < 895000000) {cp = 7; band = 4;}
    else {return -EINVAL;}

Try to change to 2:
    else if (tuner_frequency < 200000000) {cp = 6; band = 2;}



Yes! This fixed tuning problem. Thank You!

Regards,
SK



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



Andrew, can you please add this small change to the official sources?

Thank you, Thomas




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.

-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