S905X4 built in DVB

Mecool android dtb

build.prop (6.4 KB)

vitmodK5configconfig.txt (138.8 KB)

dtb.img (93.2 KB)

regarding sys led the only difference is polarity, so you should be able to confirm it with the commands I sent before

sm1_s905x3_mecool_k5.dtb (76.8 KB)

AVL6862-22.0.5.2.zip (447.0 KB)

echo none > /sys/class/leds/sys_led/trigger (none)
echo 0 > /sys/class/leds/sys_led/brightness (Blue led is on) must be turn on
echo 1 > /sys/class/leds/sys_led/brightness

(Red Led is on) must be standby

working dtb file

sm1_s905x3_mecool_k5.dtb (76.8 KB)

sm1_s905x3_mecool_k5_sys_led.dtb (76.8 KB)

Led is ok. Big thanks.

CoreELEC:~ # dmesg | grep -i error
[    2.142020] error: vout_meas_ctrl_init_dft: get vdin_meas_clk err!
[    2.290601] error: aml_vout_get_dt_info: can't get vsync irq
[    2.312507] vpu: error: vpu_vmod_mem_pd_get: invalid vpu mod: 72
[    2.333337] ppmgr: probe of ppmgr failed with error -22
[    2.368357] vpu: error: vpu_vmod_mem_pd_get: invalid vpu mod: 72
[    2.429635] [drm:meson_of_init] *ERROR* osd_axi_sel parser failed and set
default 0
[    2.436509] [drm:am_meson_logo_init] *ERROR* failed to init reserved memory
[    2.766278] platform regulatory.0: Direct firmware load for regulatory.db
failed with error -2
[    4.619064] init: ### No filesystem errors found, continuing...
[   43.264308] firmware_codec firmware_vdec: Direct firmware load for video/video_ucode.bin failed with error -2
[   43.264332] Error : -2 can't load the video/video_ucode.bin.
[   43.324455] read error:ts0_control: 0x0
[   43.324581] read error:ts2_control: 0x0
[   48.870199] hci0: Injecting HCI hardware error event
[   48.870243] hci0: hardware error 0x00
[   52.934821] hci0: Injecting HCI hardware error event
[   52.934845] hci0: hardware error 0x00
[   58.334584] [hdmitx:] *HDMITX_ERROR* Should run disable_mode before enable new mode.
CoreELEC:~ # dmesg | grep -i "error\|fail\|warn"
[    0.000000] failed to allocate memory for node 'linux,meson-fb'
[    0.000000] node linux,ion-fb compatible matching fail
[    2.118669] failed to find match efuse key
[    2.136628] tee_protect_mem open context failed
[    2.141090] read format in dts failed, ret = -1
[    2.141230] read format in dts failed, ret = -1
[    2.144895] error: vout_meas_ctrl_init_dft: get vdin_meas_clk err!
[    2.151903] [hdmitx:] warn getting FEAT_DISABLE_HDMI_60HZ: 101
[    2.151910] [hdmitx:] warn getting FEAT_DISABLE_OUTPUT_4K: 101
[    2.151915] [hdmitx:] warn getting FEAT_DISABLE_HDCP_TX_22: 101
[    2.151922] [hdmitx:] warn getting FEAT_DISABLE_HDMI_TX_3D: 101
[    2.151928] [hdmitx:] warn getting FEAT_DISABLE_HDMITX: 101
[    2.293346] error: aml_vout_get_dt_info: can't get vsync irq
[    2.293683] [hdmitx:] warning, echo /sys/class/display/mode is disabled
[    2.315259] vpu: error: vpu_vmod_mem_pd_get: invalid vpu mod: 72
[    2.331336] create_ge2d_work_queue video task failed
[    2.332290] create amvideo_poll attribute (null) fail
[    2.336055] ppmgr: probe of ppmgr failed with error -22
[    2.370002] vpu: error: vpu_vmod_mem_pd_get: invalid vpu mod: 72
[    2.394903] failed to create ge2d working queue
[    2.425373] thermal: register cpucore failed
[    2.425522] thermal: read num_of_pp failed
[    2.429018] meson_cdev one or more cooldev register fail
[    2.431133] [drm:meson_of_init] *ERROR* osd_axi_sel parser failed and set
default 0
[    2.437946] [drm:am_meson_logo_init] *ERROR* failed to init reserved memory
[    2.593800] g12a-mdio_mux ff64c000.mdio-multiplexer: wzh failed to get ethrmii clock
[    2.624188] failed to get data_lb_ratec
[    2.627953] asoc-aml-card auge_sound: aml_card_dai_link_of, read suffix-name failed, -22
[    2.628019] asoc-aml-card auge_sound: aml_card_dai_link_of, read suffix-name failed, -22
[    2.628137] asoc-aml-card auge_sound: aml_card_dai_link_of, read suffix-name failed, -22
[    2.628224] asoc-aml-card auge_sound: aml_card_dai_link_of, read suffix-name failed, -22
[    2.689401] g12a-mdio_mux ff64c000.mdio-multiplexer: wzh failed to get ethrmii clock
[    2.761021] amlogic-new-usb3-v2 ffe09080.usb3phy: Failed to get pcie_bgp
[    2.813550] platform regulatory.0: Direct firmware load for regulatory.db
failed with error -2
[    2.813561] failed to load regulatory.db
[    6.225043] init: ### No filesystem errors found, continuing...
[   37.898131] ### BIG FAT WARNING
[   37.903871] ### BIG FAT WARNING
[   44.537186] of_address_to_resource failed
[   44.550842] read format in dts failed, ret = -22
[   44.569016] firmware_codec firmware_vdec: Direct firmware load for video/video_ucode.bin failed with error -2
[   44.569042] Error : -2 can't load the video/video_ucode.bin.
[   44.569046] get data from fsys fail.
[   44.639338] read error:ts0_control: 0x0
[   44.639510] read error:ts2_control: 0x0
[   47.301873] AVL68xx: failed to attach tuner1, dual tuner not supported
[   50.794393] hci0: Injecting HCI hardware error event
[   50.794442] hci0: hardware error 0x00
[   54.856627] hci0: Injecting HCI hardware error event
[   54.856659] hci0: hardware error 0x00
[   55.463405] [hdmitx:] *HDMITX_ERROR* Should run disable_mode before enable new mode.
[  829.703275] read format in dts failed, ret = -22
[  829.781429] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  857.937730] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  857.949842] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  858.028381] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  859.637028] 0: ammvdec_h264_probe error_proc_policy 0x7fcff6 mb_count_threshold 5
[  859.653996] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  874.782365] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  874.809803] 0: ammvdec_h264_probe error_proc_policy 0x7fcff6 mb_count_threshold 5
[  874.813830] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  874.861927] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  876.455900] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  898.442364] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  898.473038] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  898.501983] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  904.495864] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  904.542229] [0]cur lcu idx = 0, (total 8160), set error_mark
[  904.546480] [0]cur lcu idx = 0, (total 8160), set error_mark
[  904.548896] [0]cur lcu idx = 0, (total 8160), set error_mark
[  904.549741] [0]cur lcu idx = 0, (total 8160), set error_mark
[  904.550677] [0]cur lcu idx = 0, (total 8160), set error_mark
[  904.551512] [0]cur lcu idx = 0, (total 8160), set error_mark
[  904.552356] [0]cur lcu idx = 0, (total 8160), set error_mark
[  916.595177] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  923.215365] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  923.264500] [0]cur lcu idx = 0, (total 8160), set error_mark
[  923.268157] [0]cur lcu idx = 0, (total 8160), set error_mark
[  923.272200] [0]cur lcu idx = 0, (total 8160), set error_mark
[  923.272999] [0]cur lcu idx = 0, (total 8160), set error_mark
[  923.273640] [0]cur lcu idx = 0, (total 8160), set error_mark
[  923.274254] [0]cur lcu idx = 0, (total 8160), set error_mark
[  923.275249] [0]cur lcu idx = 0, (total 8160), set error_mark
[  955.293204] [hdmitx:] *HDMITX_ERROR* not support hdmitx_vout_set_vframe_rate_hint
[  963.784890] resman: notify error info = {"subModule":11,"level":2,"logType":1,"errorType":6,"msg":"HDMITX_HPD_PLUGOUT"}

