Project

General

Profile

TBS6981 » History » Version 7

Paul M, 2018-09-08 14:51

1 6 Paul M
Also see [[GoodKernelAndDriver]]
2
3 1 Adam Sutton
h1. TBS6981
4
5 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.
6 1 Adam Sutton
7 5 Adam Sutton
Unlike some other cards [[TeVii-S480]] it's a native PCIe interface and not a PCIe to USB bridge.
8
9 1 Adam Sutton
h2. Driver Support
10
11 5 Adam Sutton
h3. Official TBS driver
12 1 Adam Sutton
13 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.
14 1 Adam Sutton
15 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.
16 1 Adam Sutton
17 2 Adam Sutton
<pre>
18 1 Adam Sutton
1. Download from "here":http://www.tbsdtv.com/download/#tbs6981
19
2. mkdir tbs; cd tbs; unzip DOWNLOAD.zip
20
3. tar xf linux-tbs-drivers.tar.bz2
21
4. find -type d -exec chmod 755 {} \;
22
5. chmod 755 linux-tbs-drivers/v4l/scripts/*
23
6. find linux-tbs-drivers -name “*.sh” -exec chmod 755 {} \;
24
7. cd linux-tbs-drivers/
25
8. ./v4l/tbs-x86_64.sh
26
9. Copy attached config to ./v4l/.config
27
10. make
28
11. mkdir tbs
29 3 Dave Chapman
12. find -name "*.ko" -exec cp {} tbs/ \;
30 1 Adam Sutton
13. tar jcf tbs-modules.tar.bz2 tbs
31 4 Dave Chapman
14. sudo tar -C /lib/modules/$(uname -r) -xf tbs-modules.tar.bz2
32
15. sudo depmod -a
33 2 Adam Sutton
</pre>
34 1 Adam Sutton
35
Note: you can combine steps 11-14, it's just I build on diff machine to install.
36
37
Once installed you will need to reboot due to the way the driver is integrated.
38 5 Adam Sutton
39
h3. Unofficial OSS driver
40
41
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.
42
43 7 Paul M
NOTE! It has been discovered that you may need MSI Interrupts enabled for the drivers. See [[GoodKernelAndDriver]]
44
45 5 Adam Sutton
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/
46
47
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.