my setup is a Yamaha AVR, sony TV, and the CoreELEC box.
CEC is only very partially working.
the only thing that’s working with it, is that the AVR is switching to it when I turn it on.
I should note that I was previously running CoreELEC 9.2.5 with a different TV (samsung) and it was working properly (e.g. volume buttons changed AVR volume, waking from screensaver turned on both TV and AVR, etc).
I didn’t use CE for quite some time before I returned to it, and upgraded to 20.1, but now it is no longer functioning properly.
running cec-client -s -d 1 returns:
CEC bus information
===================
device #1: Recorder 1
address: 3.3.0.0
active source: no
vendor: Pulse Eight
osd string: CECTester
CEC version: 1.4
power status: on
language: eng
device #5: Audio
address: f.f.f.f
active source: no
vendor: Unknown
osd string: Audio
CEC version: unknown
power status: unknown
language: ???
and a bunch of Write: write failed messages in verbose
I also tried the bl301 injection, but there’s no difference.
the CEC settings on the sony tv are turned off (causing other trouble), but on the AVR they are turned on.
I also have an XBOX which can trigger AVR on/off, mute, and volume changes with CEC.
the installation was clean (previous .kodi folder renamed for backup purposes).
the XBOX knows to send volume/mute CEC commands to the AVR without having the TV setting enabled.
As I thought, libCEC search for the TV, master and do not find it. It find the Audio system but I don’t know how this should work and I am almost sure Kodi is not able to handle such setup.
yes I mean by myself/
which files do I need to have (and where), and how do I tell the system to use /var/lib/libcec.so.4 and not /var/lib/libcec.so.6?
trying to place libcec.so.4 in /var/lib/ alongside libcec.so.6 does nothing.
when I restart kodi, according to /usr/lib/kodi/kodi-config, the libcec.so.6 symlink is always regenerated.
the system is read-only.
how can I try it for myself? do you have any idea?
thanks for the suggestion.
for some reason, this causes CE to reboot into safe mode.
I tried reverting to 9.2.5 and test the CEC, and while direct commands such as echo volup | cec-client -s -d, now works, the control using volume keys still doesn’t, so it might be that the CEC should be enabled on the TV like @Portisch suggested.
now I can say for certainty that libcec6 removed support for some devices.