Project

General

Profile

TBS6981 » History » Version 5

Adam Sutton, 2013-09-12 22:29

1 1 Adam Sutton
h1. TBS6981
2
3 5 Adam Sutton
This is a reasonable (price v performance) dual S2 tuner. [[Adam]] used one for some time when he first started out with TVH, however he's now upgraded to a [[TBS6985]] that was donated by TBS.
4 1 Adam Sutton
5 5 Adam Sutton
Unlike some other cards [[TeVii-S480]] it's a native PCIe interface and not a PCIe to USB bridge.
6
7 1 Adam Sutton
h2. Driver Support
8
9 5 Adam Sutton
h3. Official TBS driver
10 1 Adam Sutton
11 5 Adam Sutton
TBS provide official (out of tree) kernel drivers which can be downloaded from "here":www.tbsdtv.com/download/#tbs6981. These are a bit of a pain to build as they are bundled with a massive set of drivers, most of which you don't need, but are enabled by default.
12 1 Adam Sutton
13 5 Adam Sutton
The following instructions give a simple set of instructions, that at the time of writing, provide a quick and easy way to get just the 6981 driver compiled.
14 1 Adam Sutton
15 2 Adam Sutton
<pre>
16 1 Adam Sutton
1. Download from "here":http://www.tbsdtv.com/download/#tbs6981
17
2. mkdir tbs; cd tbs; unzip DOWNLOAD.zip
18
3. tar xf linux-tbs-drivers.tar.bz2
19
4. find -type d -exec chmod 755 {} \;
20
5. chmod 755 linux-tbs-drivers/v4l/scripts/*
21
6. find linux-tbs-drivers -name “*.sh” -exec chmod 755 {} \;
22
7. cd linux-tbs-drivers/
23
8. ./v4l/tbs-x86_64.sh
24
9. Copy attached config to ./v4l/.config
25
10. make
26
11. mkdir tbs
27 3 Dave Chapman
12. find -name "*.ko" -exec cp {} tbs/ \;
28 1 Adam Sutton
13. tar jcf tbs-modules.tar.bz2 tbs
29 4 Dave Chapman
14. sudo tar -C /lib/modules/$(uname -r) -xf tbs-modules.tar.bz2
30
15. sudo depmod -a
31 2 Adam Sutton
</pre>
32 1 Adam Sutton
33
Note: you can combine steps 11-14, it's just I build on diff machine to install.
34
35
Once installed you will need to reboot due to the way the driver is integrated.
36 5 Adam Sutton
37
h3. Unofficial OSS driver
38
39
Recently there have been lots of problems with this card in relation to use with TVH. After lots of investigations we have concluded that unlike TBS's assertions this is in fact nothing to do with Tvheadend. It is in fact down to some very shoddy drivers that fail to protect against various shared bus accesses. This often manifests as one or other tuner completely failing.
40
41
If you are bored and fancy reading more details, I kept a short blog to cover the email thread between TBS and the Tvheadend Team. http://tvheadend.wordpress.com/2013/07/11/tbs-6981-debacle/
42
43
In response to all this Luis Alves decided to reverse engineer the 6981 driver (which may also work for the [[TBS6984]], though there have been varying degrees of success there). You can find more details about his driver on his git hub page. https://github.com/ljalves/linux_media/wiki.