I’m running OSMC on a Pi0 and would like to connect my DVB-S2 adapter to it and use tvheadend to stream on localhost. I’ll compile tvheadend on my own (start it too) and in Kodi I already have installed the PVR HTS tvheadend plugin, which is working good when used for tvheadend streams from another systems. My DVB adapter has an unsupported patch and I’m not able to recompile it for the kernel that comes with OSMC - OSMC_TGT_rbp1_20170803.img I’d be thankful if some of the developers could help me and recompile the attached patched tuner file. Since I’m not able to attach it to this post, I’ve uploaded the source file. I might be able to help myself if I know where to get the kernel headers. Not sure I’ll be able to compile anything under the pi0 since OSMC is really stripped down and I don’t have any toolchain. Thank you very much for your confirmation and hint.
Since the kernel is compiled with CONFIG_MODVERSIONS enabled, I was looking for the kernel headers and Module.symvers only and considered to build only the module I need, or, use the media_build and rebuild only the media dirivers and not the whole kernel. This is why I was referring to perl - it is used by the media_build: git://linuxtv.org/media_build.git Compiling the whole kernel again with the patched driver will indeed take a lot of time on a pi0. I could use a spare Pi2/Pi3 but I’m afraid that the resulting code won’t be armv6 compatible. I have no Idea what these new Linux Distributions have hidden in their build scripts. I’m used to compile everything by hand (more like BSD style) and I think I’ll use the pi0 for the kernel compilation, at least I’m sure that these Debian build automation scripts will take the correct platform architecture (armv6) for the build. Problem resolved. Consider this thread closed / resolved.
May 12, 2009 I also tried everything installing 4.3.3 and 4.5.0 NON-BDA drivers on WIn 7 64bit - definately a no go. I didn´t check 32bit, but on 64bit its a no go. Shop TechniSat SkyStar USB HD DVB-S2 Digital Satellite USB Box for PC with PVR. The receiver comes with a DVD containing software but no device driver (? However, I wanted to have the option of recording a third channel at the same.
Thanks again! I much appreciate your help! I’ll use a Pi2/3 for the compilation then.
Sorry, I’m not used with Debian - never used it (& never will). I don’t know if the patch is interesting enough for other people.
There was an old Technisat SkyStar USB 2 CI DVB-S2 adapter sold everywhere in Europe by the time DVB-S2 was “hot” and this adapter has 2 internal tuners (DVB & DVB-S2) and an unsupported patch: Following the patch instructions from there won’t work anymore, only a manual patch (manual editing - copy/paste) will. The source file attached in my original post is already patched and working (using it for 2-3 years). On the kernel update Frustration - I’d like to elaborate a little bit. THIS is exactly my problem now.
I used to update the kernel from Raspbian on every new release, by taking the kernel headers and recompiling the media_build with the patched driver. A process that I already automated on my beloved Linux distro and which takes only 40 minutes on a Pi2B.
The most frustrating part was to boot the Rasbian itself in order to take the kernel headers for the new and running kernel. I came across OSMC and got wondered that it is able to reproduce FullHD at 50FPS on the pi0 - some new DVB-S2 channels use this demanding format. My beloved Linux distro has only a SoftFloat port for the already obsolete armv6 and under SoftFloat the FPU (VFP code) is not used optimally, thus at FullHD 50FPS I get frame drops in Kodi. I’m considering now to patch the OSMC on the pi0 and embed the pi0 in my USB DVB-S2 adapter (plenty of space inside the plastic case and enough internal electric power to feed it through a 5V positive regulator) and forget it there until the tuner itself dies. No more frustrating updates! I personally had those DVB Stream continuity issues on my actual (non-OSMC) system and I’m using the 4.4.50 ATM.
While I started the compilation on my pi0, I’m afraid that the result will not work. I tried to modify the script: test $1 == rbp1 && VERSION=“4.9.29” && REV=“11” && FLAGS_INITRAMFS=$(($INITRAMFS_BUILD + $INITRAMFS_EMBED)) && IMG_TYPE=“zImage” to test $1 == rbp1 && VERSION=“4.4.0” && REV=“13” && FLAGS_INITRAMFS=$(($INITRAMFS_BUILD + $INITRAMFS_EMBED)) && IMG_TYPE=“zImage” but ran into patch/build issues. Just for the record, I managed to recompile the 4.9.29 kernel with my tuner patch. It took around 30 hours!! On a pi0 with an external HDD attached (where the compilation - working directory took place). Unfortunately I couldn’t achieve what I was looking after.
The pi0 CPU is way too weak for handling both tvheadend and Kodi and I was able to only watch DVB-S (MPEG2 - 700x500@25FPS) and DVB-S2 (MPEG4-FullHD@25FPS). However, on DVB-S2 - FullHD@25FPS Kodi’s UI was almost unusable - very slow and tvheadend was eating up around 45% of the CPU. DVB-S2 - FullHD at 50FPS (those more exotic channels) were unwatchable - the system was also unresponsive / almost crashing. While the pi0 might work OK for FullHD@25FPS as a player device only, using it as a DVB FullHD tuner seems to not be possible due to its weak single-core CPU (the GPU is powerful enough to take the load). - thank you again for all the help provided! Of course you can have it! Happy to help!