TerraTec Cinergy S2 PCI HD CI
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 Ubuntu Intrepid with S2API driver
As of Jan 2009, the card works with the latest s2-liplianin revision. However, I get some very annoying sound and video dissortions (tested under kernel 2.4.24 and 2.6.28 with realtime patch). I think it's a linux-driver problem, because the card works perfectly under windows. (Bernd Böckmann)
The procedure is the same as with the AD-SP400 CI (Twinhan VP-1041). No editing of source files is needed in the current S2API driver. After installing it is ready-to-use. For me the scan runs better than with the Mantis-driver described below.
Install driver
cd /usr/src sudo apt-get install mercurial sudo hg clone http://mercurial.intuxication.org/hg/s2-liplianin ln -s s2-liplianin s2 cd s2-liplianin sudo make sudo make install sudo reboot
Testing
Scanning and viewing is done either with the method described below or in AD-SP400 CI (Twinhan VP-1041).
Installing on Ubuntu Hardy with Mantis-Multiproto driver
Foreword
This has been tested the 08.06.2008. CAM/CI is not working with current mantis for me. I have a crash when scanning or zapping with the CAM inserted. Take the CAM module out if you have one for the moment!
Install mantis driver (Testing based on revision 7348)
cd /usr/src sudo apt-get install mercurial sudo hg clone http://jusst.de/hg/mantis sudo nano -w 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 sudo make sudo make install sudo reboot
Installing dvb-apps, replacing scan/szap2 with versions based on the multiproto API (Testing based on revision 1200)
cd /usr/src sudo hg clone http://linuxtv.org/hg/dvb-apps cd dvb-apps make cd util sudo rm -R scan sudo wget http://jusst.de/manu/scan.tar.bz2 sudo tar xjvf scan.tar.bz2 cd scan sudo wget http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080406/a365d65c/attachment.txt sudo patch -p1 < attachment.txt
sudo nano -w Makefile add line CPPFLAGS += -I/usr/src/mantis/linux/include under line CPPFLAGS += -I/usr/include/ -DDATADIR=\"$(prefix)/share\"
sudo make clean sudo make mkdir ~/.szap ./scan dvb-s/Astra-19.2E > ~/.szap/channels.conf
Use szap2 for tuning
cd /usr/src/dvb-apps/test ./szap2 -r -n 001
Test with mplayer
When szap2 gives you FE_HAS_LOCK then open mplayer:
mplayer /dev/dvb/adapter0/dvr0
Installing on Debian etch with Multiproto driver
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
Multiproto from mercurial repository
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
If this version of scan gives the following error:
ioctl DVBFE_GET_INFO failed: Operation not supported ERROR: initial tuning failed
Then use the following version of scan:
http://www.zshare.net/download/1322006118c9c70a/
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 :(.