[linux-dvb] Hauppauge WinTV NOVA T USB2 not working any more

Jose Alberto Reguero jareguero at telefonica.net
Thu Sep 21 22:45:53 CEST 2006


El Miércoles, 20 de Septiembre de 2006 22:56, Mario Rossi escribió:
> I've tried with the new patches
>
> 1) module loading works fine now
> 2) I cannot tune or scan anything
> 3) make unload works fine
>
Also AverTV DVB-T USB 2.0 don't work.
Looking at the code I thing that this changset:

http://linuxtv.org/hg/v4l-dvb?cmd=changeset;node=51f233c864c5;style=gitweb

breaks dib3000mc devices especialy this part:

@@ -167,15 +150,18 @@ static int dib3000mc_set_timing(struct d
return 0;
}
-static int dib3000mc_setup_pwm3_state(struct dib3000mc_state *state)
-{
+static int dib3000mc_setup_pwm_state(struct dib3000mc_state *state)
+{
+ u16 reg_51, reg_52 = state->cfg->agc->setup & 0xfefb;
if (state->cfg->pwm3_inversion) {
- dib3000mc_write_word(state, 51, (2 << 14) | (0 << 10) | (7 << 6) | (2 << 
2) | (2 << 0));
- dib3000mc_write_word(state, 52, (0 << 8) | (5 << 5) | (1 << 4) | (1 << 3) | 
(1 << 2) | (2 << 0));
+ reg_51 = (2 << 14) | (0 << 10) | (7 << 6) | (2 << 2) | (2 << 0);
+ reg_52 |= (1 << 2);
} else {
- dib3000mc_write_word(state, 51, (2 << 14) | (4 << 10) | (7 << 6) | (2 << 
2) | (2 << 0));
- dib3000mc_write_word(state, 52, (1 << 8) | (5 << 5) | (1 << 4) | (1 << 3) | 
(0 << 2) | (2 << 0));
- }
+ reg_51 = (2 << 14) | (4 << 10) | (7 << 6) | (2 << 2) | (2 << 0);
+ reg_52 |= (1 << 8);
+ }
+ dib3000mc_write_word(state, 51, reg_51);
+ dib3000mc_write_word(state, 52, reg_52);
if (state->cfg->use_pwm3)
dib3000mc_write_word(state, 245, (1 << 3) | (1 << 0));

This change the values for reg_52 which are good for NOVA T 500 but are not 
good for other devices.

Jose Alberto




More information about the linux-dvb mailing list