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

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

 



Hi Richard,

On Tue, 12 Feb 2008 18:15:09 +0000
"Richard (MQ)" <osl2008@xxxxxxxxxxxxxx> wrote:

Sorry for a late answer. Too busy from my side :(

> > please forward the errors that it might produce. You may forward the full dmesg
> > errors to me in priv directly. I prefer if you don't generate a tarball, since
> > makes easier for me to comment, the results, if needed.

> Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c scan: found device @ 0x1e  [???]
> Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]

The issue here is that tuner-xc3028 weren't detected. It should have found a
device at 0xc2.

This could happen on two cases:

1) Some saa713x GPIO is needed before we can see xc3028. The better would be to
take a look on what windows driver is doing with GPIO's. This link helps you to
understand what should be done on windows:

http://www.linuxtv.org/v4lwiki/index.php/GPIO_pins

2) You need to open an i2c gate on your demod chip. In this case, some commands
need to be sent to your demod for it to open the i2c gate. 

I suspect that, on your case, it is (1). Please try the enclosed patch.

---

Enable GPIO's for AV A16D

From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>

diff -r 3580392c30da linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c	Thu Mar 13 10:57:22 2008 -0300
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c	Thu Mar 13 11:43:45 2008 -0300
@@ -5499,6 +5499,7 @@ int saa7134_board_init1(struct saa7134_d
 	case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
 	case SAA7134_BOARD_AVERMEDIA_M115:
 	case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
+	case SAA7134_BOARD_AVERMEDIA_A16D:
 		/* power-up tuner chip */
 		saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   0xffffffff, 0xffffffff);
 		saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);


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