Sony CXD2837 in LibreELEC

  • Greetings!

    I decided to move a few TVBoxes i own from Android to LibreElec because performance is greatly increased.

    I am impressed with LibreELEC overall but i am trying to get my CXD2837 dvb-t2 tuner working.

    I got the source code and built with wetekdvb support (they said it is the same chipset). but it throws:

    CCOM:/flash # modinfo wetekdvb.ko

    modinfo: ERROR: Module wetekdvb.ko not found.

    CCOM:/flash # modinfo /usr/lib/mod

    modprobe.d/ modules-load.d/ modules/

    CCOM:/flash # modinfo /usr/lib/mod

    modprobe.d/ modules-load.d/ modules/

    CCOM:/flash # modinfo /usr/lib/modules/3.10.99/wetekdvb/wetekdvb.ko

    filename: /usr/lib/modules/3.10.99/wetekdvb/wetekdvb.ko

    license: Proprietary

    depends:

    vermagic: 3.10.99 SMP mod_unload ARMv7

    parm: adapter_nr:DVB adapter numbers (array of short)

    CCOM:/flash # uname -r

    3.10.99

    CCOM:/flash # modprobe wetekdvb

    modprobe: ERROR: could not insert 'wetekdvb': Exec format error

    CCOM:/flash #


    ¿Someone has gotten this driver working?

  • The "wetekdvb" module contains code that detects specific properties unique to WeTek hardware, and if not detected, the driver will not run.

    DVB drivers on Amlogic are a mucking fess. YMMV.

  • Oh! Well, i was close and i feel proud :P.

    Took the make menuconfig path and now i think i have to fix this one:

    7147 blocks

    make[1]: Entering directory '/home/drode/http://LibreELEC.tv/build.CCOM-Drode.arm-8.2-devel/linux-1be06c2'

    CHK include/generated/uapi/linux/version.h

    CHK include/generated/utsrelease.h

    CC scripts/mod/devicetable-offsets.s

    GEN scripts/mod/devicetable-offsets.h

    make[2]: 'include/generated/mach-types.h' is up to date.

    HOSTCC scripts/mod/file2alias.o

    HOSTLD scripts/mod/modpost

    CALL scripts/checksyscalls.sh

    CHK include/generated/compile.h

    LD drivers/auxdisplay/built-in.o

    CC drivers/base/core.o

    CC drivers/amlogic/dvb_tv/aml_dvb.o

    In file included from drivers/amlogic/dvb_tv/aml_dvb.c:51:0:

    drivers/amlogic/dvb_tv/aml_dvb.h:81:2: error: unknown type name 'dmx_ts_pes_t'

    dmx_ts_pes_t pes_type;

    ^~~~~~

    drivers/amlogic/dvb_tv/aml_dvb.c: In function 'aml_dvb_probe':

    drivers/amlogic/dvb_tv/aml_dvb.c:1277:55: error: 'DVB_DEVICE_DSC' undeclared (first use in this function)

    &dvbdev_dsc, advb, DVB_DEVICE_DSC);

    ^~~~~~

    drivers/amlogic/dvb_tv/aml_dvb.c:1277:55: note: each undeclared identifier is reported only once for each function it appears in

    make[4]: * [scripts/Makefile.build:308: drivers/amlogic/dvb_tv/aml_dvb.o] Error 1

    make[3]: * [scripts/Makefile.build:455: drivers/amlogic/dvb_tv] Error 2

    make[2]: * [scripts/Makefile.build:455: drivers/amlogic] Error 2

    make[2]: * Waiting for unfinished jobs....

    CC drivers/base/bus.o

    CC drivers/base/dd.o

    CC drivers/base/syscore.o

    CC drivers/base/driver.o

    CC drivers/base/class.o

    CC drivers/base/platform.o

    CC drivers/base/cpu.o

    CC drivers/base/firmware.o