Do not plug in the stick at this stage
Stage 1: apparmor teardown
#We also want to remove apparmor as this could cause conflicts later on, want a real solution? Look at Grsecurity:
- Code: Select All Code
sudo service apparmor stop
sudo update-rc.d -f apparmor remove
sudo apt-get -y remove apparmor apparmor-utils
Stage 2: Build Tools
#setup the tools needed to build.
- Code: Select All Code
sudo apt-get install dkms build-essential linux-headers-$(uname -r)
sudo apt-get install patchutils libproc-processtable-perl build-essential git-core linux-headers-`uname -r`
Stage 3: Folder creation
#make our folders
- Code: Select All Code
mkdir ~/tbs_linux
cd ~/tbs_linux
Warning:
If you have at any point performed the following, remove as this will conflict with the build from tbsdtv
sudo git clone git://linuxtv.org/media_build.git
!NOTE!
Make sure you check this is the latest version of the driver pack from:
http://www.tbsdtv.com/download/
Look for TBS5220
You may then need to update the filename (tbs-linux-drivers_v150109.zip) as required.
Stage 4: Download latest drivers from http://www.tbsdtv.com/download/
#grab the drivers
- Code: Select All Code
cd ~/tbs_linux
wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v150109.zip
unzip tbs-linux-drivers_v150109.zip
Stage 5: Firmware
#setup firmware
- Code: Select All Code
sudo mv -iv dvb-usb-tbsqbox-id5220.fw /lib/firmware/
Stage 6: Build Driver & Install
#Build as follows
- Code: Select All Code
tar -jxvf linux-tbs-drivers.tar.bz2
cd linux-tbs-drivers
sudo su
./v4l/tbs-x86_64.sh
make
make install
Stage 7: Plugin and GO
#Plugin your usb stick and check we have everything working.
- Code: Select All Code
dmesg|grep dvb
You should see the following:
dvb-usb: TBS 5220 USB2.0 successfully initialized and connected.
Yay go watch some TV