Posts by unkrocks

    Thanks smp . I followed your instructions to the letter

    tbs5520SE not recognised, beyond lsusb seeing it (below)

    (pastekodi and other debug info below)

    I checked the build logs and it looks like your excellent patch is being applied (54.log excerpt below)

    Having followed nvdias above, I wonder if...

    - firmware is correctly installed for tbs5520se ?? I haven't tweaked any firmware

    Any help anyone can give is much appreciated

    For interest - I am actually trying to debug my friends tbs5520SE a few hundred miles away in Scotland so he is not without TV - smile :)

    ______________________

    kernel is shown as aarch64 5.10.52

    54.log

    patching file kernel/power/main.c

    Hunk #1 succeeded at 95 (offset 49 lines).

    [1;32mAPPLY PATCH [1;37m(common - raspberrypi)[0m[0m packages/linux/patches/raspberrypi/linux-tbs5520se.patch

    patching file drivers/media/dvb-frontends/Kconfig

    patching file drivers/media/dvb-frontends/Makefile

    patching file drivers/media/dvb-frontends/si2183.c

    patching file drivers/media/dvb-frontends/si2183.h

    patching file drivers/media/usb/dvb-usb/Kconfig

    Hunk #1 succeeded at 343 (offset 3 lines).

    patching file drivers/media/usb/dvb-usb/Makefile

    patching file drivers/media/usb/dvb-usb/tbs5520se.c

    patching file drivers/media/usb/dvb-usb/tbs5520se.h

    patching file drivers/media/tuners/Kconfig

    patching file drivers/media/tuners/Makefile

    patching file drivers/media/tuners/av201x.c

    patching file drivers/media/tuners/av201x.h

    patching file drivers/media/tuners/av201x_priv.h

    patching file drivers/media/usb/dvb-usb/dvb-usb.h

    patching file drivers/media/dvb-core/dvb_frontend.c

    Hunk #3 succeeded at 2716 (offset -73 lines).

    patching file include/media/dvb_frontend.h

    patching file drivers/media/usb/dvb-usb/dvb-usb-dvb.c

    patching file drivers/media/tuners/si2157.c

    patching file include/uapi/linux/dvb/frontend.h

    [1;33mBUILD[0m linux [1;37m(host)[0m

    [1;35mTOOLCHAIN[0m make (auto-detect)

    pastekodi - http://ix.io/3wXv

    pi4:~ # lsusb

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 004: ID 734c:5521 TBS Technologies China

    Bus 001 Device 003: ID 1997:2433 Shenzhen Riitek Technology Co., Ltd wireless mini keyboard with touchpad

    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    pi4:~ # lspci

    00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 10)

    01:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

    My thanks to nvdias, smp and cvh for their work on this issue.

    I have realised that the tbs drivers are very kernel specific when I tried to compile them

    I have RPi4 and tbs5520se.

    I compiled releases 9.95.2 (kernel 5.10.27) and 9.95.1 (kernel 5.10.17) successfully, but neither will work with the nvdias overlay driver for kernel 5.10.25

    Sorry if a Noob question...

    How do I find or generate a libreelec image with a kernel 5.10.25, so I can use nvdias patch (from above)?

    or please point me to a libreelec image that will definitely work with tbs5520SE?

    Alternatively, how do I recompile the tbs drivers for a newer kernel?

    Someone said 9.2.6 works with Rpi4 ?? I'm greedy, I want 9.2.8 with widevine fix as well :)

    Thanks

    There seems to be a problem with these cards in newer kernels, see

    nvdias
    March 6, 2021 at 8:11 PM

    A couple of possible solutions in the thread, but they involve building/tweaking

    Huge thanks to crazycat and LE team for their work. I'm looking forward to a solution to this