I don’t know if you have time for this, but is there a possibility that you could add/combine the Avl 2018 tuner and Avl6261C demodulator to the media_tree_aml driver? I can test it on the MagicSee C500. Adding the Avl6762 is OK (it’s not capturing channels right now). Maybe the DVB-S part will work. You probably know the sources for this driver.

Would the great work being discussed on this thread enable the Homatics DVB device Amlogic-NO discussion - #204 by vpeter on the S905X4 or is it still Android only?

I would rather make it work before trying with DVB-S, for example there could be TS inputs swapped which also would make DVB-S not working.
Did You tried DTS from this post S905X4 built in DVB - #144 by rozpruwacz ?
If You have problems with compiling it here You have compiled DTB:
sm1_s905x3_avl6762_serial.dtb (77.2 KB)
Do the manual scan with dvbv5-scan and paste output here. also paste dmesg output after running the scan.

As I mentioned before, I don’t have a Linux computer. I’m using my phone to log files using Serial USB Terminal - Apps (cpl2101 115200 baud rate) and converting dtb to dts or dts to dtb on the coreelec. I tried adding the 2.1 KB content of sm1_s905x3_avl6762_serial.dts, but I didn’t succeed. The dtb conversion gave me a lot of errors. The error is actually because it wasn’t created with a real compilation. I’ll try this new dtb.

