Following the compiled drivers for TBS 5520 SE DVB receiver for LE10 on RPI4 (available here: LE10 & TBS 5520SE on RPi4 // updated drivers [SOLVED])
I've created this thread to share the source code of the patches to apply, compatible with LE11 and LE12 current source code from GITHUB.
The patches were made by smp (thank you ).
I've just made some small offset adjustments to go on with kernel source code updates.
- 2 patch files are included :
a) lepatch_prepare_tbs_module_enable.patch - to enable tbs5520se module compilation in kernel;
b) lepatch_code_changes_tbs5520se.patch - to add tbs5520se needed source code;
- how to apply these patches for RPi4:
download and go into LibreELEC git source local copy:
git clone https://github.com/LibreELEC/LibreELEC.tv.git
cd LibreELEC.tv
copy the attached patches to LibreELEC git source directory:
then run:
cp lepatch_code_changes_tbs5520se.patch projects/RPi/devices/RPi4/patches/linux
git apply lepatch_prepare_tbs_module_enable.patch
- if later on git complains about branches mismatch or similar on updating sources
then, re-apply the patches.
Goodluck !
LibreELEC_TBS5520SE.zip