Skip to content
tbsiptv edited this page May 27, 2019 · 168 revisions

Support

If you have any any questions, please send an email to [email protected]. Your comments and advice will be highly appreciated.

Downloading and building

git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
make dir DIR=../media
make allyesconfig
make -j4
sudo make install
sudo reboot

Firmware

wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

Upgrading sources and re-installing

~ $ cd media
~/media $ git remote update
~/media $ git pull
~/media $ cd ../media_build
~/media_build $ git remote update
~/media_build $ git pull
~/media_build $ make
~/media_build $ sudo make install
(now you can reboot or unload/reload modules manually:)
~/media_build $ sudo reboot

Optionaly needed if not installed already

If you build fails with the message

Can't locate Proc/ProcessTable.pm in @INC (you may need to install the Proc::ProcessTable module)

Install the missing perl module

sudo apt-get install libproc-processtable-perl

FAQ

  1. /bin/sh: 1: lsdiff: not found

    sudo apt-get install patchutils
    
  2. you may need to install the Proc::ProcessTable module

    sudo apt-get install libproc-processtable-perl
    
  3. fatal error: drx39xyj/drx39xxj.h: No such file or directory

    mkdir -p v4l/drx39xyj
    cp v4l/drx39xxj.h v4l/drx39xyj/
    
  4. Can not find the 6909 firmware

    wget http://www.tbsdtv.com/download/document/linux/dvb-fe-mxl5xx.fw 
    cp dvb-fe-mxl5xx.fw  /lib/firmware/
    
  5. If you find module load errors like "module has wrong symbol version", this means that there still are old modules from your previous Media Tree installation (usually duplicated modules in two different places).

    sudo rm -rf /lib/modules/``uname -r``/kernel/drivers/media/*
    
  6. Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler

    sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    sudo apt-get update
    sudo apt-get install gcc-4.9 g++-4.9
    sudo rm /usr/bin/gcc
    sudo ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
    
  7. make[2]: gcc: Command not found

    sudo apt-get install gcc
    

For CentOS 7 please try this

  1. Update to new kernel

    #rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    #rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
    #yum --enablerepo=elrepo-kernel install kernel-lt-devel kernel-lt -y
    #grub2-set-default 0
    
  2. Restart to load the new kernel and install gcc unzip

    #yum -y install gcc
    #yum -y install unzip
    #reboot
    
  3. Install required libraries

    #yum -y install perl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
    #yum -y install patchutils
    #yum -y install patch
    
  4. Install the SHA

    #wget https://sourceforge.net/projects/moiproamd/files/Files/Digest-SHA-5.93.tar.gz/download -O Digest-SHA-5.93.tar.gz
    #tar xvf Digest-SHA-5.93.tar.gz
    #cd Digest-SHA-5.93
    #perl Makefile.PL
    #make && make install
    
  5. Install Perl

    #wget https://sourceforge.net/projects/moiproamd/files/Files/perl-proc-processtable-master.zip/download -O perl-proc-processtable-master.zip
    #unzip perl-proc-processtable-master.zip
    #cd perl-proc-processtable-master
    #perl Makefile.PL
    #make && make install
    
  6. Start install the open source driver, then start install the driver.

For Debian please try this

uname -r to get the kernel version

  # uname -r
  4.9.0-8-amd64
  # apt-get install linux-headers-4.9.0-8-amd64

Then start install the driver

Currently supported cards

ASI

  • TBS690A

HDMI

  • TBS6301
  • TBS6304
  • TBS6314

DVB-S/S2 - PCI-E

  • TBS6922
  • TBS6922SE
  • TBS6902
  • TBS6903
  • TBS6980
  • TBS6981
  • TBS6982
  • TBS6983
  • TBS6984
  • TBS6985
  • TBS6904
  • TBS6905
  • TBS6908
  • TBS6909
  • TBS6991SE
  • TBS6910

DVB-S/S2 - USB

  • TBS5920
  • TBS5922
  • TBS5922SE
  • TBS5925
  • TBS5927
  • TBS5980
  • TBS5990

DVB-S/S2 - PCI

  • TBS8922

DVB-T/T2/C - PCI-E

  • TBS6220
  • TBS6221
  • TBS6280
  • TBS6281
  • TBS6281SE
  • TBS6284
  • TBS6285
  • TBS6290SE
  • TBS6205
  • TBS6209

DVB-T/T2/C - Mini PCI-E

  • TBS7220

DVB-T/T2/C - USB

  • TBS5220
  • TBS5880
  • TBS5881
  • TBS5280
  • TBS5281

ATSC - PCI-E

  • TBS6704

ISDB-T - PCI-E

  • TBS6814

Multi-standard - PCI-E

  • TBS6522
  • TBS6528
  • TBS6590
  • TBS6504

Multi-standard - USB

  • TBS5520SE
  • TBS5580
  • TBS5590

More info

Please refer to LinuxTV wiki page for more info about the build process: LinuxTV Wiki

In addition to following the above instructions, TBS6980/1/4 owners will need to put a copy of the CX24117 firmware in /lib/firmware/

TBS News

TBS latest News and new product you can find here http://www.tbsdtv.com/

Clone this wiki locally