I’ve actually heard of that tuner. It’s used in Homatics’ S905x4 devices. It uses a Type-C socket. However, we need to determine whether the demodulator is connected to the processor via HW tSinput. If it’s connected to the system via a USB tuner, it can be defined by adding the Linux Media kernel config. The image shows the sda, scl, clk, valid, do, sop, and rst GND pins, and if it’s connected directly to the processor, it looks like a serial tsinterface. However, we should investigate whether the cxd2856 demodulator is open source. There are prebuilt modules for Android. ( vendor_amlogic_prebuilt_tuner/64/5_4 at openlinux/ott/u-amlogic Ā· rfexplore/vendor_amlogic_prebuilt_tuner Ā· GitHub )
Some example DTSs are also available. dts: modify tuner and demod config adaptor driver changes [1/1] Ā· shantigilbert/linux-amlogic-ce-ogu@661ae74 Ā· GitHub
We need to research and find the demodulator’s source code.

Looks like Homatics tuner is NOT USB device and just using connector for signals.

Sadly Homatics was totally uncooperative to provide any information about this tuner when we get device and tuner. Like part of the schematic, driver, … With such attitude I saw no reason to do any work in this area. Sadly.

bizarre …

I used cxd2856 sucessfully on CE-NG with gxl device, I see that cxd2856 driver is also included in 5.15 kernel (but this one requires slight modifications, doable). But there is no information about the tuner and which TS input / i2c is used. So at least those informations are required, dtb/dts from android + picture of the tuner (under the metal cap of the RF input). Maybe this will be enough to make it work.

From my notes for Homatics tuner:

demodulator
  cxd2856
tuner
  r836   DVB-T/T2/C, ISDB-T/C
  av2018 DVB-S/S2

For connections Android DTS has some informations?

Here is dvb scan

