[linux-dvb] Re: peoblem with Twinhan vp-2021, ok now
peng cao
caopeng75 at gmail.com
Mon Jul 25 08:32:03 CEST 2005
Hi Manu,
Finally I found the bug and the card works now.
In the function "dst_set_freq(struct dst_state *state, u32 freq)" ,
the "freq" in cable section need to be divided by 1000 too, like this:
"else if (state->dst_type == DST_TYPE_IS_CABLE) {
freq = freq / 1000; /*this line is missed*/
state->tx_tuna[2] = (freq >> 16) & 0xff;
state->tx_tuna[3] = (freq >> 8) & 0xff;
state->tx_tuna[4] = (u8) freq;
}
"
Maybe there is another minor bug in signal strength number cause the
number is much smaller (around 25%) than normal situation (80%-90%).
Thanks for your great job.
Peng Cao
More information about the linux-dvb
mailing list