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

Agiofws agiofws at gmail.com
Wed Apr 18 17:13:04 CEST 2007


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 at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.patch
Type: application/octet-stream
Size: 868 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070418/172bec46/diff-0001.obj


More information about the linux-dvb mailing list