TurboSight TBS5520SE DVB-S2X/S2/S/T2/T/C2/C/ISDB-T¶
My favorite external DVB tuner, from when I used to have a TV signal, now I can only use it at free satellites.
Note: This tuner requires 1A power! So you might need to power this through a powered hub.
Linux setup¶
The installation requires the kernel headers to be available. This is not mentioned in the official documentation.
Also, WARNING: DO NOT UNPLUG THE USB AFTER HAVING USED THE TUNER! It really seems to brick things until next reboot. I've tried reloading everything I could think of without luck.
sudo apt install linux-headers-amd64 -y
#sudo apt install linux-headers-`uname -r` -y # For others
sudo apt install build-essential git libproc-processtable-perl patchutils -y # Dependencies
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 distclean
make clean
make dir DIR=../media
make allyesconfig
make -j4
sudo make install
# reboot at some point
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
# Warning: They don't change the version number, so a local saved 1.0 might be older than the 1.0 online.
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
# reboot or replug USB
For TVHeadend, I used the commands below. Your system might be different.
See https://tvheadend.org/projects/tvheadend/wiki/AptRepositories for updated info.
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
sudo sh -c 'echo "deb https://apt.tvheadend.org/unstable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list'
sudo apt update
sudo apt install tvheadend -y # Note, default port is 9981 in case you didn't notice/remember.
RPI4 2GB¶
This is what I did on my last setup, to get it all working:
# 2020-02-05-raspbian-buster-lite
sudo apt install raspberrypi-kernel-headers -y # For Raspberry Pi's
wget http://www.tbsdtv.com/download/document/linux/media_build-rpi-2020-01-02.tar.bz2
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
tar jxvf media_build-rpi-2020-01-02.tar.bz2
cd media_build
sudo ./install.sh
sudo reboot
# TVHeadend newest stable
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
echo "deb http://apt.tvheadend.org/stable raspbian-stretch main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
sudo apt-get update
sudo apt-get install tvheadend
# Updating the kernel after this, seems to break things