[linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
timf
timf at iinet.net.au
Fri Mar 14 02:16:48 CET 2008
Hi Mauro,
Improved, but still no tuner-xc3028, no dvb.
Relevant part of my dmesg:
[
14.612000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/joystick/xpad.c: driver for Xbox controllers v0.1.6
[ 14.780000] Linux video capture interface: v2.00
[ 14.832000] saa7130/34: v4l2 driver version 0.2.14 loaded
[ 14.832000] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
[ 14.832000] ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [APC2] -> GSI
17 (level, low) -> IRQ 21
[ 14.832000] saa7133[0]: found at 0000:04:09.0, rev: 209, irq: 21,
latency: 32, mmio: 0xfdbff000
[ 14.832000] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid
TV/Radio (A16D) [card=137,autodetected]
[ 14.832000] saa7133[0]: board init: gpio is f000
[ 14.992000] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00
00 00 00 00 00 00
[ 14.992000] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff
00 0e ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 14.992000] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[ 15.120000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
[ 15.120000] tuner' 2-0061: tuner type not set
[ 15.120000] tuner' 2-0061: tuner type not set
[ 15.120000] saa7133[0]: registered device video0 [v4l2]
[ 15.120000] saa7133[0]: registered device vbi0
[ 15.120000] saa7133[0]: registered device radio0
[ 15.120000] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
[ 15.120000] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI
22 (level, low) -> IRQ 17
[ 15.120000] PCI: Setting latency timer of device 0000:00:10.1 to 64
[ 15.136000] saa7134 ALSA driver for DMA sound loaded
[ 15.136000] saa7133[0]/alsa: saa7133[0] at 0xfdbff000 irq 21
registered as card -2
To match with other firmware, I did chmod 644 xc3028-v27.fw
16 -rw-r--r-- 1 root root 16382 2007-10-13 13:43 v4l-cx25840.fw
8 -rw-r--r-- 1 root root 8192 2007-10-13 13:43
v4l-pvrusb2-24xxx-01.fw
8 -rw-r--r-- 1 root root 8192 2007-10-13 13:43
v4l-pvrusb2-29xxx-01.fw
72 -rw-r--r-- 1 root root 66220 2008-03-14 09:27 xc3028-v27.fw
4 drwxr-xr-x 2 root root 4096 2008-03-14 17:48 zd1211
timf at ubuntu:/lib/firmware/2.6.22-14-generic$
Regards,
Tim
On Thu, 2008-03-13 at 11:46 -0300, Mauro Carvalho Chehab wrote:
> Hi Richard,
>
> On Tue, 12 Feb 2008 18:15:09 +0000
> "Richard (MQ)" <osl2008 at googlemail.com> 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 at infradead.org>
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab at infradead.org>
>
> 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
More information about the linux-dvb
mailing list