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

Manu Abraham manu at kromtek.com
Mon Jul 25 10:00:51 CEST 2005


peng cao wrote:
> 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*/
> 

Ok, i will add this one .. Thanks for taking the time.


> 		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%).
> 

The signal strength stuff requires a bit more work prior to that. In the 
process of that.

> Thanks for your great job.
> 

Welcome,


Manu




More information about the linux-dvb mailing list