TerraTec Cinergy S2 PCI HD CI

From LinuxTVWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

Cinergy S2 PCI HD CI.jpg

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

Product information from Terratec and Terratec linux site

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

Mantis driver is included in kernel version => 2.6.33-rc6.
If you use a lower kernel version, there exists two different drivers you can download and compile. One driver is available at http://jusst.de/hg/mantis-v4l-dvb, and another at http://linuxtv.org/hg/v4l-dvb.

Installing on Ubuntu Lucid

Well i found that the old liplianin works far better on Lucid + Kaffeine pre3 then the code from jusst.de .Take it or leave it :)

sudo apt-get install build-essential
sudo apt-get install libncurses5-dev
sudo apt-get install mercurial
cd /usr/src
sudo hg clone http://mercurial.intuxication.org/hg/s2-liplianin
sudo ln -s s2-liplianin s2
cd s2-liplianin

sudo make menuconfig
Find Firedtv and remove it, save and exit.
sudo make -j 10
sudo make install
sudo reboot

Installing on Ubuntu Karmic Koala with Mantis driver

sudo apt-get install build-essential
sudo apt-get install libncurses5-dev
sudo apt-get install mercurial
cd /usr/src
sudo hg clone http://jusst.de/hg/mantis-v4l-dvb
cd mantis-v4l-dvb/v4l
make menuconfig
Find Firedtv and disable it.Save and exit.
sudo make -j 10
sudo make install
sudo reboot
after reboot
sudo modprobe stb0899
sudo modprobe stb6100
sudo modprobe lnbp21
sudo modprobe mantis_core
sudo modprobe mantis
To make the modules autoload on system boot you need to edit /etc/modules
gksu gedit /etc/modules
Add the names of the modules and make sure they are in the correct order!
stb0899
stb6100
lnbp21
mantis_core
mantis
Save/exit and reboot

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 mantis-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