public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Mantis 2033 change tuner
@ 2008-04-14 20:50 Bas v.d. Wiel
  2008-04-16 12:41 ` Per Olofsson
  0 siblings, 1 reply; 4+ messages in thread
From: Bas v.d. Wiel @ 2008-04-14 20:50 UTC (permalink / raw)
  To: linux-dvb


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
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-dvb] Mantis 2033 change tuner
  2008-04-14 20:50 [linux-dvb] Mantis 2033 change tuner Bas v.d. Wiel
@ 2008-04-16 12:41 ` Per Olofsson
  2008-04-16 15:47   ` Bob Deblier
  0 siblings, 1 reply; 4+ messages in thread
From: Per Olofsson @ 2008-04-16 12:41 UTC (permalink / raw)
  To: bas; +Cc: linux-dvb

[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]

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

[-- Attachment #2: mantis.patch --]
[-- Type: text/x-diff, Size: 815 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-dvb] Mantis 2033 change tuner
  2008-04-16 15:47   ` Bob Deblier
@ 2008-04-16 13:52     ` Per Olofsson
  0 siblings, 0 replies; 4+ messages in thread
From: Per Olofsson @ 2008-04-16 13:52 UTC (permalink / raw)
  To: Bob Deblier; +Cc: linux-dvb

Hi,

Bob Deblier wrote:
> 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.

-- 
Pelle

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-dvb] Mantis 2033 change tuner
  2008-04-16 12:41 ` Per Olofsson
@ 2008-04-16 15:47   ` Bob Deblier
  2008-04-16 13:52     ` Per Olofsson
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Deblier @ 2008-04-16 15:47 UTC (permalink / raw)
  To: Per Olofsson; +Cc: linux-dvb

On Wed, 2008-04-16 at 14:41 +0200, Per Olofsson wrote:
> 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
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-16 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 20:50 [linux-dvb] Mantis 2033 change tuner Bas v.d. Wiel
2008-04-16 12:41 ` Per Olofsson
2008-04-16 15:47   ` Bob Deblier
2008-04-16 13:52     ` Per Olofsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox