Re: Mantis 2033 change tuner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I don't own the card in question, but I am interesting in buying one if it works :-)

Bas v.d. Wiel wrote:
> Hello all,
> As I got no response to my question about changing tuner chips on Mantis
> cards (I have one with chip ID 0x7d which I read about earlier), I started
> experimenting with the sources from jusst.de. I changed mantis_dvb.c in a
> crude way by simply copying the contents of a case statement for a Mantis
> 2040 to the one for the 2033 and commenting out the original 2033 block
> that loads the tda10021.

Hrm, 2040? Where did you find that case statement?

Otherwise, have you tried using the case statement for TERRATEC_CINERGY_C_PCI
instead? It looks exactly the same as the 2033 case apart from the tda10023
tuner. Perhaps try the attached (untested) patch?

> To my surprise this compiled without any trouble and everything gets loaded
> and recognized without error upon next bootup, including the tda10023.
> However, as I expected, something crashes in a very bad way when I actually
> try to use the tuner with dvb-scan. Am I doing something wrong? Or is my
> card simply not supported (yet) by the mantis driver (too new maybe)?

Could you post the diff? Also make sure you have the latest mantis source code
(use "hg pull" + "hg up" to update).

-- 
Pelle
diff -r b7b8a2a81f3e linux/drivers/media/dvb/mantis/mantis_dvb.c
--- a/linux/drivers/media/dvb/mantis/mantis_dvb.c	Wed Apr 16 15:22:16 2008 +0400
+++ b/linux/drivers/media/dvb/mantis/mantis_dvb.c	Wed Apr 16 14:33:49 2008 +0200
@@ -259,7 +259,7 @@
 			}
 		}
 		break;
-	case MANTIS_VP_2033_DVB_C:	// VP-2033
+      //case MANTIS_VP_2033_DVB_C:	// VP-2033
 		dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
 		mantis->fe = tda10021_attach(&philips_cu1216_config, &mantis->adapter, read_pwm(mantis));
 		if (mantis->fe) {
@@ -274,6 +274,7 @@
 		}
 		break;
 	case TERRATEC_CINERGY_C_PCI:
+	case MANTIS_VP_2033_DVB_C:
 		dprintk(verbose, MANTIS_ERROR, 1, "Probing for CU1216 (DVB-C)");
 		mantis->fe = tda10023_attach(&tda10023_cu1216_config, &mantis->adapter, read_pwm(mantis));
 		if (mantis->fe) {
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux