All of lore.kernel.org
 help / color / mirror / Atom feed
From: Per Olofsson <pelle@dsv.su.se>
To: bas@kompasmedia.nl
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Mantis 2033 change tuner
Date: Wed, 16 Apr 2008 14:41:30 +0200	[thread overview]
Message-ID: <4805F3FA.5080901@dsv.su.se> (raw)
In-Reply-To: <bf9a9c0dd71fe6e733de49fd916fe4eb@localhost>

[-- 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

  reply	other threads:[~2008-04-16 12:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14 20:50 [linux-dvb] Mantis 2033 change tuner Bas v.d. Wiel
2008-04-16 12:41 ` Per Olofsson [this message]
2008-04-16 15:47   ` Bob Deblier
2008-04-16 13:52     ` Per Olofsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4805F3FA.5080901@dsv.su.se \
    --to=pelle@dsv.su.se \
    --cc=bas@kompasmedia.nl \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.