Driver tuner DvB internel on LE 11 kernel 6 Work !!!!!

  • This is a box for the pirate BeOutQ satellite service in the Middle-East (targetted at Saudi Arabia). According to a UEFA report on the box that I found in Google it has a Montage M88RS6060 tuner and this chipset has drivers in the upstream kernel (CONFIG_MEDIA_TUNER_M88RS6000T) which are not currently enabled in the AMLGX image; but the user behind the video has presumably self-built an LE image after enabling the needed things.

    LE10/LE11/L12 all support DVB hardware (internal or external) *IF* the hardware has upstream drivers. Your WP2 box has old drivers written for 3.10 kernel that were ported to 3.14 .. and nothing newer. I made an attempt to clean-up the tuner/demod/diseq drivers (enough to compile them on a recent/current kernel, see https://github.com/chewitt/linux/commits/dvb-sucks) but these drivers are not modular following modern kernel standards and more code-glue is needed to make anything work; and AFAIK the signal from the tuner and demod needs to be processed by an Amlogic demux driver which doesn't exist. I have no real clue how the DVB stuff works and I don't write code .. someone that does needs to take that work forwards.

    TL/DR; nothing new .. nothing that will advance the non-support for the tuners in your WP2 box.

  • chewitt M88RS6060 is very popular chip updated for S2X and in may opinion stable and signal sensitive tuner chip, i also have one on mecool-m8s-dvb-s2x, alexelec builds have most complex releases for that device (based on kernel amlogic 3.xx ) with driver implementaion lacking s2x extensions because standard linux kernel also today (6.7) have incomplete support for S2X DVB API ... and i think it is not technical problem to enable it, thru blocker is milions stboxes with s2 only ...

  • If someone creates a test build to prove M88RS6060 works on Linux 6.7 (show me logs from Linux and Tvheadend) and then tells me the specific kernel defconfig options to enable; I will enable support in the AMLGX image.

  • CoreELEC (official): 20.4-Nexus (Amlogic-ng.arm)
    Machine model: Amlogic
    CoreELEC dt-id: gxl_p231_1g_m8s_dvb-s2
    Amlogic dt-id: gxl_p231_1g

    CoreELEC:~ # ls /dev/dvb/adapter0/
    demux0 demux1 demux2 dvr0 dvr1 dvr2 net0 net1 net2

    CoreELEC:~ # ls -l /lib/firmware/dvb-demod-m88rs6060.fw
    lrwxrwxrwx 1 root root 65 Jan 1 2017 /lib/firmware/dvb-demod-m88rs6060.fw -> /usr/lib/kernel-overlays/base/lib/firmware/dvb-demod-m88rs6060.fw

    CoreELEC:~ # dmesg |grep dvb
    [ 0.000000@0]d CoreELEC dt-id: gxl_p231_1g_m8s_dvb-s2
    [ 15.377154@1]- kernel-overlays-setup: processing conf /storage/.cache/kernel-overlays/50-driver.dvb.dvb-latest.conf
    [ 15.519368@3]- kernel-overlays-setup: added modules from /storage/.kodi/addons/driver.dvb.dvb-latest//kernel-overlay/lib/modules/4.9.269
    [ 27.078906@3]- dvb_meson: no symbol version for amports_switch_gate
    [ 27.083241@3]- dvb_meson dvb: Found i2c-1 adapter: Meson I2C adapter
    [ 27.083252@3]- dvb_meson dvb: ts0: parallel
    [ 27.083494@3]- dvb_meson dvb: ts0_control: 0x0
    [ 27.083665@3]- dvb_meson dvb: dev_name=avl6762
    [ 28.305970@0]- dvb_meson dvb: DVB demod detection for i2c-1 (Meson I2C adapter)...
    [ 29.521978@3]- dvb_meson dvb: Checking for Availink AVL6762 DVB-T2/C demod ...
    [ 29.522081@3]- i2c i2c-1: dvb_meson: i2c wr failed=-6 len=3
    [ 29.522143@3]- i2c i2c-1: dvb_meson: i2c rd failed=-6 len=4
    [ 29.522203@3]- i2c i2c-1: dvb_meson: i2c wr failed=-6 len=3
    [ 29.522262@3]- i2c i2c-1: dvb_meson: i2c rd failed=-6 len=4
    [ 29.522266@3]- i2c i2c-1: dvb_meson: attach failed reading id
    [ 29.522273@3]- dvb_meson dvb: Failed to find AVL6762 demod!
    [ 29.522277@3]- dvb_meson dvb: Total DVB modules found: 0
    [ 29.533168@3]- dvbdev: DVB: registering new adapter (dvb_meson)

    dvb-s2 in that device is missing currently because in (Amlogic-ng.arm) is not enabled (in 4.9 kernel if exist) neccesary module and aml part with dvb support probably, i can test Libreelec on that device but from which build send logs? official nightly or some custom?


    AlexELEC: 3.3.9 (S9XX.arm)

    AlexELEC:~ # ls /dev/dvb/adapter0/
    demux0 demux2 dvr1 frontend0 net1
    demux1 dvr0 dvr2 net0 net2

    AlexELEC:~ # ls -l /lib/firmware/dvb-demod-m88r*
    lrwxrwxrwx 1 root root 65 Jun 22 2018 /lib/firmware/dvb-demod-m88rs6000.fw -> /usr/lib/kernel-overlays/base/lib/firmware/dvb-demod-m88rs6000.fw

    AlexELEC:~ # dmesg |grep dvb
    [ 14.728383@1] DVB: aml_dvb_probe: probe amlogic dvb driver
    [ 14.728414@1] DVB: aml_dvb_probe: dmx rst ctl = ffffffc023ef6a00
    [ 14.728421@1] DVB: aml_dvb_probe: asyncfifo rst ctl = ffffffc023ef6c80
    [ 14.728426@1] DVB: aml_dvb_probe: ahbarb0 rst ctl = ffffffc023ef69c0
    [ 14.728432@1] DVB: aml_dvb_probe: uparsertop rst ctl = ffffffc023ef6600
    [ 14.728559@1] DVB: registering new adapter (amlogic-dvb)
    [ 14.728561@1] DVB: aml_dvb_probe: Registered adpter: amlogic-dvb
    [ 16.833011@1] amlogic-dvb dvb.50: DVB: registering adapter 0 frontend 0 (Montage RS6060)...

    AlexELEC:~ # dmesg |grep rs6060
    [ 16.408074@2] m88rs6060_load_firmware: Load built in firmware...


    LibreELEC (chewitt): 11.80.0 (AMLGX.aarch64)

    LibreELEC:~ # ls /dev/dvb/
    ls: /dev/dvb/: No such file or directory

    LibreELEC:~ # ls -l /lib/firmware/dvb-demod-m88rs6060.fw
    lrwxrwxrwx 1 root root 65 Jan 1 1970 /lib/firmware/dvb-demod-m88rs6060.fw -> /usr/lib/kernel-overlays/base/lib/firmware/dvb-demod-m88rs6060.fw

    LibreELEC:~ # dmesg |grep dvb
    LibreELEC:~ #

    LibreELEC:~ # dmesg |grep rs6060
    LibreELEC:~ #

    LibreELEC:~ # ls /lib/modules/6.7.6/kernel/drivers/media/dvb-frontends/m88*
    /lib/modules/6.7.6/kernel/drivers/media/dvb-frontends/m88ds3103.ko
    /lib/modules/6.7.6/kernel/drivers/media/dvb-frontends/m88rs2000.ko

    Edited 3 times, last by stpf99 (March 5, 2024 at 9:35 AM).

  • im ask for support " mecool m8s plus dvb-s2x " internal tuner possible support in Libreelec amlogic,

    Corelec for that device is in "NG" (with 4.9 kernel) but in "NE" is only that module enabled

    and probably in 4.9 kernel is not possible to enable that module for "m88rs6060" demodulator,

    so basically on that device we must wait for kerenel upgrade to 5.4... in Corelec-ng which support S905Dv1

    or wait for Libreelec to support that internal tuners

    MUCH EXPECTED IS SUPPORT IN LIBREELEC WITH RECENT KERNELS (FOR S2x) BECAUSE S2X EXTENSIONS STACK IN DVBV5 IS MORE UPDATED IN RECENT KERNELS AND STILL PROGRESSING

    Edited 2 times, last by stpf99 (March 5, 2024 at 9:53 AM).

  • i have selected "meson-gxl-s905d-p231.dtb" -- m8s-plus-dvbs is not included in LibreELEC-AMLGX.aarch64-11.80.0

    in frontends:

    some informations anyone could find in kernel from today, https://github.com/torvalds/linux/tree/master/drivers/media

    CONFIG_MEDIA_TUNER_M88RS6000T - Driver for the internal tuner of Montage M88RS6000

    m88ds3103.c m88ds3103.h mb86a16_priv.h - Montage Technology M88DS3103/M88RS6000 demodulator driver

    m88rs6000t.c m88rs6000t.h - Driver for the internal tuner of Montage M88RS6000

    mb86a16_priv.h :

    #define M88DS3103B_FIRMWARE "dvb-demod-m88ds3103b.fw" i contributed to this driver some inf from diffrent kernels runing on device h - h - h
    #define M88DS3103_FIRMWARE "dvb-demod-m88ds3103.fw"
    #define M88RS6000_FIRMWARE "dvb-demod-m88rs6000.fw"

    this is S2x so new family probably should be separeted for easy enablment group of this devices when new incomers income to tree

    so for proper including this demodulator adding new single files for support like in CoreElec-NE to Linux AMLogic 4.9 (CoreELec-NG) if possible should be enought for now but if LE AMLogic kernel sometime aquaire Meson DVB it will be also nice

  • which CoreElec to try on S905D m8s plus-dvbs2x, only NE build i think have that kernel but this device is 1st gen S905D and builds suported egsists in NG which has 4.9 kernel

  • which CoreElec to try on S905D m8s plus-dvbs2x, only NE build i think have that kernel but this device is 1st gen S905D and builds suported egsists in NG which has 4.9 kernel

    We don't answer CoreELEC questions here. They have their own forum.

  • It's not impossible to get these drivers working, but it requires someone with a huge amount of time and far greater coding skills than myself, and the final result will never be accepted upstream due to issues with code provenance. In reality the generation of GXBB/GXL/GXM boxes that have tuners inside will have died and gone to landfill long before someone volunteers to do the work.

    I'd rephrase "We don't answer CE questions here" as "better to ask CE questions to their devs in their forum.."