[linux-dvb] i2c problem with twinhan DST-S VP-1020/FC3?

bb linuxtv22222 at yahoo.ca
Thu Feb 24 04:09:59 CET 2005


Hi, all,

I am trying to have a VP-1020 working and I have been playing this for a 
few weeks without luck.  I have 2.6.11-rc3-bk7 installed and the lastest 
dvb-kernel from cvs (updated yesterday), I keep getting error when 
trying to load the modules. I checked the code and I think the problem 
happens inside write_dst when called from dst_check_ci. It seems all 
write_dst calls would fail. I am guessing this is actually becasue 
almost all i2c writes to the card failed.

Please help!

This is how I load the modules:
        modprobe -v  bttv i2c_hw=1 card=0x71 bttv_debug=2 bttv_verbose=2 
bttv_gpio=1
        insmod ./sp887x.ko
        insmod ./nxt6000.ko
        insmod ./or51211.ko
        insmod ./bt878.ko
        insmod ./dst.ko dst-debug=1 dst-verbose=1
        insmod ./dvb-bt8xx.ko


Here's the dmesg:
===================================================
bt878: AUDIO driver version 0.0.0 loaded
bus pci: add driver bt878
bt878: Bt878 AUDIO function found (0).
bt878(0): Bt878 (rev 17) at 00:0b.1, irq: 11, latency: 64, memory: 
0xfedff000
bound device '0000:00:0b.1' to driver 'bt878'
bus bttv-sub: add driver dvb-bt8xx
DVB: registering new adapter (bttv0).
CLASS: registering class device: ID = 'dvb0.demux0'
class_hotplug - name = dvb0.demux0
CLASS: registering class device: ID = 'dvb0.dvr0'
class_hotplug - name = dvb0.dvr0
CLASS: registering class device: ID = 'dvb0.net0'
class_hotplug - name = dvb0.net0
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern write]
bttv0: gpio: en=00000003, out=00000002 in=00f5fffc [extern enable]
bttv0: gpio: en=00000003, out=00000000 in=00f5fffc [extern write]
bttv0: gpio: en=00000003, out=00000000 in=00f5fffc [extern enable]
bttv0: gpio: en=00000003, out=00000002 in=00f5fffc [extern write]
write_dst writing 0x00 0x06 0x00 0x00 0x00 0x00 0x00 0xfa
i2c_adapter i2c-0: master_xfer: with 1 msgs.
write_dst: write_dst error (cnt=0, err == -5, len == 0x08, b0 == 0x00)
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern write]
i2c_adapter i2c-0: master_xfer: with 1 msgs.
write_dst: write_dst error (cnt=1, err == -5, len == 0x08, b0 == 0x00)
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern write]
i2c_adapter i2c-0: master_xfer: with 1 msgs.
write_dst: write_dst error (cnt=2, err == -5, len == 0x08, b0 == 0x00)
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern write]
i2c_adapter i2c-0: master_xfer: with 1 msgs.
write_dst: write_dst error (cnt=3, err == -5, len == 0x08, b0 == 0x00)
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern enable]
bttv0: gpio: en=00000001, out=00000000 in=00f5fffe [extern write]
bttv0: gpio: en=00000000, out=00000000 in=00f5ffff [extern enable]
dst_check_ci: write not successful, maybe no card?
dvb-bt8xx: A frontend driver was not found for device 109e/0878 
subsystem 0000/0000
bound device 'dvb0' to driver 'dvb-bt8xx'
==========================================================

By the way, if I use the standard FC3 install, I can load all the 
modules and it can even find dst as the frontend driver. However, if I 
use dvbscan to scan any frenquencies, it gave me nothing. All the 
freqencies would fail.  I am not sure if the problem is my frequency file.

Please help!
Ben




More information about the linux-dvb mailing list