Posts by teigaff

    Took me some time and meanwhile I used a Raspberry Pi 3B to have some experience.
    I finally figured it out, that the problem is the libcec package compiled without feature Linux. My remote control works as expected now.
    Just enter following command and look at the features:

    Bash
    cec-client -l

    I had to uninstall Kodi and reinstall it with Kodi from Debian release:

    Bash
    apt install kodi=2:20.1+dfsg-1 kodi-data=2:20.1+dfsg-1 kodi-bin=2:20.1+dfsg-1 libcec6=6.0.2-5 cec-utils=6.0.2-5

    Pin these packages:

    Bash
    nano /etc/apt/preferences.d/kodi-debian

    <content>

    Bash
    Package: kodi* libcec* cec-utils
    Pin: origin deb.debian.org
    Pin-Priority: 1001

    Check if these packages stays untouched also for future updates. Should have priority 1001 instead of newer multimedia-packages with prio 500

    Bash
    apt policy kodi libcec6

    -- credits to Mr. Claude --

    ***Update WITH FIX to the libcec and i915 + DP++->HDMI cable with working cec-ctl behavior saga, posting for posterity:***

    My suspicions were correct. To get libcec to be able to use the i915 ( core i5-7500 ) with the DP -> HDMI with tunneling working as a cec peripheral, you have to enable the Linux API ( for cec ) in the build.

    Just throw the CEC_FRAMEWORK_SUPPORT="yes" value into the Generic project options file.

    On the build, the Linux API is enabled in the libcec package build, and when using a build with that enabled, the /dev/cec0 produced by the i915 and a working DP->HDMI cable/adapter will be available as a CEC peripheral in settings out of the box.

    Not sure why this isn't a default configuration for the Generic project though.

    I do also have the same adapter as you have. I had to enter these commands on my Debian system, so that my Samsung TV is in HDMI-CEC (Anynet+) Mode. I'm directly working with Kodi.

    Code
    apt install v4l-utils
    cec-ctl --playback
    cec-ctl -s --to 0 --active-source phys-addr=1.0.0.0

    The problem is, I always has to enter these commands everytime I boot my Dell Wyse 5070. Okay, that could be automated with .bashrc.

    In Kodi | Settings | Interface there's no entry for CEC-Adapter. When I add it manually there's no possibility to configure it.
    In LibreELEC the same steps would be necessary. I tried the official generic x86_x64 12.2 builds but nothing happens.

    How did you manage to enter the CEC_FRAMEWORK_SUPPORT="yes" command? Do I have to build my own LibreELEC build or can I just enter this command into kernel command file? I don't unterstand your steps to get it working.
    I also saw your other thread about enabling this behaviour as default in another thread.

    Thank you for your explanations and thanks for investing so much developing time in this HDMI-CEC feature!