* [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work
@ 2011-01-23 0:16 Alina Friedrichsen
2011-01-23 14:12 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 4+ messages in thread
From: Alina Friedrichsen @ 2011-01-23 0:16 UTC (permalink / raw)
To: linux-media, rglowery
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 <x-alina@gmx.net>
---
diff -urNp linux-2.6.37.orig/drivers/media/common/tuners/tuner-xc2028.c linux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c
--- linux-2.6.37.orig/drivers/media/common/tuners/tuner-xc2028.c 2011-01-22 23:46:57.000000000 +0100
+++ linux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c 2011-01-22 23:51:33.000000000 +0100
@@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work
2011-01-23 0:16 [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work Alina Friedrichsen
@ 2011-01-23 14:12 ` Mauro Carvalho Chehab
2011-01-23 16:33 ` Alina Friedrichsen
2011-01-26 9:52 ` Alina Friedrichsen
0 siblings, 2 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2011-01-23 14:12 UTC (permalink / raw)
To: Alina Friedrichsen; +Cc: linux-media, rglowery
Hi Alina,
Em 22-01-2011 22:16, Alina Friedrichsen escreveu:
> 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 <x-alina@gmx.net>
> ---
> diff -urNp linux-2.6.37.orig/drivers/media/common/tuners/tuner-xc2028.c linux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c
> --- linux-2.6.37.orig/drivers/media/common/tuners/tuner-xc2028.c 2011-01-22 23:46:57.000000000 +0100
> +++ linux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c 2011-01-22 23:51:33.000000000 +0100
> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work
2011-01-23 14:12 ` Mauro Carvalho Chehab
@ 2011-01-23 16:33 ` Alina Friedrichsen
2011-01-26 9:52 ` Alina Friedrichsen
1 sibling, 0 replies; 4+ messages in thread
From: Alina Friedrichsen @ 2011-01-23 16:33 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: rglowery, linux-media
Hi Mauro!
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work
2011-01-23 14:12 ` Mauro Carvalho Chehab
2011-01-23 16:33 ` Alina Friedrichsen
@ 2011-01-26 9:52 ` Alina Friedrichsen
1 sibling, 0 replies; 4+ messages in thread
From: Alina Friedrichsen @ 2011-01-26 9:52 UTC (permalink / raw)
To: linux-media, rglowery, Mauro Carvalho Chehab
Hi Mauro!
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-26 9:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 0:16 [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work Alina Friedrichsen
2011-01-23 14:12 ` Mauro Carvalho Chehab
2011-01-23 16:33 ` Alina Friedrichsen
2011-01-26 9:52 ` Alina Friedrichsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox