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 Tue, 2008-03-18 at 16:17 -0300, Mauro Carvalho Chehab wrote:
> On Wed, 19 Mar 2008 03:18:32 +0900
> timf <timf@xxxxxxxxxxxx> wrote:
> 
> > Hi Mauro,
> > 
> > On Tue, 2008-03-18 at 10:30 -0300, Mauro Carvalho Chehab wrote:
> > > On Sat, 15 Mar 2008 18:33:56 +0900
> > > timf <timf@xxxxxxxxxxxx> wrote:
> > > 
> > > > [   15.000000] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid
> > > > TV/Radio (A16D) [card=137,autodetected]
> > > 
> > > 
> > > > [   15.296000] tuner' 2-0061: Setting mode_mask to 0x0e
> > > > [   15.296000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
> > > > [   15.296000] tuner' 2-0061: tuner 0x61: Tuner type absent
> > > 
> > > The above is not right. It should be using type=71 for the tuner.
> > > 
> > > I think I found the bug: the tuner addresses should be set to ADDR_UNSET,
> > > instead of keeping it blank.
> > > 
> > 6) Perhaps I misinterpreted where you meant to put ".tuner_addr =
> > ADDR_UNSET,"
> > but I now don't even get this:
> > > [   15.296000] tuner' 2-0061: Setting mode_mask to 0x0e
> > > [   15.296000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
> > > [   15.296000] tuner' 2-0061: tuner 0x61: Tuner type absent
> 
> Argh! I forgot to send the patch to the main tree. 
> 
> Ok, I've updated saa7134 at v4l-dvb:
> 	http://linuxtv.org/hg/v4l-dvb/rev/3029b981e42c
> 
> please, update again and let's see if this time, it will detect xc3028.
> 
> 
> 
> 
> Cheers,
> Mauro

Hi Mauro,

1) New install ubuntu, extract tip.tgz.
Now did this:

saa7134-cards.c
 	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);

and this:

	},
	[SAA7134_BOARD_AVERMEDIA_A16D] = {
		.name           = "AVerMedia Hybrid TV/Radio (A16D)",
		.audio_clock    = 0x187de7,
		.tuner_type     = TUNER_XC2028,
		.tuner_addr = ADDR_UNSET,
		.radio_addr = ADDR_UNSET,
		.inputs         = {{
			.name = name_tv,
			.vmux = 1,
			.amux = TV,
			.tv   = 1,
		}, {
			.name = name_svideo,
			.vmux = 8,
			.amux = LINE1,
		} },
		.radio = {
			.name = name_radio,
			.amux = LINE1,
		},
	},
	[SAA7134_BOARD_AVERMEDIA_M115] = {

make, sudo make install
Copied xc3028-v27.fw into /lib/firmware/2.6.22-14-generic
and rebooted.

2) dmesg:
<snip>
[   40.480304] Linux video capture interface: v2.00
[   40.550078] saa7130/34: v4l2 driver version 0.2.14 loaded
[   40.550592] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
[   40.550605] ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [APC2] -> GSI
17 (level, low) -> IRQ 17
[   40.550614] saa7133[0]: found at 0000:04:09.0, rev: 209, irq: 17,
latency: 32, mmio: 0xfdbff000
[   40.550621] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid
TV/Radio (A16D) [card=137,autodetected]
[   40.550630] saa7133[0]: board init: gpio is 2fa00
[   40.721605] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00
00 00 00 00 00 00
[   40.721614] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff
ff ff ff ff ff ff
[   40.721622] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff
00 0e ff ff ff ff
[   40.721628] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721635] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff
ff ff ff ff ff ff
[   40.721642] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721650] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721657] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721664] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721672] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721679] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721686] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721693] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721700] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721708] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.721715] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[   40.741576] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[   40.753552] saa7133[0]: i2c scan: found device @ 0xc2  [???]
[   40.864616] tuner' 2-0061: Setting mode_mask to 0x0e
[   40.864621] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
[   40.864624] tuner' 2-0061: tuner 0x61: Tuner type absent
[   40.864658] tuner' 2-0061: Calling set_type_addr for type=0,
addr=0xff, mode=0x02, config=0xffff8100
[   40.864662] tuner' 2-0061: set addr for type -1
[   40.876586] tuner-simple 2-0061: creating new instance
[   40.876589] tuner-simple 2-0061: type set to 0 (Temic PAL (4002 FH5))
[   40.876592] tuner' 2-0061: type set to Temic PAL (4002 FH5
[   40.876594] tuner' 2-0061: tv freq set to 400.00
[   40.888568] tuner' 2-0061: saa7133[0] tuner' I2C addr 0xc2 with type
0 used for 0x0e
[   40.888571] tuner' 2-0061: Calling set_type_addr for type=71,
addr=0xff, mode=0x04, config=0x00
[   40.888574] tuner' 2-0061: set addr for type 0
[   40.891404] tuner' 2-0061: switching to v4l2
[   40.891410] tuner' 2-0061: tv freq set to 400.00
[   40.901333] tuner' 2-0061: tv freq set to 400.00
[   40.913574] saa7133[0]: registered device video0 [v4l2]
[   40.913595] saa7133[0]: registered device vbi0
[   40.913616] saa7133[0]: registered device radio0
[   40.913706] tuner' 2-0061: Cmd TUNER_SET_STANDBY accepted for analog
TV
[   40.914165] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
[   40.914168] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI
22 (level, low) -> IRQ 22
[   40.914362] PCI: Setting latency timer of device 0000:00:10.1 to 64
[   40.924657] saa7134 ALSA driver for DMA sound loaded
[   40.924689] saa7133[0]/alsa: saa7133[0] at 0xfdbff000 irq 17
registered as card -2
[   41.759359] loop: module loaded
[   41.772156] lp0: using parport0 (interrupt-driven).
<snip>

3) No DVB, installed tvtime - no signal.

4) saa7133[0]: board init: gpio is 2fa00
Why is this gpio number different each boot?

5) Progress, but what does this have to do with my card?

[   40.876589] tuner-simple 2-0061: type set to 0 (Temic PAL (4002 FH5))
[   40.876592] tuner' 2-0061: type set to Temic PAL (4002 FH5

Regards,
Tim

_______________________________________________
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