[linux-dvb] TWINHAN vp-2021 DVB-C card tuning failed

jeff goole jeff_goole at hotmail.com
Fri Jul 15 20:40:04 CEST 2005


Hi there,

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 
switches for each modules(all set to 5) 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 2.6.12:

CARD LOADING INFO:
-----------------------------------------------------------------------------------------
Linux video capture interface: v1.00
tveeprom: tveeprom_attach_adapter: id 0x0
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:04.0[A] -> GSI 16 (level, low) -> IRQ 177
bttv0: Bt878 (rev 17) at 0000:02:04.0, irq: 177, latency: 64, mmio: 
0xfc200000
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=00f7a0fe [init]
tveeprom: tveeprom_attach_adapter: id 0x10005
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:04.1[A] -> GSI 16 (level, low) -> IRQ 177
bt878(0): Bt878 (rev 17) at 02:04.1, irq: 177, latency: 64, memory: 
0xfc201000
dvb_bt8xx: identified card0 as bttv0
DVB: registering new adapter (bttv0).
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_symbolrate: set symrate 6900000
dst_write_tuna: type_flags 0x5b
dst_set_freq: set Frequency 738000000
dst_set_symbolrate: set symrate 6900000
dst_write_tuna: type_flags 0x5b
dst_set_freq: set Frequency 738000000
dst_set_symbolrate: set symrate 6900000
dst_write_tuna: type_flags 0x5b
--------------------------------------------------------------------------------------

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_xxxx branch of bt8xx, so I got a kernel of 
2.6.11.12 and tried it, 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.

Followings are messages under 2.6.11.12:
---------------------------------------------------------------------------------------
SCAN dmesg:

dst_write_tuna: type_flags 0x3
read_dst reply is 0xff
dst_wait_dst_ready: dst wait NOT ready after 200
dst_write_tuna: type_flags 0x3
read_dst reply is 0xff
dst_wait_dst_ready: dst wait NOT ready after 200
dst_write_tuna: type_flags 0x3
read_dst reply is 0xff
//(again and again......)

CARD LOADING:
tveeprom: tveeprom_attach_adapter: id 0x0
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:04.0[A] -> GSI 16 (level, low) -> IRQ 177
bttv0: Bt878 (rev 17) at 0000:02:04.0, irq: 177, latency: 64, mmio: 
0xfc200000
bttv0: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem ID is 
1822:0001
bttv0: using: Twinhan DST + clones [card=113,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00f7a6ff [init]
tveeprom: tveeprom_attach_adapter: id 0x10005
bttv0: using tuner=4
tuner: Unknown parameter `tuner_debug'
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI interrupt 0000:02:04.1[A] -> GSI 16 (level, low) -> IRQ 177
bt878(0): Bt878 (rev 17) at 02:04.1, irq: 177, latency: 64, memory: 
0xfc201000
dvb_bt8xx: identified card0 as bttv0
DVB: registering new adapter (bttv0).
read_dst reply is 0xff
dst_wait_dst_ready: dst wait ready after 0
read_dst reply is 0x0
dst_check_ci: recognize DCT-CI
DST type : cable
DST type flags : 0x1 newtuner 0x2 ts204
DVB: registering frontend 0 (DST DVB-C)...

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

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

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/





More information about the linux-dvb mailing list