[linux-dvb] [PATCH] Winfast TV2000 XP Global

Agiofws agiofws at gmail.com
Thu Apr 19 04:32:39 CEST 2007


ok
  we decided not to include the gpio to enable the remote  due to
other  things that make the remote work
  so here is the patch


  Trent  and Alex should sign this off as well ,,,, so we are waiting

This patch DOES work  in TV mode and Composite mode as well

the patch is

  $more patch.diff
diff -r c7388d53d68a linux/drivers/media/video/cx88/cx88-cards.c
--- a/linux/drivers/media/video/cx88/cx88-cards.c       Thu Apr 05
23:05:16 2007 +0200
+++ b/linux/drivers/media/video/cx88/cx88-cards.c       Thu Apr 19
05:08:22 2007 +0300
@@ -1345,9 +1345,17 @@ struct cx88_board cx88_boards[] = {
                .input          = {{
                        .type   = CX88_VMUX_TELEVISION,
                        .vmux   = 0,
-               },{
-                       .type   = CX88_VMUX_COMPOSITE1,
-                       .vmux   = 1,
+                       .gpio0 = 0x0400, /* pin 2:mute = 0 (off?) */
+                       .gpio1 = 0x0000,
+                       .gpio2 = 0x0800, /* pin 19:audio = 0 (tv) */
+
+               },{
+                       .type   = CX88_VMUX_COMPOSITE1,
+                       .vmux   = 1,
+                       .gpio0 = 0x0400, /* probably?  or 0x0404 to
turn mute on */
+                       .gpio1 = 0x0000,
+                       .gpio2 = 0x0808, /* pin 19:audio = 1 (line) */
+
                },{
                        .type   = CX88_VMUX_SVIDEO,
                        .vmux   = 2,

Signed-off-by:  C.masoyras <agiofws at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 808 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070419/068299b6/patch-0001.obj


More information about the linux-dvb mailing list