Thread Closed
v18 LibreELEC Testbuilds for x86_64 (Kodi 18.0)
(2018-05-03, 20:46)blob810 Wrote: Here are my settings and a debug log.
What kind of remote(s)/remote receiver(s) are you using?

I see 2 lines relating to power buttons in the log, first from a keyboard(-like) device:
Code:
20:40:18.558 T:140444541241472   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0140, unicode: 0x0000, modifier: 0x0
20:40:18.558 T:140444541241472   DEBUG: HandleKey: power (0xf0de) pressed, action is ActivateWindow(ShutdownMenu)

and then about a second later another one from a remote that has been picked up by eventlircd:
Code:
20:40:19.838 T:140444530267904   DEBUG: LIRC: - NEW 74 0 KEY_POWER devinput (KEY_POWER)
20:40:19.847 T:140444541241472   DEBUG: HandleKey: rewind (0xc4) pressed, action is ShutDown()

What exactly did you do when you created the log? I have no idea how a second power button press on a different input could be generated more than a second later by anything on the system.

For remote receivers that are not run through eventlircd (which are a couple of RF, BT and a few odd IR remote receivers) and are seen by kodi as "keyboards" getting the shutdown menu is expected behaviour since the systemd-logiind change.

Before the systemd change your PC would unconditionally just shut down, after it kodi handles the power event - and the default action there for "keyboard-like" remotes (and with the eventlircd change also the PC's power button) is to display the shutdown menu. The default action for the power button events received by kodi from (lirc) remotes differs, it's doesn't display the menu but just shuts down. Don't ask me why the default is different.

So, except for the mysterious second power button event everything looks like it should be, if you don't like the shutdown menu just configure kodi to not show it. Create a .kodi/userdata/keymaps/keyboard.xml with the following contents:
Code:
<keymap>
  <global>
    <keyboard>
      <power>ShutDown()</power>
    </keyboard>
  </global>
</keymap>

so long,

Hias
  Thread Closed
 
Thread Rating:
  • 24 Vote(s) - 4.5 Average


Messages In This Thread
RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - by HiassofT - 2018-05-04, 10:16