Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu: official khadas image for Vim3L: vim3l-ubuntu-24.04-gnome-linux-5.15-fenix-1.7.5-250925-emmc.img.xz
Please describe your issue below:
I can’t connect to the TV (Sony or Panasonic) using CEC for the official Ubuntu image. CEC works properly for Android and CoreELEC.
Could you please provide step by step instructions on how to connect to the TV using cec-client or cec-ctl.
I get write errors like below:
cec-client -d 31 -t a
CEC Parser created - libCEC version 7.0.0
no serial port given. trying autodetect:
path: /dev/aocec
com port: AOCEC
opening a connection to the CEC adapter…
DEBUG: [ 2] Broadcast (F): osd name set to ‘Broadcast’
NOTICE: [ 3] connection opened
DEBUG: [ 3] processor thread started
DEBUG: [ 3] << Broadcast (F) → TV (0): POLL
TRAFFIC: [ 3] << f0
WARNING: [ 3] Write: write failed
TRAFFIC: [ 3] << f0
WARNING: [ 3] Write: write failed
DEBUG: [ 3] >> POLL not sent
DEBUG: [ 3] TV (0): device status changed into ‘not present’
DEBUG: [ 3] registering new CEC client - v7.0.0
NOTICE: [ 4] setting HDMI port to 1 on device TV (0)
DEBUG: [ 4] << Broadcast (F) → TV (0): POLL
TRAFFIC: [ 4] << f0
WARNING: [ 4] Write: write failed
TRAFFIC: [ 4] << f0
WARNING: [ 4] Write: write failed
DEBUG: [ 4] >> POLL not sent
[22858.276798] [hdmitx:] system: irq 80000002 0
[22858.276816] [hdmitx:] UTC+0 2026-01-05 05:29:47 HPD HIGH
[22858.276828] EARC ff663800.earc: HDMITX cable is plugin
[22858.279505] EARC ff663800.earc: EARCRX_CMDC_DISC1
[22858.289509] EARC ff663800.earc: EARCRX_CMDC_DISC2
[22858.299501] EARC ff663800.earc: EARCRX_CMDC_DISC1
[22858.309506] EARC ff663800.earc: EARCRX_CMDC_DISC2
[22858.319807] EARC ff663800.earc: EARCRX_CMDC_DISC1
[22858.329792] EARC ff663800.earc: EARCRX_CMDC_DISC2
[22858.333520] EARC ff663800.earc: EARCRX_CMDC_EARC
[22858.333526] EARC ff663800.earc: EARCRX_CMDC_STATUS_CH
[22858.383957] EARC ff663800.earc: EARCRX_CMDC_STATUS_CH
[22858.434693] EARC ff663800.earc: EARCRX_CMDC_STATUS_CH
[22858.485434] EARC ff663800.earc: EARCRX_CMDC_STATUS_CH
[22858.797667] [hdmitx:] system: plugin
[22858.797682] [hdmitx:] plugin sequence id: 4300607008
[22858.930140] [hdmitx:] edid: blk0 raw data
[22858.930177] [hdmitx:] 00ffffffffffff004dd97c07010101010121010380aa5f780a0dc9a05747982712484c2108008180a9c0714fb300010101010101010104740030f2705a80b058
8a00a1bb6300001e023a801871382d40582c4500a1bb6300001e000000fc00534f4e5920545620202a33300a000000fd00174c0e461e000a202020202020013b
[22858.930183] [hdmitx:] edid: blk1 raw data
[22858.930206] [hdmitx:] 02035df0525d5e5f621f101405130420223c3e12031102320f7f071507503d14c05704016754075f7c01830f00006e030c003000b8442b008001020304e200cb
e305d800e50e60616566e6060d01b2b205eb0146d0004803765898aa5c011d007251d01e206e285500a1bb6300001e00000000000000000000000000000000b0
[22858.930420] [drm] drm hdmitx hpd notify
[22858.995632] [drm:meson_hdmitx_atomic_check [aml_drm]] ERROR hdmitx_on changed, force modeset.
[22859.000129] [drm] [meson_hdmitx_encoder_atomic_disable]
[22859.105659] [drm] am_meson_crtc_atomic_disable-[0]:in
[22859.106088] [hdmitx:] hdr_work_func: send zero DRM
[22859.106126] [hdmitx:] Dolby VSIF, VEN_DB2[3]) = 0
[22859.106137] [hdmitx:] Dolby VSIF, switching signal to SDR
[22859.106139] [hdmitx:] vic:16, cd:4, cs:0, cr:2
[22859.106186] [drm] am_meson_crtc_atomic_enable-[0] in: new[1080p60hz], old[1080p60hz], vmode[4-4], uboot[0]
[22859.106206] [drm] am_meson_crtc_atomic_enable-[0]: enable mode 1080p60hz final vmode 0
[22859.107313] [hdmitx:] div40: 0
[22859.133659] [hdmitx:] ERR: SCDC not present, should not send 1:10
[22859.133675] [hdmitx:] hdmitx sub-clock: 5940000 4 1 2 6 1 1 1 -1
[22859.133683] [hdmitx:] config HPLL = 5940000 frac_rate = 1
[22859.133753] [hdmitx:] HPLLv1: 0xdb3a04f7
[22859.133782] [hdmitx:] config hdmitx IP vic = 16 cd:4 cs: 0
[22859.144207] [hdmitx:] system: irq 80000001 0
[22859.185660] [hdmitx:] Sink is HDMI device
[22859.185716] [hdmitx:] update audio N 5824
[22859.188869] DOLBY: vout_notify_callback: VOUT_EVENT_MODE_CHANGE
[22859.188878] vsync_pts_inc 1501 1000/59940
[22859.188917] [drm] meson_vout_update_mode_name: hdmitx update vout 1 name 1080p60hz.
[22859.188945] [hdmitx:] hdmitx support hdcp14: 0, hdcp22: 0
[22859.188949] [drm] meson_hdmitx_get_hdcp_request usr_type: 3, hdcp cap: 0,1
[22859.188953] [drm] [meson_hdmitx_get_hdcp_request]: TX no hdcp key
[22859.188955] [drm:meson_hdmitx_update_hdcp [aml_drm]] ERROR meet stopped hdcp stat
[22859.192296] [drm:meson_hdmitx_update_hdcp [aml_drm]] ERROR No valid hdcp mode exit, maybe hdcp havenot init.
[22860.621656] [hdmitx:] hdr_work_func: send zero DRM
PS. interestingly, the ARC channel works OK.
Best regards,
Krzysztof