Page 1 of 1

Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Sun Nov 01, 2015 12:35 am
by Ce6at
Here is a working guide in order to install the TBS 6905 card under Ubuntu 15.10 x64.

1. Download the latest drivers from TBS site.
Extract the ZIP file tbs-linux-drivers_v151026.zip
unzip tbs-linux-drivers_v151026.zip

2. Extract linux-tbs-drivers.tar.bz2 archive

bzip2 -d linux-tbs-drivers.tar.bz2
tar xvf linux-tbs-drivers.tar

3. Change to driver package directory

cd linux-tbs-drivers

4. Fix the file permissions

At this point, the supplied tar.bz2 is completely knackered in respect of the file permissions. To fix run

find -type d -exec chmod 755 \{\} \;
find -type f -exec chmod 644 \{\} \;
find -name '*.sh' -exec chmod 755 \{\} \;
find -name '*.pl' -exec chmod 755 \{\} \;

5. Select platform architecture

for x86 kernel 3.x (x86 32 bit installations of kernel 3.x)

./v4l/tbs-x86_r3.sh

or for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x)

./v4l/tbs-x86.sh

or for any x86_64 kernel (x86 64 bit installations of Linux)

./v4l/tbs-x86_64.sh

You should then receive a message along these lines:

TBS drivers configured for [NAME OF PLATFORM] platform.

where [NAME OF PLATFORM] is x86_r3 or x86 or 86_64

6. Build the driver. Recompiles v4l for a wide range of cards, currently about 500, will take many minutes. We're ready to build; add -j3 parameter for make command line for a faster build on a dual core machine, -j5 on a quad core machine, etc.

make

If you get -bash: make: command not found, then sudo apt-get install build-essential

7. Install driver. Existing drivers for other v4l related hardware, such as lirc could also get updated.

sudo make install

8A. Reboot

sudo reboot

In case you get the following error:

module verification failed: signature and/or required key missing - tainting kernel
[ 3.116311] tbs_pcie_dvb: disagrees about version of symbol dvb_dmxdev_init
[ 3.116315] tbs_pcie_dvb: Unknown symbol dvb_dmxdev_init (err -22)
[ 3.116325] tbs_pcie_dvb: disagrees about version of symbol dvb_ca_en50221_init
[ 3.116327] tbs_pcie_dvb: Unknown symbol dvb_ca_en50221_init (err -22)
[ 3.116356] tbs_pcie_dvb: disagrees about version of symbol dvb_register_adapter
[ 3.116359] tbs_pcie_dvb: Unknown symbol dvb_register_adapter (err -22)
[ 3.116370] tbs_pcie_dvb: disagrees about version of symbol dvb_dmx_swfilter_packets
[ 3.116372] tbs_pcie_dvb: Unknown symbol dvb_dmx_swfilter_packets (err -22)
[ 3.116482] tbs_pcie_dvb: disagrees about version of symbol dvb_dmx_release
[ 3.116486] tbs_pcie_dvb: Unknown symbol dvb_dmx_release (err -22)
[ 3.116493] tbs_pcie_dvb: disagrees about version of symbol dvb_ca_en50221_release
[ 3.116539] tbs_pcie_dvb: Unknown symbol dvb_ca_en50221_release (err -22)
[ 3.116680] tbs_pcie_dvb: disagrees about version of symbol dvb_net_init
[ 3.116683] tbs_pcie_dvb: Unknown symbol dvb_net_init (err -22)
[ 3.116690] tbs_pcie_dvb: disagrees about version of symbol dvb_dmxdev_release
[ 3.116693] tbs_pcie_dvb: Unknown symbol dvb_dmxdev_release (err -22)
[ 3.116716] tbs_pcie_dvb: disagrees about version of symbol dvb_frontend_detach
[ 3.116719] tbs_pcie_dvb: Unknown symbol dvb_frontend_detach (err -22)
[ 3.116723] tbs_pcie_dvb: disagrees about version of symbol dvb_net_release
[ 3.116726] tbs_pcie_dvb: Unknown symbol dvb_net_release (err -22)
[ 3.116731] tbs_pcie_dvb: disagrees about version of symbol dvb_unregister_frontend
[ 3.116733] tbs_pcie_dvb: Unknown symbol dvb_unregister_frontend (err -22)
[ 3.116739] tbs_pcie_dvb: disagrees about version of symbol dvb_register_frontend
[ 3.116741] tbs_pcie_dvb: Unknown symbol dvb_register_frontend (err -22)
[ 3.116745] tbs_pcie_dvb: disagrees about version of symbol dvb_unregister_adapter
[ 3.116747] tbs_pcie_dvb: Unknown symbol dvb_unregister_adapter (err -22)
[ 3.116750] tbs_pcie_dvb: disagrees about version of symbol dvb_dmx_init
[ 3.116752] tbs_pcie_dvb: Unknown symbol dvb_dmx_init (err -22

delete all files in directory

/lib/modules/4.2.0-16-generic/kernel/drivers/media/

then i compile drivers again:

sudo make

then install drivers:

sudo make install

reboot:

sudo reboot

Check if card is installed:

lsdvb

lsdvb: Simple utility to list PCI/PCIe DVB devices
Version: 0.0.4
Copyright (C) Manu Abraham

TBS PCIE (544:6178 6905:1) on PCI Domain:0 Bus:1 Device:0 Function:0
DEVICE:0 ADAPTER:0 FRONTEND:0 (TurboSight TBS 6905 DVBS/S2 frontend)
FE_QPSK Fmin=950MHz Fmax=2150MHz
DEVICE:0 ADAPTER:3 FRONTEND:0 (TurboSight TBS 6905 DVBS/S2 frontend)
FE_QPSK Fmin=950MHz Fmax=2150MHz
DEVICE:0 ADAPTER:2 FRONTEND:0 (TurboSight TBS 6905 DVBS/S2 frontend)
FE_QPSK Fmin=950MHz Fmax=2150MHz
DEVICE:0 ADAPTER:1 FRONTEND:0 (TurboSight TBS 6905 DVBS/S2 frontend)
FE_QPSK Fmin=950MHz Fmax=2150MHz

Re: Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Sun Nov 01, 2015 3:07 pm
by BlueSky
I have never had to mess with permissions when installing TBS drivers, but then I do it a little bit differently:

Browse to http://www.tbsdtv.com/download/ and find the latest drivers for your card. Right click on the link and copy the link location.

Then:

cd Downloads
wget http://www.tbsdtv.com/download/document ... xxxxxx.zip <— Paste the link here
unzip tbs-linux-drivers_vxxxxxx.zip <— Replace the filename with that of the one you just downloaded
tar xjvf linux-tbs-drivers.tar.bz2
cd linux-tbs-drivers

Depending on your kernel version and if the kernel is x86 or x86_64 (check output of ‘uname -a’) do ONE of the following:

– for x86 kernel 3.x (x86 32 bit installations of kernel 3.x): sudo ./v4l/tbs-x86_r3.sh
– for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x): sudo ./v4l/tbs-x86.sh
– for any x86_64 kernel (x86 64 bit installations of Linux): sudo ./v4l/tbs-x86_64.sh

