I can't rule out something on my side causing the issue. If you have a spare SD card, you can try out the beta version of libreelec. If CEC works there, something on my end is to blame.
EDIT: I don't think kodi is the problem...
On armv7h (with 5.10.0.rc5-7)
$this->bbcode_second_pass_code('', '
% echo 'scan' | cec-client -s -d 1
opening a connection to the CEC adapter...
requesting CEC bus information ...
CEC bus information
===================
device #1: Recorder 1
address: 1.0.0.0
active source: no
vendor: Pulse Eight
osd string: CECTester
CEC version: 1.4
power status: on
language: eng
currently active source: unknown (-1)
')
On aarch64 (with 5.10.0-rc5-7):
$this->bbcode_second_pass_code('', '
% echo "scan" | cec-client RPI -s -d 1
opening a connection to the CEC adapter...
ERROR: [ 11] Open - vc_cec could not be initialised
ERROR: [ 11] could not open a connection (try 1)
ERROR: [ 1011] Open - vc_cec could not be initialised
ERROR: [ 1011] could not open a connection (try 2)
ERROR: [ 2012] Open - vc_cec could not be initialised
ERROR: [ 2012] could not open a connection (try 3)
ERROR: [ 3012] Open - vc_cec could not be initialised
ERROR: [ 3012] could not open a connection (try 4)
ERROR: [ 4013] Open - vc_cec could not be initialised
ERROR: [ 4013] could not open a connection (try 5)
ERROR: [ 5013] Open - vc_cec could not be initialised
ERROR: [ 5013] could not open a connection (try 6)
ERROR: [ 6014] Open - vc_cec could not be initialised
ERROR: [ 6014] could not open a connection (try 7)
ERROR: [ 7014] Open - vc_cec could not be initialised
ERROR: [ 7014] could not open a connection (try 8)
ERROR: [ 8015] Open - vc_cec could not be initialised
ERROR: [ 8015] could not open a connection (try 9)
ERROR: [ 9015] Open - vc_cec could not be initialised
ERROR: [ 9015] could not open a connection (try 10)
unable to open the device on port RPI
ERROR: [ 10016] could not start CEC communications
')
So the problem is likely with libcec-rpi not kodi...
See:
https://github.com/Pulse-Eight/libcec/issues/540