TerraTec Cinergy S2 PCI HD CI

From LinuxTVWiki
Jump to navigation Jump to search

Overview

Seems to be clone of AD-SP400 CI (Twinhan VP-1041) with other subsystemid.

Identification

lspci -v

 01:01.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01)
       Subsystem: TERRATEC Electronic GmbH Unknown device 1179
       Flags: bus master, medium devsel, latency 64, IRQ 5
       Memory at beaff000 (32-bit, prefetchable) [size=4K]

lspci -vv

 01:01.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01)
       Subsystem: TERRATEC Electronic GmbH Unknown device 1179
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
       Latency: 64 (2000ns min, 63750ns max)
       Interrupt: pin A routed to IRQ 5
       Region 0: Memory at beaff000 (32-bit, prefetchable) [size=4K]

lspci -vn

 01:01.0 0480: 1822:4e35 (rev 01)
       Subsystem: 153b:1179
       Flags: bus master, medium devsel, latency 64, IRQ 5
       Memory at beaff000 (32-bit, prefetchable) [size=4K]

lspci -vvn

 01:01.0 0480: 1822:4e35 (rev 01)
       Subsystem: 153b:1179
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
       Latency: 64 (2000ns min, 63750ns max)
       Interrupt: pin A routed to IRQ 5
       Region 0: Memory at beaff000 (32-bit, prefetchable) [size=4K]

Making it work

Installing on Debian etch with Multiproto diver (Recommended)

updating to lenny

 vi /etc/apt/sources.list 
    change:
       etch -> lenny 
 apt-get update
 apt-get upgrade
 reboot
 
 apt-get install linux-headers-2.6.22-3-686


Multipropo from CVS

 cd /usr/src
 apt-get install mercurial
 hg clone http://jusst.de/hg/mantis   // Tested on 05.March.2008
 vi mantis/linux/drivers/media/dvb/mantis/mantis_vp1041.h
   #define MANTIS_VP_1041_DVB_S2    0x0031
   <<change to>>
   #define MANTIS_VP_1041_DVB_S2    0x1179
 cd /usr/src/mantis
 make
 make install
 reboot

DVB Utils für DVB-S2

Scan

 wget http://jusst.de/manu/scan.tar.bz2
 tar xjvf scan.tar.bz2
 cd scan
 ./scan dvb-s/Astra-19.2E > ~/channels.conf

Wichtig: auf Zeilen wie folgende achten, dann wird auch DVB-S2 erkannt:

----------------------------------> Using 'STB0899 Multistandard' DVB-S2
Tune to frequency 11914500
DVB-S IF freq is 1314500
0x0006 0x0081: pmt_pid 0x0062 PREMIERE -- PREMIERE HD (running, scrambled)
0x0006 0x0082: pmt_pid 0x0063 PREMIERE -- DISCOVERY HD (running, scrambled)
0x0006 0x0084: pmt_pid 0x0065 BetaDigital -- ANIXE HD (running)
0x0006 0x0083: pmt_pid 0x0064 BetaDigital -- ASTRA HD+ (running)

Szap2

wget http://www.makhutov.org/downloads/dvb/szap2-20070727.tgz
tar zxvf szap2-20070727.tgz
cd szap2

Failed attempts

Installing on Debian etch with Twinhan driver - FAILS

 get latest kernel from apt-get
 cd /usr/src
 wget http://www.twinhan.com/files/AW/Linux/AZLinux_v1.4.2_CI_FC6.tar.gz
 tar zxvf AZLinux_v1.4.2_CI_FC6.tar.gz
 cd AZLinux_v1.4.2_CI_FC6
 apt-get install dvb-utils make gcc binutils autoconf linux-headers-2.6.18-4-all      # Readme says, XFree86 will be required too

Install Linux DVB API applications and utilities

 cd dvb-apps-997424a1799e
 make clean
 make
 make install
 cd ..

Install Azurewave card driver

 cd linuxdriver
 cd linux/drivers/media/dvb/mantis/
 vi mantis_dvb.c
          #define MANTIS_VP_1041_DVB_S2   0x0031
          change to 
          #define MANTIS_VP_1041_DVB_S2   0x1179
 ln -s /usr/src/linux-headers-2.6.18-4-686 /lib/modules/2.6.18-6-686/build
 make  fails, because ci-module is missing. See also:
 http://www.linuxtv.org/pipermail/linux-dvb/2007-May/018034.html tells, that it is only compilable against fedora core 6 :(.