2016-02-21, 15:24
Is anyone having any CEC/Resume issues with the latest firmware (2016-02-17) and OE EGL 6.0.199?
With previous versions (before I tired EGL) on resume it wasn't 100% but if kodi was restarted on resume (via a sleep.d script) it would pick up the correct HDMI inputs and worked fine.
TV - HDMI 2
AVR - HDMI 1
Pulse Eight CEC adapter plugged into externally powered USB hub.
If I do a cold boot or reboot it works fine.
If I resume after only being off for a short while it selects the correct HDMI inputs.
If I resume after a few minutes or more it selects HDMI 1 on the TV, manually changing causes it to flip back to HDMI 1. Restarting just kodi (which previously worked) causes the TV to correctly switch to HDMI 2 but there's no video output from the Chromebox, rebooting fixes this.
my autostart.sh script
hdmi-fix.sh
Best to start from scratch on this with a total fresh install of OE?
With previous versions (before I tired EGL) on resume it wasn't 100% but if kodi was restarted on resume (via a sleep.d script) it would pick up the correct HDMI inputs and worked fine.
TV - HDMI 2
AVR - HDMI 1
Pulse Eight CEC adapter plugged into externally powered USB hub.
If I do a cold boot or reboot it works fine.
If I resume after only being off for a short while it selects the correct HDMI inputs.
If I resume after a few minutes or more it selects HDMI 1 on the TV, manually changing causes it to flip back to HDMI 1. Restarting just kodi (which previously worked) causes the TV to correctly switch to HDMI 2 but there's no video output from the Chromebox, rebooting fixes this.
my autostart.sh script
Code:
#! /bin/sh
echo -n "HDMI-A-1:edid.bin" > /sys/module/drm_kms_helper/parameters/edid_firmwa$
/usr/bin/irexec -d /storage/.config/.lircrc
(
sleep 10
/bin/sh /storage/.config/hdmi-fix.sh
)&
hdmi-fix.sh
Code:
#!/bin/sh
enabled="`cat /sys/class/drm/card0-HDMI-A-1/enabled`"
if [ "$enabled" = "disabled" ];
then
xrandr -display :0 --output HDMI1 --auto
sleep 2
systemctl restart kodi
else
:
fi
Best to start from scratch on this with a total fresh install of OE?