Tbsdtv Driver



Installation drivers for DigitalDevices and TBS DVB adapters

DigitalDevices Driver Installation

TBS 5220 is an USB mini TV stick which supports DVB-T2, DVB-T and DVB-C all in one. It’s ready with Windows BDA driver. Linux driver will be released soon. Proprietary drivers are available from the TBS dtv website or TBS iptv website. However, TBS advises to choose the open-source driver for each of the hardware supported by them.

Run in console:

Installation in manual mode

Prepare system

To install drivers needed root privileges:
sudo -s

Install system utilities to build drivers from the source code:

Remove old media drivers:

Disable auto update in Ubuntu 16.04

Install

Download latest driver from the official repository:

By the default driver has limit only for 8 DVB adapters. Remove this limit before build drivers:

If you have more than 64 adapters (for example 10 MaxS8) need to increase limit in the driver:

Build drivers and install it:

Create a list of module dependencies:

Create configuration file for MaxS8 DVB adapters:
echo 'options ddbridge fmode=X' >/etc/modprobe.d/ddbridge.conf
Replacing X with the mode number.

To launch installed drivers restart your system:

After reboot check adapters:

Should be listed all adapters installed in the system:

Troubleshooting

Signal is fine, but channels don't work

Tbsdtv Driver Salary

Check dmesg output for i2c errors:

if you see messages like i2c_write error then turn off MSI (Message Signaled Interrupts) in the driver:

Open /etc/modprobe.d/ddbridge.conf in any text editor
Find options ddbridge … line
After the ddbridge append msi=0 option. For example: options ddbridge msi=0 fmode=1
If file does not exists, then create it and write:
options ddbridge msi=0

DVB adapters are not available

Tbsdtv

If ls /dev/dvb shows error:
ls: cannot access /dev/dvb: No such file or directory
With lspci you may check is adapters available in the system:

If adapters connected to the PCIe properly you will see listing of the PCIe adapters. For example:

Check system boot log for errors:

You may send this log to the adapter vendor to find a solution.

Drivers has been installed some time ago and all worked fine before server reboot

Probably Linux kernel has been updated. After Linux kernel update drivers should be reinstalled.

TBS Driver Installation

Run in console:

Tbsdtv driver jobsInstallation in manual mode

Prepare system

To install drivers needed root privileges:
sudo -s

Install system utilities to build drivers from the source code:

Remove old media drivers:

Disable auto update in Ubuntu 16.04

Install

Downloading and building:

Install firmware for DVB adapters:

To launch installed drivers restart your system:

After reboot check adapters:

Should be listed all adapters installed in the system:

Troubleshooting

DVB adapters are not available

If ls /dev/dvb shows error:
ls: cannot access /dev/dvb: No such file or directory
With lspci you may check is adapters available in the system:

If adapters connected to the PCIe properly you will see listing of the PCIe adapters. For example:

Check system boot log for errors:

You may send this log to the adapter vendor to find a solution.

Drivers has been installed some time ago and all worked fine before server reboot

Probably Linux kernel has been updated. After Linux kernel update drivers should be reinstalled.

How To install TBS DVB-S2 PCIe Cards (for example TBS6909) under Linux with GIT

Supported Cards:

DVB-S/S2 Cards PCI-E
TBS6922
TBS6922SE
TBS6902
TBS6980
TBS6981
TBS6982
TBS6983
TBS6984
TBS6985
TBS6904
TBS6905
TBS6908
TBS6909
TBS6991SE
TBS6910
USB
TBS5920
TBS5922
TBS5922SE
TBS5925
TBS5980
TBS5990
PCI
TBS8922

DVB-T/T2/C Cards PCI-E
TBS6220
TBS6221
TBS6280
TBS6281
TBS6281SE
TBS6284
TBS6285
TBS6290SE
TBS6205
USB
TBS5220
TBS5880
TBS5881
TBS5280
TBS5281

ATSC CardsPCI-E
TBS6704

Multi-Standard Cards PCI-E
TBS6522
TBS6528
TBS659

For the other cards will keep update.

you can get the code here :
https://github.com/tbsdtv/linux_media

How to install :

mkdir tbsdriver
cd tbsdriver
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 distclean
make -j4
make install
reboot

after reboot you can check

dmesg | grep frontend

Firmware:
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
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 $ reboot

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

Tbsdtv Driver License Test

3.fatal error: drx39xyj/drx39xxj.h: No such file or directory
mkdir -p v4l/drx39xyj
cp v4l/drx39xxj.h v4l/drx39xyj/

4. error: ‘USB_SPEED_SUPER_PLUS’ undeclared (first use in this function)
If you are using kernel 3.x you can update to kernel 4.x or you can manul change this file :
case USB_SPEED_SUPER_PLUS:
return le16_to_cpu(ep->ss_ep_comp.wBytesPerInterval);
——>
#if defined USB_SPEED_SUPER_PLUS
case USB_SPEED_SUPER_PLUS:
return le16_to_cpu(ep->ss_ep_comp.wBytesPerInterval);
#endif





Comments are closed.