Then:

sudo make && sudo make install
sudo reboot

After the reboot you can test that the tuners are working with either or both of the following:
dmesg | grep -i dvb
ls -l /dev/dvb

These instructions are modified from an article that no longer appears to be online. As I say, I have never had issues with permissions when using this method. I wonder if it's because you have an extra step involving bzip2 (which AFAIK is unnecessary) and/or your tar command doesn't include the "j" option. I think that by doing the step with bzip2 you might actually be causing problems for yourself, but maybe there's some reason you need to do that? Anyway, I'm just saying what has always worked for me.

Re: Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Tue Nov 03, 2015 3:03 am
by Maxpower
Agree with BlueSKy . . . . the issue is with "your tar command doesn't include the "j" option"

I basically use the method Ce6at is describing but the "j" option is crucial. :-)

Re: Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Wed Nov 04, 2015 12:33 am
by Ce6at
Hi,
the -j options is used for a bzip2 file.
We decompress the bz2 file with bzip2 and that give us a tar file.

Re: Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Fri Nov 06, 2015 7:48 am
by BlueSky
Ce6at Wrote:Hi,
the -j options is used for a bzip2 file.
We decompress the bz2 file with bzip2 and that give us a tar file.


So in other words, you're doing it the hard way. Got it.

Re: Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Fri Nov 20, 2015 3:12 am
by BlueSky
lalacurf121 Wrote:I have never had to mess with permissions when installing TBS drivers,


I don't think anyone has, other than the person who started this thread (and anyone who follows his overly-complicated instructions).

Re: Installing TBS 6905 Ubuntu 15.10 Guide.

PostPosted: Fri Nov 20, 2015 3:24 am
by orson
The reason for (not)having permission problems migth be that most people unzip+untar it as root, and also compile it as root.
As root can read them -> no problem.
As a normal user -> problem.

At least that's the reason why I also have permission problems and have to correct them before start building the driver.