public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: geroin22 <geroin22@yandex.ru>
To: linux-media@vger.kernel.org, stoth@linuxtv.org
Subject: [PATCH] Analog TV for Compro E800 and cx23885-alsa
Date: Sat, 12 Dec 2009 15:35:35 +0200	[thread overview]
Message-ID: <4B239C27.2040201@yandex.ru> (raw)

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




                                             


                 reply	other threads:[~2009-12-13  1:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4B239C27.2040201@yandex.ru \
    --to=geroin22@yandex.ru \
    --cc=linux-media@vger.kernel.org \
    --cc=stoth@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