Getting Hauppauge WinTV HVR-1400 (XC3028L) to work
RFC PATCH 1/1 Getting Hauppauge WinTV HVR-1400 (XC3028L) to work
With this patch my DVB-T receiver works now like before 2.6.34, only the first four tunings fails, after that all works fine.
The code was still in there, only commented out. As the original author says, please test it with different XC3028 hardware. If no one has problems with it, please commit it.
---
drivers/media/common/tuners/tuner-xc2028.c +1 -1
@@ -967,7 +967,7 @@ static int generic_set_freq(struct dvb_f* newer firmwares */ -#if 1 +#if 0 /* * The proper adjustment would be to do it at s-code table. * However, this didn't work, as reported by
Hi Alina,
Em 22-01-2011 22:16, Alina Friedrichsen escreveu:
Quoted 12 lines
With this patch my DVB-T receiver works now like before 2.6.34, only the first four tunings fails, after that all works fine.
The code was still in there, only commented out. As the original author says, please test it with different XC3028 hardware. If no one has problems with it, please commit it.Signed-off-by Alina Friedrichsen <[email protected]>---
diff -urNplinux-2.6.37.orig/drivers/media/common/tuners/tuner-xc2028.clinux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c
drivers/media/common/tuners/tuner-xc2028.c static int generic_set_freq(struct dvb_f · line 973
Quoted 8 lines
drivers/media/common/tuners/tuner-xc2028.c +1
-1@@ -967,7 +967,7 @@ static int generic_set_freq(struct dvb_f* newer firmwares */ -#if 1 +#if 0 /* * The proper adjustment would be to do it at s-code table. * However, this didn't work, as reported by
This is problematic, as it seems to be country-specific and/or demod-specific. We'll need to work on a different solution for it. On what Country do you live? By looking at HVR1400 entry, it uses a dibcom 7000p demod.
We need to know what are country/demod for the users for whose the old code were broken.
Cheers,
Mauro
Hi Mauro!
Quoted 8 lines
This is problematic, as it seems to be country-specific and/or demod-specific.
We'll need to work on a different solution for it. On what Country do you live?
By looking at HVR1400 entry, it uses a dibcom 7000p demod.
We need to know what are country/demod for the users for whose the old code
were broken.
I live in Germany. In which country, with which hardware does the old code work, and the new not?
Old code:
if (priv->cur_fw.type & DTV7)
offset += 500000;
New code:
if (priv->firm_version < 0x0302) {
if (priv->cur_fw.type & DTV7)
offset += 500000;
} else {
if (priv->cur_fw.type & DTV7)
offset -= 300000;
else if (type != ATSC) /* DVB @6MHz, DTV 8 and DTV 7/8 */
offset += 200000;
}Cheers,
Alina
Hi Mauro!
Quoted 8 lines
This is problematic, as it seems to be country-specific and/or demod-specific.
We'll need to work on a different solution for it. On what Country do you live?
By looking at HVR1400 entry, it uses a dibcom 7000p demod.
We need to know what are country/demod for the users for whose the old code
were broken.
Can you suggest an other solution?
Cheers,
Alina