[linux-dvb] TwinhanDTV Sat CI 1030D (VP-1030C)
Robert Kloibhofer
r.kloibhofer at inode.at
Sat Jul 9 23:49:18 CEST 2005
Hello!
I have got a new twinhan card, and all my attempts to get this card running have failed so far.
There are no visible differeces between my card and the VP-1030C, as shown on the wiki
(http://www.linuxtv.org/wiki/index.php/Twinhan_VP-1030C). only some stickers are different:
- no MAC address sticker and the model number on the other sticker shows 1030D instead of VP-1030C
- the tuner is covered by a twinhan-logo, however there seems to be a LG-tuner below.
I'm running Debian testing (amd64) with Kernel 2.6.11, compiled from Debian supplied sources.
I have tried some patches i have found on [linux-dvb] to the debian kernel sources:
- bttv-cards.c patch from April, which prevents the bttv module from hanging the system (works).
2nd part of the patch didn't apply, since the corresponding code seems to be unavailable in the debian-sources.
- bttv-i2c patch from June, which should correct some i2c communication problems. Did make no difference though.
The 3 twinhan Patches from February didn't apply correctly.
Analog receiption is working (no cable prob),
and scan finds about half of the available channels (see below).
I'll appreciate any help as well as i'd be happy to help getting this card running on linux.
Robert
=======================
# modprobe bttv i2c_hw=1 card=0x71
(omission of 'i2c_hw' and 'card' options make no difference, card=0x68 hangs the system)
from kern.log:
Jul 9 19:27:55 okibil kernel: Linux video capture interface: v1.00
Jul 9 19:27:55 okibil kernel: bttv: driver version 0.9.15 loaded
Jul 9 19:27:55 okibil kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Jul 9 19:27:55 okibil kernel: bttv: Bt8xx card found (0).
Jul 9 19:27:55 okibil kernel: ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 18 (level, low) -> IRQ 18
Jul 9 19:27:55 okibil kernel: bttv0: Bt878 (rev 17) at 0000:00:0d.0, irq: 18, latency: 64, mmio: 0xf5300000
Jul 9 19:27:55 okibil kernel: bttv0: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem ID is
1822:0001
Jul 9 19:27:55 okibil kernel: bttv0: using: Twinhan DST + clones [card=113,autodetected]
Jul 9 19:27:55 okibil kernel: bttv0: gpio: en=00000000, out=00000000 in=00f1befd [init]
Jul 9 19:27:55 okibil kernel: bttv0: using tuner=4
Jul 9 19:27:55 okibil kernel: bttv0: add subdevice "dvb0"
# modprobe dst dst_debug=1
# modprobe dvb_bt8xx debug=1
from kern.log:
Jul 9 19:29:11 okibil kernel: bt878: AUDIO driver version 0.0.0 loaded
Jul 9 19:29:11 okibil kernel: bt878: Bt878 AUDIO function found (0).
Jul 9 19:29:11 okibil kernel: ACPI: PCI interrupt 0000:00:0d.1[A] -> GSI 18 (level, low) -> IRQ 18
Jul 9 19:29:11 okibil kernel: bt878(0): Bt878 (rev 17) at 00:0d.1, irq: 18, latency: 64, memory: 0xf5400000
Jul 9 19:29:40 okibil kernel: dvb_bt8xx: identified card0 as bttv0
Jul 9 19:29:40 okibil kernel: DVB: registering new adapter (bttv0).
Jul 9 19:29:40 okibil kernel: read_dst reply is 0xff
Jul 9 19:29:40 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:29:40 okibil kernel: read_dst reply is 0x0
Jul 9 19:29:40 okibil kernel: dst_check_ci: recognize DSTMCI
Jul 9 19:29:40 okibil kernel: DST type : satellite
Jul 9 19:29:40 okibil kernel: DST type flags : 0x1 newtuner
Jul 9 19:29:40 okibil kernel: DVB: registering frontend 0 (DST DVB-S)...
when running szap:
Jul 9 19:38:23 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:23 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:23 okibil kernel: read_dst reply is 0x0
Jul 9 19:38:23 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:23 okibil kernel: dst_wait_dst_ready: dst wait ready after 17
Jul 9 19:38:23 okibil kernel: read_dst reply is 0x0
Jul 9 19:38:24 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:24 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:24 okibil kernel: read_dst reply is 0x0
Jul 9 19:38:24 okibil kernel: dst_write_tuna: type_flags 0x1
Jul 9 19:38:24 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:24 okibil kernel: dst_wait_dst_ready: dst wait ready after 1
Jul 9 19:38:24 okibil kernel: read_dst reply is 0x9
Jul 9 19:38:24 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:24 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:24 okibil kernel: read_dst reply is 0x7
Jul 9 19:38:25 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:25 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:25 okibil kernel: read_dst reply is 0x7
Jul 9 19:38:25 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:25 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:25 okibil kernel: read_dst reply is 0x7
Jul 9 19:38:26 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:26 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:26 okibil kernel: read_dst reply is 0x7
Jul 9 19:38:26 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:26 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:26 okibil kernel: read_dst reply is 0x7
Jul 9 19:38:27 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:27 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:27 okibil kernel: read_dst reply is 0x7
Jul 9 19:38:27 okibil kernel: read_dst reply is 0xff
Jul 9 19:38:27 okibil kernel: dst_wait_dst_ready: dst wait ready after 0
Jul 9 19:38:27 okibil kernel: read_dst reply is 0x7
...
# scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 5
>>> tune to: 12551:v:0:22000
WARNING: >>> tuning failed!!!
>>> tune to: 12551:v:0:22000 (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.
# scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-28.2E
scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-28.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 10773000 H 22000000 5
>>> tune to: 10773:h:0:22000
0x0000 0x0c14: pmt_pid 0x0c14 SES ASTRA -- MMS03C (running)
0x0000 0x1da0: pmt_pid 0x1da0 SES ASTRA -- MediaSat (running)
0x0000 0x1d82: pmt_pid 0x1d82 SES ASTRA -- Proxy_02 (running)
0x0000 0x1d81: pmt_pid 0x1d81 SES ASTRA -- T-DSL VPN 1 (running)
0x0000 0x1d80: pmt_pid 0x1d80 SES ASTRA -- DSL-MCST_02 (running)
0x0000 0x1d7f: pmt_pid 0x1d7f SES ASTRA -- TDSL Proxy_1 (running)
0x0000 0x1d84: pmt_pid 0x1d84 SES ASTRA -- Sat at Once (running)
0x0000 0x1edc: pmt_pid 0x1edc SES ASTRA -- INT (running)
Network Name 'ASTRA'
>>> tune to: 12640:v:0:22000
WARNING: >>> tuning failed!!!
>>> tune to: 12640:v:0:22000 (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 11685:v:0:22000
0x0000 0x75f9: pmt_pid 0x0401 TVC -- TVC INT. (running)
0x0000 0x75fa: pmt_pid 0x0402 ANTV -- ANDALUC\uffffA TV (running)
0x0000 0x75fb: pmt_pid 0x0403 ETB -- EUSKADI TV (running)
0x0000 0x75fc: pmt_pid 0x0404 TMAD.S -- TM SAT/LAOTRA (running)
0x0000 0x75ff: pmt_pid 0x0400 MEZZO -- MEZZO (running, scrambled)
0x0000 0x7602: pmt_pid 0x040a CNN+ -- CNN+ (running, scrambled)
0x0000 0x760c: pmt_pid 0x041b CMACLS -- CINEM. CL\uffffSICO (running, scrambled)
0x0000 0x760d: pmt_pid 0x041c FDFIC -- FDF (running, scrambled)
0x0000 0x760e: pmt_pid 0x041d TVG -- TV GALICIA (running)
Network Name 'ASTRA'
>>> tune to: 12581:v:0:22000
WARNING: >>> tuning failed!!!
>>> tune to: 12581:v:0:22000 (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 11875:h:0:27500
WARNING: >>> tuning failed!!!
>>> tune to: 11875:h:0:27500 (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 10979:v:0:22000
0x0000 0x77ba: pmt_pid 0x0400 DIGITAL+ -- CINEMAN\uffffA EXTRA (running, scrambled)
0x0000 0x77bb: pmt_pid 0x0401 CLASIC -- CL\uffffSICO (running, scrambled)
0x0000 0x77bc: pmt_pid 0x0402 24H -- 24 HORAS (running, scrambled)
0x0000 0x77bd: pmt_pid 0x0404 CMA30 -- CINEMAN\uffffA...30 (running, scrambled)
0x0000 0x77c0: pmt_pid 0x0406 TLNV -- TELENOVELAS (running, scrambled)
0x0000 0x77c1: pmt_pid 0x0408 HOLLYW -- HOLLYWOOD (running, scrambled)
0x0000 0x77c2: pmt_pid 0x0409 HIST -- CANAL HISTORIA (running, scrambled)
0x0000 0x77c5: pmt_pid 0x0407 CANAR -- TV CANARIA (running)
Network Name 'ASTRA'
>>> tune to: 12168:v:0:27500
...
I think, Astra-19.2E should be the correct tuning-data-file.
Using Astra-28.2E, I have created a channels.conf, inclunding 232 channels.
According to Astra Website, there should be 473.
# szap -r ARTE
reading channels from file '/home/trebor/.szap/channels.conf'
zapping to 164 'ARTE':
sat 0, frequency = 11567 MHz V, symbolrate 22000000, vpid = 0x0000, apid = 0x0000
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
FE_DISEQC_SEND_BURST failed: Operation not supported
status 1f | signal 4c00 | snr 17b1 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 00 | signal 4c00 | snr 17a4 | ber fffffffe | unc fffffffe |
status 1f | signal 4c00 | snr 1739 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1720 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 171d | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1731 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 172a | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 171a | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1734 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1754 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 17fe | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1720 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1612 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 174d | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 170f | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 172c | ber fffffffe | unc fffffffe | FE_HAS_LOCK
status 1f | signal 4c00 | snr 1749 | ber fffffffe | unc fffffffe | FE_HAS_LOCK
....
i have tried inserting bttv with some tuner options. in this case szap output was:
reading channels from file '/home/trebor/.szap/channels.conf'
# szap ARTE -r
zapping to 164 'ARTE':
sat 0, frequency = 11567 MHz V, symbolrate 22000000, vpid = 0x0000, apid = 0x0000
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
FE_DISEQC_SEND_BURST failed: Operation not supported
status 00 | signal 0000 | snr 0000 | ber fffffffe | unc fffffffe |
status 00 | signal 0000 | snr 0000 | ber fffffffe | unc fffffffe |
status 00 | signal 0000 | snr 0000 | ber fffffffe | unc fffffffe |
...
# mplayer dvb://ARTE
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvb://ARTE.
code taken from dvbstream for mplayer v0.4pre1 - (C) Dave Chapman 2001
Released under the GPL.
Latest version available from http://www.linuxstb.org/
dvb_tune Freq: 11567000
DISEQC SETTING FAILED
dvb_tune, TUNING FAILED
ERROR, COULDN'T SET CHANNEL 163: Failed to open dvb://ARTE
Exiting... (End of file)
# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]0000:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:00:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
0000:00:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
# cat /proc/pci
...
Bus 0, device 13, function 0:
Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 17).
IRQ 18.
Master Capable. Latency=64. Min Gnt=16.Max Lat=40.
Prefetchable 32 bit memory at 0xf5300000 [0xf5300fff].
Bus 0, device 13, function 1:
Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 17).
IRQ 18.
Master Capable. Latency=64. Min Gnt=4.Max Lat=255.
Prefetchable 32 bit memory at 0xf5400000 [0xf5400fff].
...
# lsmod
Module Size Used by
dvb_bt8xx 13252 0
dvb_core 90276 1 dvb_bt8xx
nxt6000 8004 1 dvb_bt8xx
mt352 8196 1 dvb_bt8xx
dst 14536 1 dvb_bt8xx
bt878 12840 2 dvb_bt8xx,dst
sp887x 8900 1 dvb_bt8xx
cx24110 8900 1 dvb_bt8xx
bttv 179792 2 dvb_bt8xx,bt878
video_buf 25220 1 bttv
firmware_class 11584 3 dvb_bt8xx,sp887x,bttv
i2c_algo_bit 10312 1 bttv
v4l2_common 7808 1 bttv
btcx_risc 5832 1 bttv
tveeprom 16088 1 bttv
videodev 12224 1 bttv
md5 4800 1
ipv6 268288 10
nfs 214896 5
lockd 68912 2 nfs
sunrpc 157112 8 nfs,lockd
snd_via82xx 30240 1
snd_ac97_codec 83536 1 snd_via82xx
gameport 5056 1 snd_via82xx
snd_mpu401_uart 8256 1 snd_via82xx
snd_rawmidi 26592 1 snd_mpu401_uart
snd_seq_device 9808 1 snd_rawmidi
snd_ioctl32 27968 0
snd_pcm_oss 56608 1
snd_mixer_oss 20288 1 snd_pcm_oss
snd_pcm 99020 4 snd_via82xx,snd_ac97_codec,snd_ioctl32,snd_pcm_oss
snd_timer 26184 1 snd_pcm
snd_page_alloc 11464 2 snd_via82xx,snd_pcm
snd 58664 10 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_ioctl32,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11424 2 snd
reiserfs 234096 4
nvidia 4570492 12
ext3 144848 4
jbd 61104 1 ext3
mbcache 10696 1 ext3
ide_generic 1664 0 [permanent]
via82cxxx 14128 0 [permanent]
trm290 4996 0 [permanent]
triflex 4544 0 [permanent]
slc90e66 6784 0 [permanent]
sis5513 17104 0 [permanent]
siimage 13184 0 [permanent]
serverworks 9680 0 [permanent]
sc1200 8128 0 [permanent]
rz1000 3200 0 [permanent]
piix 12292 0 [permanent]
pdc202xx_old 12480 0 [permanent]
opti621 5124 0 [permanent]
ns87415 4936 0 [permanent]
hpt366 20736 0 [permanent]
hpt34x 5888 0 [permanent]
generic 5248 0 [permanent]
cy82c693 5384 0 [permanent]
cs5530 6144 0 [permanent]
cs5520 5376 0 [permanent]
cmd64x 12684 0 [permanent]
atiixp 6864 0 [permanent]
amd74xx 15344 0 [permanent]
alim15x3 12568 0 [permanent]
aec62xx 8128 0 [permanent]
pdc202xx_new 10176 0 [permanent]
usbhid 35968 0
tuner 31016 0
ide_cd 44680 0
cdrom 43176 1 ide_cd
ehci_hcd 35080 0
uhci_hcd 33696 0
ohci1394 35524 0
ieee1394 385688 1 ohci1394
shpchp 100840 0
pci_hotplug 13060 1 shpchp
sd_mod 19288 6
w83627hf 32936 0
eeprom 8784 0
i2c_sensor 4096 2 w83627hf,eeprom
i2c_isa 2752 0
i2c_viapro 9108 0
i2c_core 24728 15 dvb_bt8xx,nxt6000,mt352,dst,sp887x,cx24110,bttv,i2c_algo_bit,tveeprom,tuner,w83627hf,eeprom,i2c_sensor,i2c_isa,i2c_viapro
tsdev 8896 0
evdev 10752 0
sk98lin 167776 0
psmouse 29580 0
sata_via 9796 5
libata 53128 1 sata_via
scsi_mod 153488 2 sd_mod,libata
ide_disk 17920 5
ide_core 149060 28 ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new,ide_cd,ide_disk
fbcon 39200 0
font 9024 1 fbcon
bitblit 5952 1 fbcon
vesafb 9380 0
cfbcopyarea 4352 1 vesafb
cfbimgblt 3264 1 vesafb
cfbfillrect 4352 1 vesafb
unix 30408 802
More information about the linux-dvb
mailing list