Re: [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work

2011-01-26 Thread Alina Friedrichsen
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
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work

2011-01-23 Thread Mauro Carvalho Chehab
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-al...@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.0 +0100
 +++ linux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c   2011-01-22 
 23:51:33.0 +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

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work

2011-01-23 Thread Alina Friedrichsen
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 += 50;


New code:

if (priv-firm_version  0x0302) {
if (priv-cur_fw.type  DTV7)
offset += 50;
} else {
if (priv-cur_fw.type  DTV7)
offset -= 30;
else if (type != ATSC) /* DVB @6MHz, DTV 8 and DTV 7/8 */
offset += 20;
}

Cheers,
Alina
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work

2011-01-22 Thread Alina Friedrichsen
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-al...@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.0 +0100
+++ linux-2.6.37/drivers/media/common/tuners/tuner-xc2028.c 2011-01-22 
23:51:33.0 +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
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html