Mailing List archive

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

[linux-dvb] Re: [PATCH] Resolve tuning problem on WinTV NEXUS-CA



Am Dienstag, 4. Januar 2005 20:57 schrieb Johannes Stezenbach:
> Markus Breitenberger wrote:
> > I played around with the drivers and I found a way to work around this
> > problem:
> >
> > --- frontends/stv0297.c.orig    2005-01-04 16:48:03.634238384 +0100
> > +++ frontends/stv0297.c 2005-01-04 16:30:47.299785168 +0100
> > @@ -647,7 +647,7 @@
> >         /* wait for equaliser partial convergence */
> >         timeout = jiffies + (50 * HZ) / 1000;
> >         while (time_before(jiffies, timeout)) {
> > -               msleep(10);
> > +               msleep(100);
> >
> >                 if (stv0297_readreg(state, 0x82) & 0x04) {
> >                         break;
>
> This looks to me like you put a 100ms sleep inside a
> 50ms timeout. How can that work?
>
> Johannes

The previous timings made Andrew on my card and it's  working fine, but not on 
Markus Nexus.

The card could only tune to one frequency at the start of all DVB application. 
With the longer msleep the problem is solved, only the tuning is a little bit 
slower but all applications running fine now.
On my card the new value is fine, too.
I've checked it with czap, dvbscan and vdr.
Markus with dvbscan and vdr.
The "Patch" is just changing the "10" to "100"  




Home | Main Index | Thread Index