Hello,
My specs:
JVC LT-55C550 TV
Panasonic SC-HTB488EBK Soundbar
Raspberry Pi 4 Model B
LibreELEC 10.0.1 & 10.0.2
Never had this issue in LE 9.* or 10.0.0. Also, downgrading to LE 10.0.0 from 10.0.1/10.0.2 immediately resolves the problem.
The soundbar and the raspberry have no direct connection with each other. Instead, they are connected with their own respective HDMI cables to ports 1 and 3 on the TV.
After switching the TV off with "CECStandby" command, issuing "CECActivateSource" has no effect. I normally use a Flirc remote to issue the commands via script, i.e:
runscript(special://masterprofile/turn_on.py)
import xbmc
xbmc.executebuiltin('CECActivateSource')
However, I also tried sending the command via ssh kodi-send -a "CECActivateSource" which again yields no results (but does work on earlier LE versions).
Disconnecting the soundbar, restarting the raspberry, and then reconnecting the soundbar resolves the issue temporarily. But, if the raspberry is shutdown/restarted again with soundbar connected, the issue returns.
I've searched the forum, but most issues I found relate to CEC not working at all, not just the one command. The few things suggested from those topics that I tried:
- Put `hdmi_force_hotplug=1` in config.txt
- Buy a new microhdmi cable and make sure it's connected in the raspberry port closest to the power port
- Cut off power to TV for 20min
- Tried "CECToggleState" instead of "CECActivateSource", but that command never worked consistently even in the older versions, and it's no better in the new ones