Driver — Installer
You can use the installer script to install the driver. Simply execute ./installer.If failed please try the manual install way.
Driver — Manual Installation
Preparation
This document assumes that all prerequisite packages like kernel headers and build tools are already installed in your Linux system.
Most of the steps require
root access and basic knowledge of Linux system.
Create directory, for example /root/tbs and copy the following file to it:
- driver/linux-tbs-drivers.tar.bz2 (S2API Linux driver for TBS cards)
- tools/szap-s2 (szap tool compatible with new DVB-S2 aware S2 API for Linux)
- tools/scan-s2 (scan tool compatible with new DVB-S2 aware S2 API for Linux)
- conf/astra_szap-s2.conf (example configuration file for szap-s2)
- conf/astra_scan-s2.conf (example configuration file for scan-s2)
- firmware/v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, optional)
Compiling and installing the driver
- Become root su root
- Change the directory cd /root/tbs/driver
- Extract linux-tbs-drivers.tar.bz2 archive tar xjvf linux-tbs-drivers.tar.bz2
- Go to driver package directory cd linux-tbs-drivers
- This step is depending on your kernel version. Execute uname -rm check the output either for x86 (32-bit system) or x86_64 (64-bit system) and the kernel version. According to your system properties, choose the proper command from this list:
- for x86 kernel 3.x (x86 32 bit installation of kernel 3.x): ./v4l/tbs-x86_r3.sh
- for x86 kernel 2.6.x (x86 32 bit installation of kernel 2.6.x): ./v4l/tbs-x86.sh
- for any x86_64 kernel (x86 64 bit installation of Linux): ./v4l/tbs-x86_64.sh
- Build and install the driver:
make && make install
After the installation
Reboot in order to load the newly installed driver shutdown -r now.
After reboot check that the newly installed driver is loaded correctly. The output differs from one chipset to another but if everything is ok, there should always be one message in dmesg which says that one or more new DVB adapters are registered. The output should look like one of next two outputs.
Command: dmesg -t | grep TBS
Output:
input: saa716x IR (TurboSight TBS 6985) as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/rc/rc0/input15
rc0: saa716x IR (TurboSight TBS 6985) as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/rc/rc0
TurboSight TBS 6985 Frontend Attaching...
TurboSight TBS6985 DVB-S2 card port0 MAC=00:22:ab:90:3a:10
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
TurboSight TBS 6985 Frontend Attaching...
TurboSight TBS6985 DVB-S2 card port1 MAC=00:22:ab:90:3a:11
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
TurboSight TBS 6985 Frontend Attaching...
TurboSight TBS6985 DVB-S2 card port2 MAC=00:22:ab:90:3a:12
DVB: registering adapter 2 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
TurboSight TBS 6985 Frontend Attaching...
TurboSight TBS6985 DVB-S2 card port3 MAC=00:22:ab:90:3a:13
DVB: registering adapter 3 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
Command: dmesg -t | grep cx23885
Output:
cx23885 driver version 0.0.2 loaded
cx23885[0]: subsystem: 6921:8888, board: TurboSight TBS 6921 [card=31,autodetected]
cx25840 4-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
cx25840 4-0044: firmware: requesting v4l-cx23885-avcore-01.fw
cx25840 4-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
cx23885_dvb_register() allocating 1 frontend(s)
cx23885[0]: cx23885 based dvb card
DVB: registering new adapter (cx23885[0])
cx23885_dev_checkrevision() Hardware revision = 0xb0
input: cx23885 IR (TurboSight TBS 6921) as /devices/pci0000:00/0000:00:0c.0/0000:03:00.0/input/input5
Troubleshooting
If you encounter a problem, please check the following list.
- Whenever you update your kernel you must compile the driver again.
- After upgrading to a newer kernel version and recompiling the driver, the old modules built by yourself remain in your file system. The package manager won't remove them. As a showing example, if you upgraded to the kernel version 3.8.10 then the directories of your old kernel versions could be still there. # ls -1 /lib/modules
3.6.6-1-ARCH
3.8.6-1-ARCH
3.8.10-1-ARCH
If you are no longer using the old kernels, it is safe to delete the media directory for each old kernel version: sudo rm -rf /lib/modules/<old kernel version>/kernel/drivers/media
- If you modified the installer script and are getting warnings or error messages such as WARNING: could not find /tmp/tbs-linux-drivers_v130429/driver/linux-tbs-drivers/v4l/.tbs8921ctrl.o.cmd for ... then unpack and run the unmodified installer again.