Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Airstar2 and VHF
Hi Folks,
the solution seems so easy. After studying the mt352 Design Manual we
changed only one bit.
According the table 7 on page 52 in this Design Manual you can see 7
modes for the CLOCK_CTL. Mode 1 is default and it is only for 8 MHz OFDM
reception. For receiving channels using 6 or 7 MHz you have to change
this mode to mode 2.
In the file skystar2.c you will find at line 2341:
-> static u8 mt352_clock_config [] = { 0x89, 0x10, 0x2d };
The second hex-number (0x10) stands for the mode 1 of CLOCK_CTL.
Just change it to the following:
-> static u8 mt352_clock_config [] = { 0x89, 0x18, 0x2d };
Here the second hex-number is 0x18, that means mode 2 of CLOCK_CTL.
Et voilá! Compiling the drivers and have fun. We have tried it here in
the german Rhein-Main-Area, where the ARD is using a VHF-frequency with
7 MHz. And.... it works fine! :-)))
Please, try it, and if it works in other areas also, change the code of
the file skystar2.c.
Thank You.
Thomas Martin and Dieter Zander
Index: skystar2.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/b2c2/skystar2.c
revision 1.21
@@ 2339 @@ static int samsung tdtc9251dh0_demod_init
static int samsung_tdtc9251dh0_demod_init(struct dvb_frontend* fe)
{
- static u8 mt352_clock_config [] = { 0x89, 0x10, 0x2d };
+ static u8 mt352_clock_config [] = { 0x89, 0x18, 0x2d };
static u8 mt352_reset [] = { 0x50, 0x80 };
static u8 mt352_adc_ctl_1_cfg [] = { 0x8E, 0x40 };
static u8 mt352_agc_cfg [] = { 0x67, 0x28, 0xa1 };
static u8 mt352_capt_range_cfg[] = { 0x75, 0x32 };
mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config));
udelay(2000);
mt352_write(fe, mt352_reset, sizeof(mt352_reset));
mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg));
mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg));
mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg));
return 0;
}
Home |
Main Index |
Thread Index