Mailing List archive

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

[linux-dvb] Re: Patch for frontends/ves1820.c



Dennis Noordsij wrote:
> 
> > Seems to be tuning quite well now :) Some experimental stuff lying around I
> > guess. With clean HEAD drivers, and the 0x28<<1 things fixed, it works
> > quite nicely! (2 cards)
> 
> When using VDR (1.1.13), I can see in syslog many times debug messages from
> the driver such as "tuning to freq XXX",
> and it will just not lock.
> 
> Then I quit vdr, and run dvbtune with the exact same settings, and then
> "tuning to freq XXX" locks almost immediately.
> 
> So when vdr wants to tune it says it is trying 161925000 Hz but keeps
> zigzagging.
> 
> And when using dvbtune it says it is trying 161925000 Hz and locks.
> 
> Funny :)

I also had severe problems with lost locks in the latest driver (actually
I had these problems with the NEWSTRUCT driver all the time).
With the following patch to DVB/driver/dvb_frontend.c these problems are
gone here:

--- ../../DVB.head/DVB/driver/dvb_frontend.c    Fri Oct 18 13:50:11 2002
+++ dvb_frontend.c      Fri Oct 18 16:19:25 2002
@@ -515,7 +515,8 @@
                        fe->timeout_count = 0;
                        fe->lost_sync_count = 0;
                } else {
                        fe->lost_sync_count++;
+                       if (fe->lost_sync_count < 10) continue;//XXX
                        dvb_frontend_recover (fe);
                        delay = HZ/5;
                        if (jiffies - fe->lost_sync_jiffies > TIMEOUT) {

Maybe this helps.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index