Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

ACTUALIZAR KERNELS

sudo apt-get install --install-recommends linux-generic-hwe-18.04

Driver DVB Card


TBS Driver Installation
1. Prepare system

- To install drivers needed root privileges:

sudo -s
- Install system utilities to build drivers from the source code:

apt-get install build-essential \


patchutils \
libproc-processtable-perl \
linux-headers-`uname –r` \
git \
linux-source
- Remove old media drivers:

rm -rf /lib/modules/$(uname -r)/extra


rm -rf /lib/modules/$(uname -r)/kernel/drivers/media
rm -rf /lib/modules/$(uname -r)/kernel/drivers/staging/media
- Increase system limits. By the default Linux kernel has limit only for
8 DVB adapters. Change limit before build drivers:

sed -i.bak -e 's/^\(CONFIG_DVB_MAX_ADAPTERS\)=.*/\1=48/g'


/lib/modules/$(uname -r)/build/.config
2. Disable auto update in Ubuntu 14.04
sed -i.bak -e 's/^\(APT::Periodic::Update-Package-Lists\).*/\1 "0";/g'
/etc/apt/apt.conf.d/10periodic
3. Disable auto update in Ubuntu 16.04
systemctl disable apt-daily.service
systemctl disable apt-daily.timer
4. Install
- Downloading and building:

cd /usr/src
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
or
mkdir ljalves-tbsdriver
cd ljalves-tbsdriver
git clone https://github.com/ljalves/media_build.git
git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest
./media
cd media_build
make dir DIR=../media
make distclean
make
sudo make install
- Install firmware for DVB adapters

cd /usr/src
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/
- Restart your system

shutdown -r now
- After reboot check adapters

ls /dev/dvb

You might also like