[linux-dvb] TDA9887 Problem - FusionHDTV5 Lite

Michael Krufky mkrufky at linuxtv.org
Tue Oct 18 06:53:16 CEST 2005


Luis Ochoa wrote:
> OK, that didn't work either. Plain vanilla kernel (latest stable
> 2.6.13.4) configured with "just" what I need. CVS v4l + dvb. Same
> error. Now analog tv doesn't work either...

You have found quite a strange bug... It looks like the tda9887 module 
didn't load, and bttv got the tda9887 mixed up with the tua6034... I 
have no idea why or how this could have happened.  I have a patch that 
might fix this for you, but I don't think it should go into cvs.  Try 
this out and tell me what happens... (for curiosity's sake)

> dmesg:
> Linux video capture interface: v1.00
> bttv: driver version 0.9.16 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> bttv: Bt8xx card found (0).
> ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 5
> PCI: setting IRQ 5 as level-triggered
> ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNK0] -> GSI 5 (level,
> low) -> IRQ 5
> bttv0: Bt878 (rev 17) at 0000:02:02.0, irq: 5, latency: 32, mmio: 0xdb100000
> bttv0: detected: DViCO FusionHDTV 5 Lite [card=135], PCI subsystem ID
> is 18ac:d500
> bttv0: using: DViCO FusionHDTV 5 Lite [card=135,autodetected]
> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
> bttv0: using tuner=64
> tuner 0-0043: chip found @ 0x86 (bt878 #0 [sw])
> tuner 0-0043: type set to 64 (LG TDVS-H062F/TUA6034)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  this should be a tda9887

> tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  this is the tua6034

what went wrong?

> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: add subdevice "dvb0"
> bt878: AUDIO driver version 0.0.0 loaded
> bt878: Bt878 AUDIO function found (0).
> ACPI: PCI Interrupt 0000:02:02.1[A] -> Link [LNK0] -> GSI 5 (level,
> low) -> IRQ 5
> bt878(0): Bt878 (rev 17) at 02:02.1, irq: 5, latency: 32, memory: 0xdb101000
> 
> ............
> 
> #modprobe -v dvb-bt8xx
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/lgdt330x.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/or51211.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/cx24110.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/dvb-core/dvb-core.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/bt8xx/dst.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/bt8xx/dst_ca.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/sp887x.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/dvb-pll.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/mt352.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/frontends/nxt6000.ko
> insmod /lib/modules/2.6.13.4-MythBackend/kernel/drivers/media/dvb/bt8xx/dvb-bt8xx.ko
> 
> dmesg:
> 
> DVB: registering new adapter (bttv0).
> dvb_bt8xx: dvb_dmx_init failed (errno = -12)
> dvb-bt8xx: probe of dvb0 failed with error -12

The following patch should force bttv to probe the correct tuner at 0xc2 
...  It looks like the real problem here is in tda9887, but I'm baffled 
as to how/why.

Apply this to v4l-kernel cvs

-- 
Michael Krufky

-------------- next part --------------
Index: linux/drivers/media/video/bttv-cards.c
===================================================================
RCS file: /cvs/video4linux/v4l-kernel/linux/drivers/media/video/bttv-cards.c,v
retrieving revision 1.95
diff -u -p -r1.95 bttv-cards.c
--- linux/drivers/media/video/bttv-cards.c	16 Oct 2005 12:34:29 -0000	1.95
+++ linux/drivers/media/video/bttv-cards.c	18 Oct 2005 04:51:08 -0000
@@ -2700,7 +2700,7 @@ struct tvcard bttv_tvcards[] = {
 		.name           = "DViCO FusionHDTV 5 Lite",
 		.tuner          = 0,
 		.tuner_type     = TUNER_LG_TDVS_H062F,
-		.tuner_addr	= ADDR_UNSET,
+		.tuner_addr	= 0xc2,
 		.radio_addr     = ADDR_UNSET,
 		.video_inputs   = 3,
 		.audio_inputs   = 1,


More information about the linux-dvb mailing list