[PATCH] Winfast TV2000 XP Global

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

 



ok i just finished tesing with all the gpio values

these work  in tv TUNER mode and in composite mode

$more diff.patch
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       Wed Apr 18
17:58:28 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 = 0x04000, /*pin 14: enable remote =1 */
+                       .gpio2 = 0x0800, /* pin 19:audio = 0 (tv) */
+
+               },{
+                       .type   = CX88_VMUX_COMPOSITE1,
+                       .vmux   = 1,
+                       .gpio0 = 0x0400, /* probably?  or 0x0404 to
turn mute on */
+                       .gpio1 = 0x04000, /*pin 14: enable remote =1 */
+                       .gpio2 = 0x0808, /* pin 19:audio = 1 (line) */
+
               },{
                       .type   = CX88_VMUX_SVIDEO,
                       .vmux   = 2,


the only cahnge to Trents proposal  is the gpio1 = 0x0000  entry i
changed that to

gpio1 = 0x04000  cause i think we atleast need the  remote enabled
even though i canot get it  to work yet  what do you think you may
know  better .. but  trenst proposal worked



Signed-off-by:  C.masoyras <agiofws@xxxxxxxxx>

Attachment: diff.patch
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