Re: Any chance of help with v4l-dvb-experimental / Avermedia A16D please?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Mar 2008 14:47:54 +0900
timf <timf@xxxxxxxxxxxx> wrote:

> Hi Mauro,
> 
> I just had to quickly tell you that I built it with this, rebooted, clicked
> on tvtime, and waited anxiously watching a black screen - then WAHOO!
> A TV program I am viewing!!
Great!

I've committed the patch with what we currently have. Please test if analog
keeps working with the patch.

Now, it is time to work with the demod side.

Please, change the #if 0 to #if 1:
#if 0
                /* Not working yet */
                .mpeg           = SAA7134_MPEG_DVB,
#endif

And test to see if analog still works fine. If ok, please test the digital side.

You may need to figure out the proper parameters for mt352, on this part of the
code(at saa7134-dvb):

static int mt352_aver_a16d_init(struct dvb_frontend *fe)
{
        static u8 clock_config []  = { CLOCK_CTL,  0x38, 0x2d };
        static u8 reset []         = { RESET,      0x80 };
        static u8 adc_ctl_1_cfg [] = { ADC_CTL_1,  0x40 };
        static u8 agc_cfg []       = { AGC_TARGET, 0x28, 0xa0 };
        static u8 capt_range_cfg[] = { CAPT_RANGE, 0x33 };

        mt352_write(fe, clock_config,   sizeof(clock_config));
        udelay(200);
        mt352_write(fe, reset,          sizeof(reset));
        mt352_write(fe, adc_ctl_1_cfg,  sizeof(adc_ctl_1_cfg));
        mt352_write(fe, agc_cfg,        sizeof(agc_cfg));
        mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg));

        return 0;
}

You may need to try to change the above code, trying other existing mt352 code,
or using some tool to get the initialization code done by your windows driver.

Cheers,
Mauro

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux