Analog support for Compro VideoMate E650F

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,


Recently I bought such a card and tried to use its analog inputs
(composite, S-video and component) under Linux,

but currently its analog inputs are not supported in the lastest
stable kernel. So I searched the web and found a patch

that made analog TV and composite input work:
https://patchwork.kernel.org/patch/65382/

I tested S-video input and component input, but seems like we used wrong VINs.

Therefore I referred its inf file of Windows driver and fixed input
definitions as in the following patch:


diff -Naur linux-2.6.36.1/drivers/media/
video/cx23885/cx23885-cards.c
linux-2.6.36.1-ref/drivers/media/video/cx23885/cx23885-cards.c
--- linux-2.6.36.1/drivers/media/video/cx23885/cx23885-cards.c
2010-11-23 03:03:49.000000000 +0800
+++ linux-2.6.36.1-ref/drivers/media/video/cx23885/cx23885-cards.c
2010-12-01 22:38:39.731040501 +0800
@@ -172,7 +172,33 @@
     },
     [CX23885_BOARD_COMPRO_VIDEOMATE_E650F] = {
         .name        = "Compro VideoMate E650F",
+        .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_COMPOSITE1
+
+            }, {
+                .type   = CX23885_VMUX_SVIDEO,
+                .vmux   = CX25840_SVIDEO_LUMA4|
+                    CX25840_SVIDEO_CHROMA7
+
+            }, {
+                .type   = CX23885_VMUX_COMPONENT,
+                .vmux   = CX25840_COMPONENT_ON|
+                    CX25840_VIN3_CH1 |
+                    CX25840_VIN6_CH2 |
+                    CX25840_VIN8_CH3
+
+            },
+        },
+
     },
     [CX23885_BOARD_TBS_6920] = {
         .name        = "TurboSight TBS 6920",



By applying this patch, now I can use all analog inputs. But
unfortunately there are some glitches while using S-video and
component input.

I don't know how to describe the phenomenon because of my poor
English, so I post some screenshots and hope them help you to
understand.



The following images are some screenshots of analog inputs:


Composite input works well with the patch :)

http://dl.dropbox.com/u/13723674/composite.png

S-video input gives me video with blinking noise :(

http://dl.dropbox.com/u/13723674/s-video-blink.png


Component input also gives me video with blinking noise :(

http://dl.dropbox.com/u/13723674/component-blink.png


Any suggestion would be appreciated, and hope this patch helps someone.



I wish to help development, though I don't have any experience in
kernel module development.

If there's anything I can help, feel free to mail me.



Best regards
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux