[linux-dvb] FIX: No recovery after lost lock

Johannes Stezenbach js at linuxtv.org
Mon Aug 29 01:00:41 CEST 2005


On Wed, Aug 24, 2005 Marian Durkovic wrote:
>   I found a big thread on linux-dvb list couple of months old, about problems 
> with retuning after lost lock.
> 
>   I was experiencing the same situation - but only with dvb-kernel drivers.
> My old boxes with 2.4.20 kernel and DVB branch never had this problem.
> The new box was never able to retune even after signal degradation by heavy 
> rain or after cable disconnecting/reconnecting.
> 
>   My oscilloscope was showing the 22 kHz signal even after lost lock, but the
> card was not able to retune. Restarting the application always solved the
> problem.
> 
>   Finally I found the reason - it's the following code in dvb_frontend.c:
> 
>                         /* if we're tuned, then we have determined the correct i
> nversion */
>                         if ((!(fe->info->caps & FE_CAN_INVERSION_AUTO)) &&
>                             (fe->parameters.inversion == INVERSION_AUTO)) {
>                                 fe->parameters.inversion = fe->inversion;
>                         } 
> 
>   If this is commented out, the frontend is able to retune.

Has anyone had time to look into this? Anyone else seeing the
problem, and if yes does that change fix it?

Thanks,
Johannes




More information about the linux-dvb mailing list