[linux-dvb] Re: peoblem with Twinhan vp-2021, ok now

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

 



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



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux