|
Attached is the latest patch for Kworld V-Stream Studio TV Terminator card.
With the patch, the radio app works but channel scanning does not work.
Tuning must be done manually. There is a 2.5-3.5 MHz shift in frequency, but
it does work. Does this confirm the gpiomask, gpio, and audio_clock settings?
The change in value of SAA7134_ANALOG_IN_CTRL1 from 0xc0 | mux to 0x80 | mux
seemed to be the key. The change was based on the regspy output under
Windows.
I feel the solution is in these lines from the Windows inf file:
; I2C Device settings
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x22,0x00,0x00,0x00
; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2,0x00,0x00,0x00
; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96,0x00,0x00,0x00
; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x00,0x00,0x00,0x00
; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x01,0x00,0x00,0x00
; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30,0x00,0x00,0x00
; FM radio mode.
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
; Setting FM radio of the Silicon tuner via SIF (GPIO 21 in use/ 5.5MHz)
HKR, "Audio", "FM Radio IF",0x00010001,0x729555
GPIO21 is definitely the radio switch. Sure wish I knew what the rest of this
means to the linux driver.
On the down side, the 7131 still isnt receiving a tv signal from the tuner.
Jim Webb
--- saa7134-cards.c.orig 2005-04-25 21:36:34.500580880 -0700
+++ saa7134-cards.c 2005-04-25 21:09:58.874152968 -0700
@@ -218,6 +218,46 @@
.gpio = 0x2000,
},
*/ },
+ [SAA7134_BOARD_KWORLD_TERMINATOR] = {
+ /* Kworld V-Stream Studio TV Terminator */
+ /* "James Webb <jrwebb@xxxxxxxxx */
+ .name = "V-Stream Studio TV Terminator",
+ .audio_clock = 0x00200000,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
+ .gpiomask = 0x02 << 20,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = TV,
+ .gpio = 0x000000,
+ .tv = 1,
+ },{
+// .vmux = 1,
+// .amux = LINE2,
+// .gpio = 0x000000,
+// .tv = 1,
+// },{
+// .name = name_comp1, /* Composite signal on S-Video input */
+// .vmux = 0,
+// .amux = LINE2,
+// .gpio = 0x0000,
+// },{
+ .name = name_comp2, /* Composite input */
+ .vmux = 3,
+ .amux = LINE2,
+ .gpio = 0x000000,
+ },{
+ .name = name_svideo, /* S-Video signal on S-Video input */
+ .vmux = 8,
+ .amux = LINE2,
+ .gpio = 0x000000,
+ }},
+ .radio = {
+ .name = name_radio,
+ .amux = TV,
+ .gpio = 0x200000,
+ },
+ },
[SAA7134_BOARD_EMPRESS] = {
/* "Gert Vervoort" <gert.vervoort@xxxxxxxxxxx */
.name = "EMPRESS",
--- saa7134.h.orig 2005-04-25 21:35:53.482816528 -0700
+++ saa7134.h 2005-04-24 22:31:35.000000000 -0700
@@ -197,6 +197,7 @@
#define SAA7135_BOARD_ASUSTeK_TVFM7135 53
#define SAA7134_BOARD_FLYTVPLATINUM_FM 54
#define SAA7134_BOARD_FLYDVBTDUO 55
+#define SAA7134_BOARD_KWORLD_TERMINATOR 56
#define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8
--- saa7134-video.c.orig 2005-04-25 21:37:41.471399768 -0700
+++ saa7134-video.c 2005-04-25 14:45:12.000000000 -0700
@@ -492,7 +492,7 @@
/* setup video decoder */
saa_writeb(SAA7134_INCR_DELAY, 0x08);
- saa_writeb(SAA7134_ANALOG_IN_CTRL1, 0xc0 | mux);
+ saa_writeb(SAA7134_ANALOG_IN_CTRL1, 0x80 | mux);
saa_writeb(SAA7134_ANALOG_IN_CTRL2, 0x00);
saa_writeb(SAA7134_ANALOG_IN_CTRL3, 0x90);
--
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
www.redhat.com/mailman/listinfo/video4linux-list www.redhat.com/mailman/listinfo/video4linux-list
|