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

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

 



sorry for the wrong subject.

On Wed, Mar 26, 2008 at 11:02 AM, Cheng-Min Lien <mimic0310@xxxxxxxxx> wrote:
> Hi all,
>
>  After using Mauro's patch, I try to set the gpio pin in function
>  "saa7134_xc2028_callback".
>  Now, I can watch analog TV.
>  The  GPIO pin 21 seems the reset pin for tuner.
>  The mt352 demod is still no response....
>
>  ===========================================================
>  static int saa7134_xc2028_callback(struct saa7134_dev *dev,
>                    int command, int arg)
>  {
>
>     switch (command) {
>     case XC2028_TUNER_RESET:
>         saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
>         saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
>         saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
>         saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
>         saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
>         saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
>         saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
>                0x0001e000, 0x0001e000);
>
>         #if 1
>         saa7134_set_gpio(dev, 21, 0);
>         msleep(20);
>         saa7134_set_gpio(dev, 21, 1);
>         #endif
>
>         return 0;
>     }
>     return -EINVAL;
>  }
>  ====================================================================
>

_______________________________________________
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