Unable to use Kodi built-in HDMI-CEC functions though cec-client works

  • My goal is to turn on/off my Samsung TV via HDMI-CEC. I'm using RPI3 on LibreELEC 8.2.1.

    I am unable to get much, if anything, to happen when using builtin (CECStandby(), CECToggleState()) commands. I do see log entries, but nothing happens:

    Code
    13:37:49.407 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:37:52.840 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:20.572 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:22.138 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:23.105 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:24.688 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:26.271 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:27.705 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...
    13:43:36.271 T:1944879216   DEBUG: ToggleDeviceState - waking up CEC device...

    What's weird, though, is that cec-client (echo "on 0" | cec-client RPI -s -d 1) does work.

    What can I try? What's the best way to debug this problem? Thanks.