[linux-dvb] Twinhan DVB-C vp-2021 minicab pci card TUNING FAILED

jeff goole jeff_goole at hotmail.com
Mon Jul 18 07:34:53 CEST 2005


Hello Manu,

Sorry for sending this mail again, because I forgot add your address in the 
first mail...

I've struggled with my new TWINHAN MINICAB DVB-C card (vp-2021) for weeks, 
but failed. I tested it under M$ windows XP and succeeded.

When I tested it on kernel 2.6.12, all the relative modules (bttv, dst, 
dst_ca, dvb_bt8xx etc.) were loaded without error. But when I used scan  to 
tune channels, scan always feed me with "tuning failed". I opened the debug 
switch for each modules(set 5 for all) and I didn't see any obvious bad 
message from dmesg.

I've update kernel 2.6.12 with newest patch (12 Jul ,linuxtv.org/download), 
it didn't help too.
Also I went through divers source of DVB/bt8xx/, and found that the driver 
recognized my card as DCT-CI with CA features. But I'm very sure that this 
card  doesn't have any relation to CA, it's only a pity mini one.
So I tried to replace code of DCT-CI section with code of DCTNEW section in 
"dst_types dst_tlist[]" in "dst.c", but it didn't change anything. Below is 
related info on core 2.6.12:

CARD LOADING INFO:
-----------------------------------------------------------------------------------------
Linux video capture interface: v1.00
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:02:06.0[A] -> GSI 17 (level, low) -> IRQ 193
bttv0: Bt878 (rev 17) at 0000:02:06.0, irq: 193, latency: 64, mmio: 
0xfc200000
bttv0: using: Twinhan DST + clones [card=113,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [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:02:06.1[A] -> GSI 17 (level, low) -> IRQ 193
bt878(0): Bt878 (rev 17) at 02:06.1, irq: 193, latency: 64, memory: 
0xfc201000
dvb_bt8xx: identified card0 as bttv0
DVB: registering new adapter (bttv0).
rdc_8820_reset: Resetting DST
dst_gpio_outb: mask=[0004], enbb=[0004], outhigh=[0000]
dst_gpio_outb: mask=[0004], enbb=[0004], outhigh=[0004]
dst_comm_init: Initializing DST..
dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
rdc_reset_state: Resetting state machine
dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000]
dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002]
write_dst writing 00 06 00 00 00 00 00 fa
dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
read_dst reply is 0xff
dst_wait_dst_ready: dst wait ready after 0
read_dst reply is 0x0
0x44 0x43 0x54 0x2d 0x43 0x49 0x6c
dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst_get_device_id: Recognise [DCT-CI]
DST type : cable
DST type flags : 0x1 newtuner 0x2 ts204 0x8 firmware version = 1 0x10 
firmware version = 2
DVB: registering frontend 0 (DST DVB-C)...

-------------------------------------------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++
SCAN  message
-------------------------------------------------------------------------------------
FROM scan:
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 738000000 6900000 0 3
>>>tune to: 738000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64
WARNING: >>> tuning failed!!!
>>>tune to: 738000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64 (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

FROM dmesg(repeated hundreds times, full of the screen:):

dst_set_freq: set Frequency 738000000
Set Frequency = [738000000]
dst_set_symbolrate: set symrate 6900000
dst_write_tuna: type_flags 0x5b
dst_comm_init: Initializing DST..
dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
rdc_reset_state: Resetting state machine
dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000]
dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002]
write_dst writing 09 00 0b 42 d0 00 1a f4 80 4c
dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
read_dst reply is 0xff
dst_wait_dst_ready: dst wait ready after 116
read_dst reply is 0x9
0x0 0x0 0x0 0x50 0x4b 0x4b 0x96 0x8 0x73

--------------------------------------------------------------------------------------

I checked google and linux-dvb maillist, it seemed someone had made the same 
card working with CVS code at the end of year 2004 and another said 
everything was ok before TWINHAN_xxx branch of bt8xx, so I got all kernels 
of 2.6.11.x and 2.6.12.x and tried them, then also try to downgrade DVB 
driver to late 2004 CVS  stuff, but still failed.
I also noticed that there is a LED on the card, when in 2.6.12, the LED 
twinkled during tuning against no response in 2.6.11.12.


I am totally frustrated now, really need your help.
BTW, as a newbie, I have succeeded in running a TechnoTrend full card on my 
friends' machine, it works great! Many thanks to all linuxdvb devels.

Jeff

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





More information about the linux-dvb mailing list