Tuomas Jousimaa wrote:
Now the only thing that comes to my mind is the CU1216 module is using a
newer TDA10023
instead of the TDA10021. (In case, if all your tests went in the right
direction)
Thanks! It is indeed using the TDA10023. I got it working by changing
tda10021_attach into tda10023_attach in mantis_dvb.c. I have absolutely no
experience in creating patches so I'm not even gonna try, but I guess you
know what to do :D
Can you please test whether the attached patch works as expected against
the mantis tree ? If so, i will push it in.
Regards,
Manu
diff -r 7018cbcec6ec linux/drivers/media/dvb/mantis/mantis_core.c
--- a/linux/drivers/media/dvb/mantis/mantis_core.c Fri Nov 30 02:45:49 2007 +0400
+++ b/linux/drivers/media/dvb/mantis/mantis_core.c Thu Jan 17 22:04:24 2008 +0400
@@ -111,6 +111,7 @@ static void mantis_load_config(struct ma
mantis->hwconfig = &vp1034_mantis_config;
break;
case MANTIS_VP_2033_DVB_C: // VP-2033
+ case TERRATEC_CINERGY_C_PCI: // Terratec Cinergy C PCI
mantis->hwconfig = &vp2033_mantis_config;
break;
case MANTIS_VP_3030_DVB_T: // VP-3030
diff -r 7018cbcec6ec linux/drivers/media/dvb/mantis/mantis_dvb.c
--- a/linux/drivers/media/dvb/mantis/mantis_dvb.c Fri Nov 30 02:45:49 2007 +0400
+++ b/linux/drivers/media/dvb/mantis/mantis_dvb.c Thu Jan 24 23:14:18 2008 +0400
@@ -251,6 +251,19 @@ int __devinit mantis_frontend_init(struc
}
break;
+ case TERRATEC_CINERGY_C_PCI:
+ dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
+ mantis->fe = tda10023_attach(&philips_cu1216_config, &mantis->adapter, read_pwm(mantis));
+ if (mantis->fe) {
+ mantis->fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set;
+ dprintk(verbose, MANTIS_ERROR, 1,
+ "found Philips CU1216 DVB-C frontend 0x%02x",
+ philips_cu1216_config.demod_address);
+
+ dprintk(verbose, MANTIS_ERROR, 1,
+ "Mantis DVB-C Philips CU1216 frontend attach success");
+ }
+ break;
#if 0
case MANTIS_VP_3030_DVB_T: // VP-3030
dprintk(verbose, MANTIS_ERROR, 1, "Probing for 10353 (DVB-T)");
diff -r 7018cbcec6ec linux/drivers/media/dvb/mantis/mantis_vp2033.h
--- a/linux/drivers/media/dvb/mantis/mantis_vp2033.h Fri Nov 30 02:45:49 2007 +0400
+++ b/linux/drivers/media/dvb/mantis/mantis_vp2033.h Thu Jan 17 22:09:36 2008 +0400
@@ -26,6 +26,7 @@
#include "tda1002x.h"
#define MANTIS_VP_2033_DVB_C 0x0008
+#define TERRATEC_CINERGY_C_PCI 0x1178
extern struct tda1002x_config philips_cu1216_config;
extern struct mantis_hwconfig vp2033_mantis_config;
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb