public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch for cx88-cards.c for DVICO-FusionHDTV 3 GOLD Q
@ 2005-05-12 13:07 Michael Krufky
       [not found] ` <4287DC6B.5010401@m1k.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Krufky @ 2005-05-12 13:07 UTC (permalink / raw)
  To: linux-kernel, video4linux-list; +Cc: kraxel, akpm

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

Hello,

I haven't submitted a kernel patch before, so please forgive me if this 
isn't the proper protocol.  I have the DVICO-FusionHDTV 3 GOLD Q, and I 
got it to autodetect and tune into some NTSC cable channels (in 
less-than perfect quality) after making the following change:

--- a/cx88-cards.c    2005-05-10 19:30:47.000000000 -0400
+++ b/cx88-cards.c    2005-05-11 21:09:26.000000000 -0400
@@ -524,6 +524,10 @@
         .subdevice = 0xd810,
         .card      = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD,
     },{
+        .subvendor = 0x18ac,
+        .subdevice = 0xd820,
+        .card      = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD,
+    },{
         .subvendor = 0x18AC,
         .subdevice = 0xDB00,
         .card      = CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1,

I've been told that the whitespace gets mangled in the body of the 
email, so I've included the .diff as an email attachment as well.  
Please incorporate this into the next version of the driver.

Thank you,

Michael Krufky
mkrufky@m1k.net


[-- Attachment #2: cx88-cards.c.FusionHDTV3GoldQ.diff --]
[-- Type: text/plain, Size: 419 bytes --]

--- a/cx88-cards.c	2005-05-10 19:30:47.000000000 -0400
+++ b/cx88-cards.c	2005-05-11 21:09:26.000000000 -0400
@@ -524,6 +524,10 @@
 		.subdevice = 0xd810,
 		.card      = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD,
 	},{
+		.subvendor = 0x18ac,
+		.subdevice = 0xd820,
+		.card      = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD,
+	},{
 		.subvendor = 0x18AC,
 		.subdevice = 0xDB00,
 		.card      = CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1,

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

* Re: Patch for cx88-cards.c for DVICO-FusionHDTV 3 GOLD Q
       [not found]     ` <42883D03.1040809@m1k.net>
@ 2005-05-19 23:03       ` Michael Krufky
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Krufky @ 2005-05-19 23:03 UTC (permalink / raw)
  To: linux-kernel

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

The previous patch that I submitted has been revised, and here is the 
version that has been included in 2.6.12-rc4-mm2: (This patch is against 
2.6.12-rc4).

This patch allows full analog functionality for the DViCO FusionHDTV3 
Gold-Q, 18ac:d820 which has a Conexant cx23882, Thompson7611, and LG 
3302. It does NOT yet support digital decoding or digital audio without 
the internal analog audio jack connected to the sound board, but it 
works perfectly in analog mode.

Signed-off-by: Michael Krufky



[-- Attachment #2: cx88-fix-for-dvico-fusionhdtv-3-gold-q.patch --]
[-- Type: text/plain, Size: 2450 bytes --]

diff -puN a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
--- a/drivers/media/video/cx88/cx88-cards.c	2005-05-16 01:10:54.000000000 +0000
+++ b/drivers/media/video/cx88/cx88-cards.c	2005-05-16 02:01:27.000000000 +0000
@@ -435,6 +435,33 @@ struct cx88_board cx88_boards[] = {
 		 }
 #endif
 	},
+        [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q] = {
+                .name           = "DViCO - FusionHDTV 3 Gold-Q",
+                .tuner_type     = 52, /* Thomson DDT 7610 ATSC/NTSC - Its actually a 7611 chip, but this works */
+                .input          = {{
+                        .type   = CX88_VMUX_TELEVISION,
+                        .vmux   = 0,
+                        .gpio0  = 0x0f0d,
+                },{
+                        .type   = CX88_VMUX_CABLE,
+                        .vmux   = 0,
+                        .gpio0  = 0x0f05,
+                },{
+                        .type   = CX88_VMUX_COMPOSITE1,
+                        .vmux   = 1,
+                        .gpio0  = 0x0f00,
+                },{
+                        .type   = CX88_VMUX_SVIDEO,
+                        .vmux   = 2,
+                        .gpio0  = 0x0f00,
+                }},
+#if 0
+                .ts             = {
+                         .type   = CX88_TS,
+                         .gpio0  = 0x00000f01,   /* Hooked to tuner reset bit */
+                 }
+#endif
+        },
         [CX88_BOARD_HAUPPAUGE_DVB_T1] = {
                 .name           = "Hauppauge Nova-T DVB-T",
 		.tuner_type     = TUNER_ABSENT,
@@ -673,6 +700,10 @@ struct cx88_subid cx88_subids[] = {
 		.subdevice = 0xd810,
 		.card      = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD,
 	},{
+		.subvendor = 0x18ac,
+		.subdevice = 0xd820,
+		.card      = CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q,
+	},{
 		.subvendor = 0x18AC,
 		.subdevice = 0xDB00,
 		.card      = CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1,
diff -puN a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
--- a/drivers/media/video/cx88/cx88.h	2005-05-16 01:10:54.000000000 +0000
+++ b/drivers/media/video/cx88/cx88.h	2005-05-16 01:59:06.000000000 +0000
@@ -162,6 +162,7 @@ extern struct sram_channel cx88_sram_cha
 #define CX88_BOARD_HAUPPAUGE_ROSLYN        24
 #define CX88_BOARD_DIGITALLOGIC_MEC	       25
 #define CX88_BOARD_IODATA_GVBCTV7E         26
+#define CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q    27
 
 enum cx88_itype {
 	CX88_VMUX_COMPOSITE1 = 1,

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

end of thread, other threads:[~2005-05-19 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12 13:07 Patch for cx88-cards.c for DVICO-FusionHDTV 3 GOLD Q Michael Krufky
     [not found] ` <4287DC6B.5010401@m1k.net>
     [not found]   ` <20050515210024.536ea43c.akpm@osdl.org>
     [not found]     ` <42883D03.1040809@m1k.net>
2005-05-19 23:03       ` Michael Krufky

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