[linux-dvb] Problem with latest v4l-dvb hg

timf timf at iinet.net.au
Sat Jun 7 07:42:31 CEST 2008


timf wrote:
> Mauro Carvalho Chehab wrote:
>   
>> On Fri, 06 Jun 2008 22:59:10 +0200
>> hermann pitton <hermann-pitton at arcor.de> wrote:
>>
>>   
>>     
>>> Hi,
>>>
>>> Am Samstag, den 07.06.2008, 03:00 +0800 schrieb timf:
>>>     
>>>       
<snip>

Hi all,

Something very strange:
If in saa7134-dvb.c I do this:

<snip>
static int configure_tda827x_fe_kw210(struct saa7134_dev *dev,
                struct tda1004x_config *cdec_conf,
                struct tda827x_config *tuner_conf)
{
    dev->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, 
&dev->i2c_adap);
    if (dev->dvb.frontend) {
/*        if (cdec_conf->i2c_gate)
            dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; */
        if (dvb_attach(tda827x_attach, dev->dvb.frontend,
                   cdec_conf->tuner_address,
                   &dev->i2c_adap, tuner_conf))
            return 0;

        wprintk("no tda827x tuner found at addr: %02x\n",
                cdec_conf->tuner_address);
    }
    return -EINVAL;
}
<snip>
    case SAA7134_BOARD_KWORLD_DVBT_210:
/*        if (configure_tda827x_fe(dev, &kworld_dvb_t_210_config, */
        if (configure_tda827x_fe_kw210(dev, &kworld_dvb_t_210_config,
                     &tda827x_cfg_2) < 0)
            goto dettach_frontend;
        break;
<snip>
then I can scan all available DVB-T channels, and view them.
If I leave it as original, it won't scan/view SBS.

Can someone tell me what part does this play?

        if (cdec_conf->i2c_gate)
            dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl;

I use this:
# Australia / Perth (Roleystone transmitter)
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
# SBS
T 704500000 7MHz 2/3 NONE QAM64 8k 1/8 NONE
# ABC
T 725500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Seven
T 746500000 7MHz 2/3 NONE QAM64 8k 1/16 NONE
# Nine
T 767500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE
# Ten
T 788500000 7MHz 3/4 NONE QAM64 8k 1/16 NONE

Regards,
Timf



More information about the linux-dvb mailing list