[linux-dvb] [PATCH] Fix the unc for the frontends tda10021 and stv0297
e9hack
e9hack at googlemail.com
Sat May 31 09:19:09 CEST 2008
Oliver Endriss schrieb:
> Hi,
>
> I just wanted to commit this changeset when I spotted this:
>
> e9hack wrote:
>> @@ -266,6 +268,10 @@ static int tda10021_set_parameters (stru
>>
>> tda10021_setup_reg0 (state, reg0x00[qam], p->inversion);
>>
>> + /* reset uncorrected block counter */
>> + state->last_lock = 0;
>> + state->ucblocks = 0;
>
> Note that UCB must count the number of uncorrected blocls during the
> lifetime of the driver. So it must not be reset during tuning.
I've add this reset for two reasons:
1) My second card uses a stv0297. The UCB value is always reset during the tuning, because
the stv0297 is completely reinitialized. This occurs, if the frequency is changed or if
the frontend lost the lock. I've add the reset to see the same behavior within the
femon-plugin for both cards.
2) Above 650MHz, the signal strength of my cable is very low. It isn't usable. I get high
BER and UCB values. The card with the tda10021 is a budget one. It is used for epg
scanning in the background. It isn't possible to compare the UCB values of both cards, if
the cards are tuned to the same frequency/channel and if the tda10021 was previous tuned
to a frequency with a low signal.
-Hartmut
More information about the linux-dvb
mailing list