public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Vincent Pelletier <plr.vincent@gmail.com>
To: linux-dvb@linuxtv.org
Cc: khali@linux-fr.org
Subject: [linux-dvb] [PATCH] WinFast DTV2000 H: add support for missing analog inputs
Date: Sun, 9 Nov 2008 14:37:13 +0100	[thread overview]
Message-ID: <200811091437.13920.plr.vincent@gmail.com> (raw)

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

WinFast DTV2000 H: add support for missing analog inputs

From: Vincent Pelletier <plr.vincent@gmail.com>

Add support for the following inputs:
 - radio tuner
 - composite 1 & 2 (only 1 is physically available, but composite 2 is also
   advertised by windows driver)
 - svideo

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

---

GPIO values retrieved using RegSpy under Windows XP with vendor's driver & 
software.

-- 
Vincent Pelletier

[-- Attachment #2: cx88-cards.c.diff --]
[-- Type: text/x-diff, Size: 1286 bytes --]

diff -r 46604f47fca1 linux/drivers/media/video/cx88/cx88-cards.c
--- a/linux/drivers/media/video/cx88/cx88-cards.c	Fri Nov 07 15:24:18 2008 -0200
+++ b/linux/drivers/media/video/cx88/cx88-cards.c	Sun Nov 09 14:31:26 2008 +0100
@@ -1270,7 +1270,6 @@
 		},
 	},
 	[CX88_BOARD_WINFAST_DTV2000H] = {
-		/* video inputs and radio still in testing */
 		.name           = "WinFast DTV2000 H",
 		.tuner_type     = TUNER_PHILIPS_FMD1216ME_MK3,
 		.radio_type     = UNSET,
@@ -1284,7 +1283,35 @@
 			.gpio1  = 0x00008203,
 			.gpio2  = 0x00017304,
 			.gpio3  = 0x02000000,
+		},{
+			.type   = CX88_VMUX_COMPOSITE1,
+			.vmux   = 1,
+			.gpio0  = 0x0001d701,
+			.gpio1  = 0x0000b207,
+			.gpio2  = 0x0001d701,
+			.gpio3  = 0x02000000,
+		},{
+			.type   = CX88_VMUX_COMPOSITE2,
+			.vmux   = 2,
+			.gpio0  = 0x0001d503,
+			.gpio1  = 0x0000b207,
+			.gpio2  = 0x0001d503,
+			.gpio3  = 0x02000000,
+		},{
+			.type   = CX88_VMUX_SVIDEO,
+			.vmux   = 3,
+			.gpio0  = 0x0001d701,
+			.gpio1  = 0x0000b207,
+			.gpio2  = 0x0001d701,
+			.gpio3  = 0x02000000,
 		}},
+		.radio = {
+			 .type  = CX88_RADIO,
+			 .gpio0 = 0x00015702,
+			 .gpio1 = 0x0000f207,
+			 .gpio2 = 0x00015702,
+			 .gpio3 = 0x02000000,
+		},
 		.mpeg           = CX88_MPEG_DVB,
 	},
 	[CX88_BOARD_GENIATECH_DVBS] = {

[-- 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-11-09 13:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-09 13:37 Vincent Pelletier [this message]
2008-11-10  0:49 ` [linux-dvb] [PATCH] WinFast DTV2000 H: add support for missing analog inputs Jonathan
2008-11-10  1:17   ` hermann pitton
  -- strict thread matches above, loose matches on Subject: below --
2008-06-02  9:33 Vincent Pelletier

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=200811091437.13920.plr.vincent@gmail.com \
    --to=plr.vincent@gmail.com \
    --cc=khali@linux-fr.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox