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 -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 Mantis driver

As of Dec 2009, the card works with the latest v4l-dvb revision.

The procedure is the same as with the AD-SP400 CI (Twinhan VP-1041).

Install driver

cd /usr/src
sudo apt-get install mercurial
sudo hg clone http://jusst.de/hg/mantis-v4l-dvb
cd v4l-dvb/v4l
sudo make
sudo make install
sudo reboot


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



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