My goal is to turn on/off my Samsung TV via HDMI-CEC. I'm using RPI3 on LibreELEC 8.2.1.
Code
# echo "scan" | cec-client RPI -s -d 1
opening a connection to the CEC adapter...
requesting CEC bus information ...
CEC bus information
===================
device #0: TV
address: 0.0.0.0
active source: no
vendor: Samsung
osd string: TV
CEC version: unknown
power status: standby
language: eng
Display More
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.