Kaffeine works well as a simple player, but if you look for a complete experience, then go for a tvheadend + Kodi combo, even having them running on the same system. tvheadend gives you a ton of features and Kodi is just splendid.
On your unsupported USB Tuner:
There are confirmed issues with USB DVB adapters starting with the 4.9.x kernel, I'm also stuck with 4.4.50, take a look here:
https://www.linuxquestions.org/quest...6/#post5750317
Therefore, I'd suggest to go for this (out of your link from the original post):
A kernel patch for the support of both tuners can be found at
https://forum.libreelec.tv/thread-2867.html . The thread refers to a patch file for kernel 4.2.5 downloadable at
https://www.dropbox.com/s/qkw7fn7y9s...ch.tar.xz?dl=0
I'd also suggest to try building the latest media tree, you might be lucky to get it already patched. If not, you can patch it yourself with the instructions above. I'm always doing this for my unsupported Technisat DVB adapter and it just works fine.
Here are some hints / instructions to help you on the way:
- make sure you have the exact kernel version with uname -a
- use that and substitute wherever you find EXACT-KERNEL-VERSION
- get the kernel headers source (use slackpkg install kernel-source-EXACT-KERNEL-VERSION) for your running kernel and obtain the current kernel .config file:
Code:
modprobe configs
cp /proc/config.gz /usr/src/linux-headers-EXACT-KERNEL-VERSION
rmmod configs
cd /usr/src/linux-headers-EXACT-KERNEL-VERSION
gunzip config.gz
mv config .config
- prepare thee kernel headers source tree:
Code:
cd /usr/src/linux-headers-EXACT-KERNEL-VERSION
make oldconfig
make prepare
make modules_prepare
- backup your current /lib/modules & /lib/firmware
Code:
cd /lib/
tar -czvpf firmware-modules-back.tgz firmware/ modules/
- to restore them after a failed attempt
Code:
cd /lib/
rm -rf firmware/
rm -rf modules/
tar -xzvpf firmware-modules-back.tgz
/sbin/depmod -a EXACT-KERNEL-VERSION
shutdown -r now
- for compiling media tree you'll need patch-utils and two perl dependecies:
1. patch-utils
slackpkg install patch
2. PCRE - Perl Compatible Regular Expressions:
http://www.pcre.org/
slackpkg install pcre
3. perl module DateTime::TimeZone (try not to update cpan itself, it'll take ages
)
Code:
perl -MCPAN -e shell
cpan> install DateTime::TimeZone
cpan> quit
Media Tree download, PATCHING and compilation. My approach is to start the media tree build script, follow the progress and run my own patch script in a second tty at the time the build script finishes downloading and extracting the driver/firmware archives.
Code:
mkdir /kit
cd /kit
git clone git://linuxtv.org/media_build.git
cd media_build/
./build
# HERE you need to focus and look after the section below - "Start building" - and execute in a second tty your patch script
make install
/sbin/depmod -a EXACT-KERNEL-VERSION
shutdown -r now
Media Tree section you need to wait for and execute your patch script in a second tty (be quick!):
Code:
******************
* Start building *
******************
make -C /kit/media_build/v4l allyesconfig
make[1]: Entering directory '/kit/media_build/v4l'
No version yet, using 4.4.50-v7+
make[2]: Entering directory '/kit/media_build/linux'
Applying patches for kernel 4.4.50-v7+
Just for inspiration, here is how I patch my stb0899_drv.c tuner file:
- cat patch.sh
Code:
#!/bin/bash
#Patching stb0899
rm /kit/media_build/linux/drivers/media/dvb-frontends/stb0899_drv.c
cp /kit/DVB-WORKS/stb0899_drv-PATCHED_OK.c /kit/media_build/linux/drivers/media/dvb-frontends/stb0899_drv.c
Obviously you can use Ctrl-Z to suspend the execution, manually run your patches commands in the same tty and then issue a fg command to resume the build script - many times I broke things by doing this, that's why I'm not using it anymore. Or, modify the media tree build script and insert your own patches, this should be the most elegant solution.
Have fun!