CoreELEC:~ # dvbv5-scan /storage/downloads/scan.conf
ERROR    command BANDWIDTH_HZ (5) not found during retrieve
Cannot calc frequency shift. Either bandwidth/symbol-rate is unavailable (yet).
Scanning frequency #1 530000000
Lock   (0x1f) Signal= -32.34dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #2 466000000
Lock   (0x1f) Signal= -32.29dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #3 418000000
Lock   (0x1f) Signal= -32.31dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
CoreELEC:~ #
CoreELEC:~ # dvb-fe-tool
Device Availink AVL6762 (/dev/dvb/adapter0/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_4_5
     CAN_FEC_5_6
     CAN_FEC_6_7
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_HIERARCHY_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_QPSK
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.11, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     DVBC/ANNEX_A
     DVBC/ANNEX_B
Frequency range for the current standard:
From:             175 MHz
To:               858 MHz
Step:            25.0 kHz
CoreELEC:~ # dmesg | grep -i dvb
[    2.081030] dvb power gpio invalid
[    2.081114] aml_dvb_extern_init: OK, version: V1.28
[   16.614981] probe amlogic dvb driver [V2.02]
[   16.615199] aml_dvb_get_adapter need register adapter first.
[   16.615203] DVB: registering new adapter (amlogic-dvb)
[   16.631404] DVB: Set DMX0 TS_RECORDER_ENABLE to 0
[   16.631411] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[   16.631414] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[   16.631417] DVB: reset ASYNC FIFOs
[   16.631691] DVB: Set DMX0 TS_RECORDER_ENABLE to 0
[   16.631697] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[   16.631699] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[   16.631701] DVB: reset ASYNC FIFOs
[   16.631706] DVB:dmx_reset_dmx_hw_ex_unlock into
[   16.631747] DVB: demux0 smallsec buf disable
[   16.631750] DVB: demux0 timeout disable
[   16.631753] DVB: demux0 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[   16.631797] DVB: demux0 smallsec buf disable
[   16.631799] DVB: demux0 timeout disable
[   16.631801] DVB: demux0 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[   16.631846] DVB: demux1 smallsec buf disable
[   16.631848] DVB: demux1 timeout disable
[   16.631850] DVB: demux1 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[   16.631892] DVB: demux1 smallsec buf disable
[   16.631894] DVB: demux1 timeout disable
[   16.631896] DVB: demux1 timeout enable:timeout(9000),ch(0xfffffff8),match(1)
[   16.996969] i2c i2c-3: dvb_meson: found AVL6862 family_id=0x68624955
[   16.996982] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044[   20.476712] Demod: adapter null, call aml_dvb_get_adapter
[   20.476720] amlogic-dvb-demux dvb-demux: DVB: registering adapter 0 frontend 0 (Availink AVL6762)...
[   20.477009] aml_dvb_extern_attach_work demod 0 attach done
[   20.478231] aml_dvb_extern_attach_work demod 0 attach done
[  472.235736] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[  597.673001] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044[  598.319744] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[  759.191181] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044[  759.835749] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
CoreELEC:~ #

dmesg_new.txt (75.2 KB)

[ 1870.043714] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044
[ 1870.440630] i2c i2c-3: avl6862 patch ver 2.0 build 24098
[ 1870.687930] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[ 1870.888639] i2c i2c-3: avl6862 patch ver 2.0 build 24785
[ 1933.112799] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044
[ 1933.512542] i2c i2c-3: avl6862 patch ver 2.0 build 24098
[ 1933.759814] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[ 1933.960505] i2c i2c-3: avl6862 patch ver 2.0 build 24785
[ 2021.753979] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044
[ 2022.152415] i2c i2c-3: avl6862 patch ver 2.0 build 24098
[ 2022.399733] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[ 2022.600415] i2c i2c-3: avl6862 patch ver 2.0 build 24785

dmesg_tvheadend.txt (90.3 KB)


Although I searched for a DVB-C channel, DVB-T mode seems to be active. There is also an MXL608 tuner, but the DMESG output shows MXL603 (MxL603 detected id(02))

Tuner is now ok, it locks to a signal. Now lets try on another TS input:
sm1_s905x3_avl6762_parallel.dtb (77.0 KB)
do the same tests.

dvbv5 scan log

CoreELEC:~ # dvbv5-scan /storage/downloads/scan.conf
ERROR    command BANDWIDTH_HZ (5) not found during retrieve
Cannot calc frequency shift. Either bandwidth/symbol-rate is unavailable (yet).
Scanning frequency #1 298000000
Lock   (0x1f) Signal= -31.72dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #2 306000000
Lock   (0x1f) Signal= -33.15dBm C/N= 41.83dB                                           Layer A: Signal= 90.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #3 314000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #4 322000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #5 330000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #6 338000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #7 346000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #8 354000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #9 378000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #10 386000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #11 394000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #12 402000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #13 410000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #14 418000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #15 426000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #16 434000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #17 442000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #18 450000000
Lock   (0x1f) Signal= -31.32dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #19 458000000
Lock   (0x1f) Signal= -32.68dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #20 466000000
Lock   (0x1f) Signal= -32.23dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #21 474000000
Lock   (0x1f) Signal= -33.06dBm C/N= 41.83dB                                           Layer A: Signal= 90.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #22 482000000
Lock   (0x1f) Signal= -31.24dBm C/N= 41.83dB                                           Layer A: Signal= 91.00% C/N= 83.56%                                ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #23 490000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #24 498000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #25 506000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #26 514000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #27 522000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
Scanning frequency #28 530000000
Lock   (0x1f) Signal= 0.00dBm C/N= 41.83dB                                             Layer A: Signal= 100.00% C/N= 83.56%                               ERROR    dvb_read_sections: no data read on section filter                   ERROR    error while waiting for PAT table
CoreELEC:~

dmesg

CoreELEC:~ # dmesg
[ 1068.861717] [hdmitx:] hdmitx20_ext_get_audio_status[1891] val = 1
[ 1068.868924] DVB:dmx_get_record_flag clear record dmx->id: 0
[ 1068.868946] DVB: Set DMX0 TS_RECORDER_ENABLE to 0
[ 1068.868949] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[ 1068.868952] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[ 1068.868955] DVB: reset ASYNC FIFOs
[ 1068.868958] DVB: AF(0) disable asyncfifo
[ 1068.868961] DVB: disable ok
[ 1068.870266] Not init audio effects
[ 1068.870514] frddrs[0] registered by device ff660000.audiobus:i2s2hdmi
[ 1068.872529] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1068.872547] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1068.872575] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1068.872585] [hdmitx:] aout notify format CT_PCM
[ 1068.875775] [hdmitx:] audio: reset audio fifo_rst
[ 1068.875799] [hdmitx:] set audio param
[ 1068.875876] aml_T9015_audio_set_bias_level
[ 1068.875934] aml_T9015_audio_set_bias_level
[ 1068.876256] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1068.876265] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1068.876302] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1068.876310] [hdmitx:] aout notify format CT_PCM
[ 1068.879472] [hdmitx:] audio: reset audio fifo_rst
[ 1068.879491] [hdmitx:] set audio param
[ 1134.533070] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1134.533092] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1134.533125] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1134.533134] [hdmitx:] aout notify format CT_PCM
[ 1134.536280] [hdmitx:] audio: reset audio fifo_rst
[ 1134.536289] [hdmitx:] set audio param
[ 1144.536335] aml_T9015_audio_set_bias_level
[ 1144.536392] aml_T9015_audio_set_bias_level
[ 1144.536523] frddrs[0] released by device ff660000.audiobus:i2s2hdmi
[ 1252.886573] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044[ 1253.296791] i2c i2c-3: avl6862 patch ver 2.0 build 24098
[ 1261.386487] Not init audio effects
[ 1261.386771] frddrs[0] registered by device ff660000.audiobus:i2s2hdmi
[ 1261.388505] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1261.388518] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1261.388539] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1261.388547] [hdmitx:] aout notify format CT_PCM
[ 1261.391635] [hdmitx:] audio: reset audio fifo_rst
[ 1261.391643] [hdmitx:] set audio param
[ 1261.391714] aml_T9015_audio_set_bias_level
[ 1261.391761] aml_T9015_audio_set_bias_level
[ 1261.391955] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1261.391963] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1261.391995] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1261.392003] [hdmitx:] aout notify format CT_PCM
[ 1261.395153] [hdmitx:] audio: reset audio fifo_rst
[ 1261.395164] [hdmitx:] set audio param
[ 1268.511831] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[ 1268.712539] i2c i2c-3: avl6862 patch ver 2.0 build 24785
[ 1269.640619] DVB:dmx_get_record_flag set record dmx->id: 0
[ 1269.640639] DVB: Set DMX0 TS_RECORDER_ENABLE to 1
[ 1269.640643] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[ 1269.640645] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[ 1269.640648] DVB: reset ASYNC FIFOs
[ 1269.640651] DVB: AF(0) [off] src:0x3->0x3 size:0x1000->0x1000 factor:0x7ff->0x7ff
[ 1269.640658] DVB: ASYNC FIFO id=0, link to DMX0, start_addr 36b00000, buf_size 524288,source value 0x3, factor 1
[ 1327.048776] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1327.048796] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1327.048830] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1327.048839] [hdmitx:] aout notify format CT_PCM
[ 1327.051983] [hdmitx:] audio: reset audio fifo_rst
[ 1327.051992] [hdmitx:] set audio param
[ 1337.052167] aml_T9015_audio_set_bias_level
[ 1337.052224] aml_T9015_audio_set_bias_level
[ 1337.052350] frddrs[0] released by device ff660000.audiobus:i2s2hdmi
[ 1641.462659] DVB:dmx_get_record_flag clear record dmx->id: 0
[ 1641.462680] DVB: Set DMX0 TS_RECORDER_ENABLE to 0
[ 1641.462684] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[ 1641.462686] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[ 1641.462689] DVB: reset ASYNC FIFOs
[ 1641.462691] DVB: AF(0) disable asyncfifo
[ 1641.462695] DVB: disable ok
[ 1641.472033] Not init audio effects
[ 1641.472308] frddrs[0] registered by device ff660000.audiobus:i2s2hdmi
[ 1641.474315] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1641.474337] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1641.474359] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1641.474367] [hdmitx:] aout notify format CT_PCM
[ 1641.476878] [hdmitx:] audio: reset audio fifo_rst
[ 1641.476896] [hdmitx:] set audio param
[ 1641.476968] aml_T9015_audio_set_bias_level
[ 1641.477013] aml_T9015_audio_set_bias_level
[ 1641.477231] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1641.477239] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1641.477274] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1641.477282] [hdmitx:] aout notify format CT_PCM
[ 1641.480456] [hdmitx:] audio: reset audio fifo_rst
[ 1641.480475] [hdmitx:] set audio param
[ 1682.813708] i2c i2c-3: Load avl6862 firmware patch for DVB-T/T2 size=70044[ 1683.213489] i2c i2c-3: avl6862 patch ver 2.0 build 24098
[ 1683.460740] i2c i2c-3: Load avl6862 firmware patch for DVB-C size=51180
[ 1683.661453] i2c i2c-3: avl6862 patch ver 2.0 build 24785
[ 1684.593232] DVB:dmx_get_record_flag set record dmx->id: 0
[ 1684.593250] DVB: Set DMX0 TS_RECORDER_ENABLE to 1
[ 1684.593255] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[ 1684.593257] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[ 1684.593260] DVB: reset ASYNC FIFOs
[ 1684.593263] DVB: AF(0) [off] src:0x3->0x3 size:0x1000->0x1000 factor:0x7ff->0x7ff
[ 1684.593269] DVB: ASYNC FIFO id=0, link to DMX0, start_addr 36b00000, buf_size 524288,source value 0x3, factor 1
[ 1685.594478] DVB:dmx_get_record_flag clear record dmx->id: 0
[ 1685.594497] DVB: Set DMX0 TS_RECORDER_ENABLE to 0
[ 1685.594501] DVB: Set DMX1 TS_RECORDER_ENABLE to 0
[ 1685.594504] DVB: Set DMX2 TS_RECORDER_ENABLE to 0
[ 1685.594506] DVB: reset ASYNC FIFOs
[ 1685.594509] DVB: AF(0) disable asyncfifo
[ 1685.594512] DVB: disable ok
[ 1707.134117] aml_audio_reset, reg 0xa, shift 9, use_vadtop 0
[ 1707.134138] aml_audio_reset, reg 0xa, shift 14, use_vadtop 0
[ 1707.134171] [hdmitx:] hdmitx_audio_notify_callback[803] type:1 rate:2 size:3 chs:2 i2s_ch_mask:1 aud_src_if:1
[ 1707.134180] [hdmitx:] aout notify format CT_PCM
[ 1707.136389] [hdmitx:] audio: reset audio fifo_rst
[ 1707.136398] [hdmitx:] set audio param
[ 1717.136659] aml_T9015_audio_set_bias_level
[ 1717.136719] aml_T9015_audio_set_bias_level
[ 1717.136843] frddrs[0] released by device ff660000.audiobus:i2s2hdmi
CoreELEC:~ #
There is a signal but the channel cannot be caught. I am using this version, CoreELEC-Amlogic-no.aarch64-22.0-Piers_nightly_20251102-Alta.img. I am also using the AVL6862-22.0.5.2.zip addon that you prepared.

dmesg_full.txt (73.8 KB)

dmesg_tvheadend.txt (24.0 KB)

AVL6862-22.0.5.2.zip is some old version.

To be sure try the latest nightly 20251105 and AVL6862-22.0.6.3. Also I made again the DTB files, this time two separate files for testing. One assumes that AVL6862 is on TS0 input and uses serial, the other assumes AVL6862 is on TS1 intput and uses parallel:
sm1_s905x3_avl6762_serial.dtb (77.0 KB)
sm1_s905x3_avl6762_parallel.dtb (77.0 KB)

I’m configuring the DTS according to android DTB from here: S905X4 built in DVB - #115 by taki

Is this correct ? are You sure this DTB is from this exact device ?