TeVii S470

From LinuxTVWiki
Revision as of 18:48, 3 February 2010 by Piratebab (talk | contribs) (adding s2-liplianin)
Jump to navigation Jump to search
TeVii S470 Card

A DVB-S2 PCIe card from TeVii Technology Ltd

Overview/Features

  • PCIe x1


Components Used

  • RF tuner: Montage: M88TS202
  • demod: Montage: M88DS3000
  • pci-e bridge: Conexant cx23885

Identification

PCI id: [d470:9022]

Making it work

I got it to work in the following environment:

  • Gentoo Linux, ~amd64, 64bit
  • 2.6.31 kernel (but didn't got it to work with the in-kernel driver)

Downloading and extracting the drivers from vendor homepage:

wget http://www.tevii.com/090731_linux-s2api-ds3000.rar
unrar x http://www.tevii.com/090731_linux-s2api-ds3000.rar

Firmware

Installing the firmware:

sudo cp dvb-fe-ds3000.fw dvb-usb-teviis660.fw /lib/firmware

Driver

tar xvf linux-s2api-ds3000.tar.bz2
cd /tmp/linux-s2api-ds3000

Since the driver contains a bug, you need to patch the soruces:

wget http://mercurial.intuxication.org/hg/s2-liplianin/raw-diff/473754e895d0/linux/drivers/media/dvb/frontends/ds3000.c -O bugfix.diff
patch -p 1 -i bugfix.diff

Proceed with building the driver:

make menuconfig ## mandatory, defaults work
make -j3
sudo make install

using s2-liplianin driver

tested on debian 2.6.30 kernel

You can you this script to download and compile firmware/driver

  echo "TeVii S470"                                                                  
       # checking firmware
       if [ ! -f /lib/firmware/dvb-fe-ds3000.fw ]; then
           wget -c http://tevii.com/tevii_ds3000.tar.gz
           tar zxfv tevii_ds3000.tar.gz
           sudo cp tevii_ds3000/dvb-fe-ds3000.fw /lib/firmware/
           rm -rf tevii_ds3000
       fi
       # checking driver
       if [ -d "s2-liplianin" ]; then
           cd "s2-liplianin"
           make distclean
           make update
       else
           hg clone http://mercurial.intuxication.org/hg/s2-liplianin
           cd "s2-liplianin"
       fi
       make
       sudo make install
       sudo depmod
       sudo make rmmod
       sudo modprobe cx23885
       sleep 1
       ls -R /dev/dvb/

(thanks to ticapix)

TODO:

  • remote

External Links