[linux-dvb] Twinhan 1025 problem - Knoppix works, FC4 & Ubuntu don't

Ray Clouse rclouse at gmail.com
Tue Feb 7 17:39:08 CET 2006


We're still hacking at this problem.  When we boot Knoppix 4.0 or
Kanotix VDR 1.2, the card is recognized fine.  When we boot Fedora
Core 4 or an Ubuntu live CD, the frontend won't load:

i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5100
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 [LNK3] enabled at IRQ 5
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNK3] -> GSI 5 (level,
low) -> IRQ 5
bttv0: Bt878 (rev 17) at 0000:01:08.0, irq: 5, latency: 32, mmio: 0xe0000000
bttv0: detected: Twinhan VisionPlus DVB [card=113], PCI subsystem ID
is 1822:0001
bttv0: using: Twinhan DST + clones [card=113,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00d500ff [init]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:01:08.1[A] -> Link [LNK3] -> GSI 5 (level,
low) -> IRQ 5
bt878_probe: card id=[0x11822],[ Twinhan VisionPlus DVB ] has DVB functions.
bt878(0): Bt878 (rev 17) at 01:08.1, irq: 5, latency: 32, memory: 0xe0001000
DVB: registering new adapter (bttv0).
write_dst: writing [ 00 06 00 00 00 00 00 fa ]
write_dst: _write_dst error (err == -5, len == 0x08, b0 == 0x00)
dst_probe: unknown device.
frontend_init: Could not find a Twinhan DST.
dvb-bt8xx: A frontend driver was not found for device 109e/0878
subsystem 1822/0001

And that's with the latest v4l-dvb drivers pulled from Mercurial last
night.  We changed the printks to DST_ERROR in write_dst.

We've tracked the problem down to a call in dst_probe:
dst_get_device_id, which calls write_dst, which calls i2c_transfer,
which returns this error: err == -5, len == 0x08, b0 == 0x00.

The Kanotix dmesg looks like this:

bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 5 (level, low) -> IRQ 5
bttv0: Bt878 (rev 17) at 0000:01:08.0, irq: 5, latency: 32, mmio: 0xe0000000
bttv0: detected: Twinhan VisionPlus DVB [card=113], PCI subsystem ID
is 1822:0001
bttv0: using: Twinhan DST + clones [card=113,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00d500ff [init]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
input: PC Speaker
Adding 2096440k swap on /dev/hda7.  Priority:-1 extents:1
NET: Registered protocol family 17
eth0: no link during initialization.
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI interrupt 0000:01:08.1[A] -> GSI 5 (level, low) -> IRQ 5
bt878(0): Bt878 (rev 17) at 01:08.1, irq: 5, latency: 32, memory: 0xe0001000
DVB: registering new adapter (bttv0).
dst_check_ci: recognize DST-03T
DST type : satellite
DST type flags : 0x2 ts204 0x4 symdiv
DVB: registering frontend 0 (DST DVB-S)...

What is different about i2c in the Knoppix and Kanotix kernels from
the Ubuntu and FC4 kernels?  Is there some firmware in the card that
needs to be loaded?

Another thing: in FC4 it's doing a dst_probe, but in Kanotix it's
doing a dst_check_ci.  We can't find that routine in bttv 0.9.16.  Is
that a change from 15?



More information about the linux-dvb mailing list