[linux-dvb] DVB-C & QAM256 problem

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

 



On Tue, May 31, 2005 at 05:37:43PM +0300, Mikko Hamalainen wrote:
> You probably should increase timeouts in the stv0297 frontend driver.
> Something like this works fine for QAM128 with my C2300 card:

I tentatively applied this patch to CVS, as suggested by Timo Ketolainen.

Johannes

> --- 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);



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

  Powered by Linux