Skip to contentSkip to conversation

Mantis 2033 change tuner

linux-dvb Bas v.d. Wiel 3 participants 4 messages Apr 14, 2008 – Apr 16, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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.

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)?

Thanks in advance for any help!

Bas

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Hi,

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

Quoted 7 lines · Bas v.d. Wiel

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?

Quoted 5 lines

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).

Signature · 1 line
Pelle
linux/drivers/media/dvb/mantis/mantis_dvb.c +2 -1
diff -r b7b8a2a81f3e linux/drivers/media/dvb/mantis/mantis_dvb.c
@@ -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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw
Quoted 4 lines · Per Olofsson

Hi,

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

Just my 2 cents worth: I have TwinHan DVB-C CAB-CI (Mantis 2033), and it works quite well for unencrypted channels with provider INDI in Flanders. I use Manu Abraham's latest driver.

Forget about encrypted channels, though. It's been roughly 1 1/2 years since Manu promised a driver for this, but nothing has materialized so far.

Sincerely,

Bob Deblier

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw

Hi,

Quoted 3 lines · Bob Deblier

Forget about encrypted channels, though. It's been roughly 1 1/2 years since Manu promised a driver for this, but nothing has materialized so far.

Well, all my channels are encrypted, so...

But if you look at http://jusst.de/hg/mantis/, you can see that Manu has checked in CA code today, only a couple of hours ago. And he's been checking in CA code since a month ago. So apparently he's working on something right now.

Signature · 6 lines
Pelle

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb