public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Analog TV for Compro E800 and cx23885-alsa
@ 2009-12-12 13:35 geroin22
  0 siblings, 0 replies; only message in thread
From: geroin22 @ 2009-12-12 13:35 UTC (permalink / raw)
  To: linux-media, stoth

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.


diff -Naur a/linux/drivers/media/video/cx23885/cx23885-cards.c 
b/linux/drivers/media/video/cx23885/cx23885-cards.c
--- a/linux/drivers/media/video/cx23885/cx23885-cards.c    2009-11-27 
16:52:15.000000000 +0200
+++ b/linux/drivers/media/video/cx23885/cx23885-cards.c    2009-12-12 
15:26:41.370488942 +0200
@@ -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",




                                             


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-13  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12 13:35 [PATCH] Analog TV for Compro E800 and cx23885-alsa geroin22

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