Mailing List archive

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

[linux-dvb] Re: Transponder switching taking considerably longer



On Thursday 31 July 2003 20:16, Johannes Stezenbach wrote:
> I did some more testing and was able to reproduce the tuning problems
> with my card. After some testing I found that the root of the problem
> was that the frontend thread was woken up immediately after
> FE_SET_FRONTEND, so the frontend status was tested too soon. Maybe
> the alps_bsrv2.c doesn't like that. I also added a FE_RESET after
> each iteration of the frontend threads main loop if FE_HAS_LOCK is
> not present.
> Now I fixed dvb_frontend.c and removed all udelay()s from
> alps_bsrv2.c.

I had a closer look on the stv0299 frontend code and noticed that 
dvb_frontend_recover() was called after every tuning, i.e. the first 
tuning attempt failed. This happened because the frontend had no lock 
yet when the status was checked in stv0299_check_inversion()...

I committed a few lines of code taken from dvb-kernel where this problem 
had already been fixed. Tuning is even faster now. :-)

> I committed something in CVS which works very well with my DVB-S and
> Siemens DVB-C card. Please test!
>
> (I hope this change doesn't break tuning for other frontends or
> DVB-T).

No problems with Nexus 2.1 (stv0299).

CU,

Oliver


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



Home | Main Index | Thread Index