[SOLVED] Suspend works but no power off with remote power button

  • I've tested the latest testbuild (09.25 2.) and I noticed that the device go to suspend (and come back) with the remote power button.
    This is a good news I guess but unfortunately the power button on the remote doesn't follow the power button setting, doesnt matter what I set (Power off or Suspend) it always works as suspend.
    So now there is no one button power off but you have to choose the power menu first and then power off from the submenu.

    Edited once, last by Pelican (September 28, 2016 at 4:54 PM).

  • You need to change the keymap.
    If you look at the default keymap (usr/share/kodi/system/keymaps/keyboard.xml) you'll see
    <power>XBMC.Suspend()</power>

    So make a new keymap.xml, stick it in storage/.kodi/userdata/keymaps.


    That should then follow whatever you set in kodi system settings.

    Edit: kszaq has said he'll change the default to XBMC.Shutdown so I guess if you just wait for the next update this will fix itself.

    Edited once, last by trogggy (September 28, 2016 at 10:45 AM).


  • You need to change the keymap.
    If you look at the default keymap (usr/share/kodi/system/keymaps/keyboard.xml) you'll see
    <power>XBMC.Suspend()</power>

    So make a new keymap.xml, stick it in storage/.kodi/userdata/keymaps.


    That should then follow whatever you set in kodi system settings.

    Edit: kszaq has said he'll change the default to XBMC.Shutdown so I guess if you just wait for the next update this will fix itself.

    Thank you. It's working.