Posts by HiassofT

    Thanks a lot for the info! This particular remote and IR receiver indeed generate very odd key codes. LibreELEC ships with a translation layer (via eventlircd) to translate some of these codes into usable ones. The 4 colour buttons seem untranslated though.

    You should be able to remap the colour buttons with a Lircmap.xml file (in /storage/.kodi/userdata). eg this should get you the standard red/green/blue/yellow kodi button codes, which you can then assign via the keymap editor

    Code
    <lircmap>
      <remote device="devinput">
        <red>KEY_TUNER</red>
        <yellow>KEY_AUDIO</yellow>
        <blue>KEY_GREEN</blue>
        <green>KEY_SUBTITLE</green>
      </remote>
    </lircmap>

    If you prefer you can also map the red button directly to kodi's video button via <myvideo>KEY_TUNER</myvideo>

    To change the behaviour of the power button (which fortunately seems to use the standard KEY_POWER keycode) it's best to create a remote.xml file in /storage/.kodi/userdata/keymaps eg like this to change the power button to suspend

    Code
    <keymap>
      <global>
        <remote>
          <power>Suspend</power>
        </remote>
      </global>
    </keymap>

    My personal preference is to get the shutdown menu displayed which you can get with <power>ActivateWindow(ShutdownMenu)</power>

    so long,

    Hias

    At some point you configured you harmony remote, right?

    That seems to have resulted in your Harmony remote sending MCE codes for up/down/left/right/play/stop/... and a Zotac code for power.

    Until LE 8.2.5 Zotac codes were supported by default, in addition to MCE and a bunch of other remote codes.

    In LE9.0 we cleaned that up and now only MCE and Xbox remotes are supported out-of-the-box, other remotes have to configured by users as described in the wiki Infrared Remotes [LibreELEC.wiki]

    The easiest solution for you is to configure your Harmony remote to only send MCE remote codes. The alternative is to create a custom remote configuration (keytable and rc_maps.cfg) - but just switching your Harmony remote to the MCE profile is a lot easier to do.

    so long,

    Hias

    It looks like you configured the navigation keys to send Microsoft MCE codes, but the power button to send a Zotac remote power code.

    The easiest solution is to configure the power button to send a Microsoft MCE code as well, or just use the Microsoft MCE remote profile in the Harmony software.

    so long,

    Hias

    The lightning bolt indeed means undervoltage. This can be due to an improper power supply or USB cable.

    I'd recomment using the official RPi3B+ power supply, this is known to be working fine.

    As undervoltage can cause all sorts of odd issues it's best to fix this one first - the CEC issue could be a consequence of undervoltage situations.

    BTW: you can also check with `vcgencmd get_throttled` if any undervoltage (or overtemperature situation) occurred since bootup - you should get `0x0` printed there,

    so long,

    Hias

    The log file only shows a "Stop" and a "Video" button press, no sign of a power button press. Hmmm.

    Which remote profile are you using on your Harmony remote? Did you create any IR configuration files (lircd.conf, rc_maps.cfg) in LibreELEC?

    Could you please grab the latest logfile ZIP from the Logfiles SMB share and upload it?

    Then, without the IR dongle plugged in, please run the following commands:

    First stop kodi and eventlircd

    Code
    systemctl stop kodi
    systemctl stop eventlircd

    Then run

    Code
    ir-keytable

    and post the output.

    Then run

    Code
    ir-keytable -t

    press the Stop button and then the Power button and post the output, too.

    so long,

    Hias

    Can you please post a kodi debug log where you pressed the off button?

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link

    so long,

    Hias

    9.0.1 includes a fix so that the IR signals of Zotac remotes can be decoded properly.

    What kind of remote are you using?

    I'm a bit puzzled about that external IR sensor, I thought the Zotac boxes had already a builtin IR receiver.

    Does your remote work at all without the external sensor? What happens if you press the power button on your remote in that case?

    so long,

    Hias

    Das ist sehr seltsam. Hab' gerade mit meiner HifiBerry Digi Pro auf einem RPi3B+ unter LibreELEC 9.0.1 getestet und da hat alles einwandfrei funktioniert.

    Die einzigen Einstellungen die ich in den Audio settings geändert hatte waren das Audio output device auf "ALSA: snd_rpi_hifiberry_digi, S/PDIF" zu setzen und Limit sampling rate auf 96kHz (mehr schafft mein DAC nicht).

    Die "Output configuration" sollte auf "Optimized" stehen (das ist default), dann wird automatisch die richtige Samplerate (bis zum eingestellten Maximum) verwendet.

    Hast Du bei Dir irgendwellche Einstellungen geändert? Probier's am besten mal mit den default Settings (im Zweifelsfall einfach "Reset above settings to default" in den Einstellungen auswählen), in der config.txt muss für die Karte auch nichts eingetragen werden (die hat ein EEPROM drauf und wird damit automatisch erkannt/eingebunden).

    so long,

    Hias

    The harmony.txt file you attached contains Windows line endings - you need to have the file with unix line endings.

    Use Notepad++ on Windows and make sure you save the file with unix line endings or create the file locally on your LE box with nano or vim.

    Other than that: better use the standard MCE remote profile, not the MCE keyboard profile - the latter can be a bit tricky to use.

    so long,

    Hias

    Use the search function of the forum.

    You can improve responsiveness of the remote by either adding ir-ctl -t 30000 to autostart.sh or by enabling the crazycat DVB drivers (the latter will pull also in the IR optimizations from later linux kernels).

    You can also tweak the button repeat settings with ir-keytable -D xxx -P yyy - this has been discussed about a million times during the last year.

    so long,

    Hias

    A fix for the this issue - [Windowing] Build complete strmode for RES_DESKTOP by peak3d · Pull Request #15516 · xbmc/xbmc · GitHub - was recently merged into the Kodi tree. It didn't make it in the Kodi 18.1 timeframe (which will be used in LibreELEC 9.0.1) so it'll appear in Kodi 18.2 in a couple of weeks.

    If you don't want to wait you can try the latest Milhouse build LibreELEC Testbuilds for x86_64 (Kodi 18.0)

    so long,

    Hias