[PATCH] Winfast TV2000 XP Global

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

 



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@xxxxxxxxx>

Attachment: patch.diff
Description: Binary data

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux