Skip to contentSkip to conversation

Add support analog part of Compro Videomate E800

PATCH New [email protected] 1 participant 1 message Apr 17, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support analog part of Compro Videomate E800

linux/drivers/media/video/cx23885/cx23885-cards.c 2009-12-12 15:26:41.370488942 +0200 renamed from linux/drivers/media/video/cx23885/cx23885-cards.c 2009-11-27 16:52:15.000000000 +0200 +23 -1
diff -Naur a/linux/drivers/media/video/cx23885/cx23885-cards.c b/linux/drivers/media/video/cx23885/cx23885-cards.c
@@ -287,7 +287,29 @@
    },
    [CX23885_BOARD_COMPRO_VIDEOMATE_E800] = {
        .name        = "Compro VideoMate E800",
-        .portc        = CX23885_MPEG_DVB,
+        .porta        = CX23885_ANALOG_VIDEO,
+         .portc        = CX23885_MPEG_DVB,
+        .tuner_type    = TUNER_XC2028,
+        .tuner_addr    = 0x61,
+        .input        = {
+            {
+                .type   = CX23885_VMUX_TELEVISION,
+                .vmux   = CX25840_COMPOSITE2,
+            }, {
+                .type   = CX23885_VMUX_COMPOSITE1,
+                .vmux   = CX25840_COMPOSITE8,
+            }, {
+                .type   = CX23885_VMUX_SVIDEO,
+                .vmux   = CX25840_SVIDEO_LUMA3 |
+                    CX25840_SVIDEO_CHROMA4,
+            }, {
+                .type   = CX23885_VMUX_COMPONENT,
+                .vmux   = CX25840_COMPONENT_ON |
+                    CX25840_VIN1_CH1 |
+                    CX25840_VIN6_CH2 |
+                    CX25840_VIN7_CH3,
+            },
+        },
    },
    [CX23885_BOARD_HAUPPAUGE_HVR1290] = {
        .name        = "Hauppauge WinTV-HVR1290",