Skip to contentSkip to conversation

Analog TV for Compro E800 and cx23885-alsa

PATCH New geroin22 1 participant 1 message Dec 13, 2009 Media (V4L/DVB)

lore
Share & tools
lore

geroin22

author
#0 lore raw

PATCH 1/1 Analog TV for Compro E800 and cx23885-alsa

Hi Steve

Use your cx23885-alsa tree and this message http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/13481, I have analog TV for Compro E800 now. But I have no sound on some PAL channels (maybe they have stereo sound, or some other). Tested with Tvtime and mplayer.
Other inputs not tested.

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",