Hi. I sent that patch some months ago, and I build v4l modules with it each time I update my kernel. It adds the definitions of all inputs for CX88_BOARD_WINFAST_DTV2000H card: - modify tuner selection values (as dumped on a french version of the card, though it supports all formats) - 2 composite inputs - svideo input - tuner Note that I only use the first composite input (playstation 2 plugged on it), and it works perfectly. Analog tuner and radio barely work, ie I can hear/see that something is received, but the signal is way too weak. Still I think it's better to have the inputs defined than nothing at all. Second composite input is not physically available on this card. SVideo input not tested. From my tests, only the first gpio value needs to be set for the input to switch, but in case I left the other values commented out in the source. -- Vincent Pelletier
diff -r dea43ef2ecab linux/drivers/media/video/cx88/cx88-cards.c --- a/linux/drivers/media/video/cx88/cx88-cards.c Tue Oct 02 12:23:39 2007 -0300 +++ b/linux/drivers/media/video/cx88/cx88-cards.c Tue Oct 02 21:41:30 2007 +0200 @@ -1275,11 +1275,39 @@ static const struct cx88_board cx88_boar .input = {{ .type = CX88_VMUX_TELEVISION, .vmux = 0, - .gpio0 = 0x00017304, - .gpio1 = 0x00008203, - .gpio2 = 0x00017304, - .gpio3 = 0x02000000, - }}, + .gpio0 = 0x0001F700, + /*.gpio1 = 0x0000B207, + .gpio2 = 0x0001F700, + .gpio3 = 0x02000000,*/ + },{ + .type = CX88_VMUX_COMPOSITE1, + .vmux = 1, + .gpio0 = 0x0001D701, + /*.gpio1 = 0x0000B207, + .gpio2 = 0x0001D701, + .gpio3 = 0x02000000,*/ + },{ + .type = CX88_VMUX_COMPOSITE2, + .vmux = 2, + .gpio0 = 0x0001D503, + /*.gpio1 = 0x0000B207, + .gpio2 = 0x0001D503, + .gpio3 = 0x02000000,*/ + },{ + .type = CX88_VMUX_SVIDEO, + .vmux = 3, + .gpio0 = 0x0001D701, + /*.gpio1 = 0x0000B207, + .gpio2 = 0x0001D701, + .gpio3 = 0x02000000,*/ + }}, + .radio = { + .type = CX88_RADIO, + .gpio0 = 0x00015702, + /*.gpio1 = 0x0000F207, + .gpio2 = 0x00015702, + .gpio3 = 0x02000000,*/ + }, .mpeg = CX88_MPEG_DVB, }, [CX88_BOARD_GENIATECH_DVBS] = {
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb