Return-path: Received: from wa-out-1112.google.com ([209.85.146.179]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JeLuL-0002TG-Ce for linux-dvb@linuxtv.org; Wed, 26 Mar 2008 04:02:37 +0100 Received: by wa-out-1112.google.com with SMTP id m28so4130965wag.13 for ; Tue, 25 Mar 2008 20:02:27 -0700 (PDT) Message-ID: Date: Wed, 26 Mar 2008 11:02:27 +0800 From: "Cheng-Min Lien" To: linux-dvb@linuxtv.org MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: 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@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb