Post by Oscar Bravo on Apr 20, 2017 10:00:48 GMT 2
Here's my setup guide to getting any of the multistream capable TBS cards (I use the TBS6905 and that works) working under Ubuntu. I use Ubuntu 16.04 Xenial -
1. Install Ubuntu to your PC in the normal way (either create a USB key or a disk).
2. Once you're up and running the next step is to get the TBS tuner cards recognised by the operating system. You need a specific set of the open source drivers for this as for some reason the regular open source ones and the official ones from TBS do not support multistream properly.
a) First we need to make sure the system is all up to date. Open up terminal and run -
sudo apt-get update
sudo apt-get upgrade
sudo reboot
b) When the system comes back up, it's a good idea to tidy up after ourselves (to get rid of any old packages that are obsolete since updating)! So go into terminal again and type -
sudo apt-get autoremove
Run that again until it says there was '0 packages to remove' (or something similar)
c) Now the next step is to install a few packages that we'll need to compile and install the drivers (without them the process will fail and you end up trawling through error messages for hours, which isn't fun.)
sudo apt-get update
sudo apt-get install git kernel-package linux-headers-`uname -r` gcc libproc-processtable-perl libdigest-sha-perl patch patchutils
d) Next step is to actually download, compile and install the drivers. The instructions are on the wiki of the driver repository we'll be using - github.com/tbsdtv/linux_media/wiki
But, I'll write the commands you need to put into the terminal here too -
git clone github.com/tbsdtv/media_build.git
git clone --depth=1 github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
sudo make dir DIR=../media
sudo make distclean
sudo make -j4
sudo make install
Finally we need to reboot again for the drivers to take effect -
sudo reboot
e) When the system comes back up, we need to check that the drivers installed successfully and Linux is recognising the tuners. In the terminal -
dmesg | grep dvb
This command shows the log of things that ran and configured as the system started up. The second part then filters this to only show lines containing 'dvb'. It should come back with a load of messages, some of which should look a bit like this -
[ 1.842469] dvbdev: DVB: registering new adapter (SAA716x dvb adapter)
[ 1.842884] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 2.022635] dvbdev: DVB: registering new adapter (SAA716x dvb adapter)
[ 2.035544] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 2.156014] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 2.303302] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
There's a message for each tuner (I have six there because I have a DVB-S2 TBS6905 with four tuners and a DVB-T2 TBS 6982 card with 2 tuners).
3. Now the drivers are all installed, we can tune the channels in. You can use whatever software you want for this, but I use TVHeadend as it's a decent piece of backend software, and I use it to feed a couple of Kodi boxes round the house.
I can go into getting TVHeadend set up if anyone is interested as well!
1. Install Ubuntu to your PC in the normal way (either create a USB key or a disk).
2. Once you're up and running the next step is to get the TBS tuner cards recognised by the operating system. You need a specific set of the open source drivers for this as for some reason the regular open source ones and the official ones from TBS do not support multistream properly.
a) First we need to make sure the system is all up to date. Open up terminal and run -
sudo apt-get update
sudo apt-get upgrade
sudo reboot
b) When the system comes back up, it's a good idea to tidy up after ourselves (to get rid of any old packages that are obsolete since updating)! So go into terminal again and type -
sudo apt-get autoremove
Run that again until it says there was '0 packages to remove' (or something similar)
c) Now the next step is to install a few packages that we'll need to compile and install the drivers (without them the process will fail and you end up trawling through error messages for hours, which isn't fun.)
sudo apt-get update
sudo apt-get install git kernel-package linux-headers-`uname -r` gcc libproc-processtable-perl libdigest-sha-perl patch patchutils
d) Next step is to actually download, compile and install the drivers. The instructions are on the wiki of the driver repository we'll be using - github.com/tbsdtv/linux_media/wiki
But, I'll write the commands you need to put into the terminal here too -
git clone github.com/tbsdtv/media_build.git
git clone --depth=1 github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
sudo make dir DIR=../media
sudo make distclean
sudo make -j4
sudo make install
Finally we need to reboot again for the drivers to take effect -
sudo reboot
e) When the system comes back up, we need to check that the drivers installed successfully and Linux is recognising the tuners. In the terminal -
dmesg | grep dvb
This command shows the log of things that ran and configured as the system started up. The second part then filters this to only show lines containing 'dvb'. It should come back with a load of messages, some of which should look a bit like this -
[ 1.842469] dvbdev: DVB: registering new adapter (SAA716x dvb adapter)
[ 1.842884] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 2.022635] dvbdev: DVB: registering new adapter (SAA716x dvb adapter)
[ 2.035544] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 2.156014] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[ 2.303302] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
There's a message for each tuner (I have six there because I have a DVB-S2 TBS6905 with four tuners and a DVB-T2 TBS 6982 card with 2 tuners).
3. Now the drivers are all installed, we can tune the channels in. You can use whatever software you want for this, but I use TVHeadend as it's a decent piece of backend software, and I use it to feed a couple of Kodi boxes round the house.
I can go into getting TVHeadend set up if anyone is interested as well!
Link