[linux-dvb] DVB-C & QAM256 problem

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

 



Hello,

You probably should increase timeouts in the stv0297 frontend driver.
Something like this works fine for QAM128 with my C2300 card:

--- stv0297.c   2005-04-20 19:29:21.122342784 +0300
+++ /root/dvb-kernel/linux/drivers/media/dvb/frontends/stv0297.c
2005-04-05 03:30:39.000000000 +0300
@@ -617,7 +617,7 @@

       /* wait for WGAGC lock */
       starttime = jiffies;
-       timeout = jiffies + (200 * HZ) / 1000;
+       timeout = jiffies + (2000 * HZ) / 1000;
       while (time_before(jiffies, timeout)) {
               msleep(10);
               if (stv0297_readreg(state, 0x43) & 0x08)
@@ -629,7 +629,7 @@
       msleep(20);

       /* wait for equaliser partial convergence */
-       timeout = jiffies + (50 * HZ) / 1000;
+       timeout = jiffies + (500 * HZ) / 1000;
       while (time_before(jiffies, timeout)) {
               msleep(10);
--8<--

You shouldn't be scared of tenfold increase in timeout loops as the loop
will exit as soon as the signal has been locked. For my case, the C2300
card normally tunes almost as fast as the older rev 2.1 card I own.

Best regards,
Mikko.

> Hi !
>
> First sorry for my bad english ... normally I speak french :)
>
> I have a problem:
>
> I have a DVB-C Card (Hauppaugge Nexus-CA rev 1.1 - SAA7146 - STV0297,
> same
> as TT Premium DVB-C 2300).
>
> I use vdr 1.3.24 - kernel 2.6.11.
>
> My cable-operator send Digital TV signals with QAM64 & QAM256.
>
> Picture & sound are fine when I tune to QAM64 channels, but picture stay
>
> black and I have no sound when I tune to QAM256...
>
> I have found on an other forum a similar trouble with QAM128.
>
> Could you help me ?
>
> thanks.
>
> J-D
>
>
>
>
> _______________________________________________
> 
> 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