Need help with CEC disconnecting

  • Hi, I posted this on the raspberrypi site, but haven't gotten anywhere with it, i'm hoping somebody in this community will be able to help me.

    I have a Pi3 with kodi installed (Libreelec) and every time I change sources to my STB and power everything down, the CEC disconnects from my Pi. When i turn my TV back on, i'll have to unplug the HDMI cable from my STB and then go through the TV menus to reconnect the CEC on the Pi.

    I have the following devices:
    Denon Receiver
    Samsung TV
    Cisco TV Box
    Raspberry Pi 3 (kodi)

    and these hdmi settings in my config.txt
    hdmi_ignore_cec_init=1
    hdmi_force_hotplug=1

    any help will be much appreciated. Thanks for reading.