Issues with suspend/resume and Flirc

Hi!

Recently changed to the odroid N2plus running Coreelec from an old Chromebox running LibreElec.

On the Chromebox I added the file /storage/.kodi/userdata/keymaps with the content:

<keymap>
 <global>
  <keyboard>
   <f12 mod="ctrl">XBMC.Suspend()</f12>
  </keyboard>
 </global>
</keymap>

And Flirc was programmed to use Ctrl+F12 for power/suspend.

I was then able to suspend/resume the Chromebox with my Flirc and Harmony (MCE) remote.

Have now moved the Flirc to the N2plus, and everything works fine, except for suspend/resume. This even after adding the /storage/.kodi/userdata/keymaps file from above on the N2plus also!

Then I tried blacklisting meson-ir doing:
echo “blacklist meson-ir” >> /storage/.config/modprobe.d/blacklist.conf

and “dmesg | grep meson-ir” is no longer outputting anything. but still no suspend/resume from remote.

Any ideas on what I am missing?

Is the file named keymaps or you put file keyboard.xml to that folder?

Enable Kodi debug log and press Ctrl-F12 (and also up/down). You should see the action in the log file.

https://kodi.wiki/view/Log_file/Easy

The file is in the folder “/storage/.kodi/userdata/keymaps” and is named “remote.xml”.

The guide I followed, that works on my chromeboxes with libreELEC:

What I see in /storage/.kodi/temp/kodi.log when pressing power-button:

type or past2021-09-05 18:12:07.420 T:4940    DEBUG <general>: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.420 T:4940    DEBUG <general>: HandleKey: ctrl-leftctrl (0x1f0d0) pressed, action is
2021-09-05 18:12:07.477 T:4965    DEBUG <general>: CLibInputKeyboard::ProcessKey - using delay: 250ms repeat: 33ms
2021-09-05 18:12:07.477 T:5299    DEBUG <general>: Thread Timer start, auto delete: false
2021-09-05 18:12:07.486 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.487 T:4940    DEBUG <general>: HandleKey: ctrl-f12 (0x1f09b) pressed, action is
2021-09-05 18:12:07.736 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.737 T:4940    DEBUG <general>: HandleKey: ctrl-f12 (0x1f09b) pressed, action is
2021-09-05 18:12:07.770 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.770 T:4940    DEBUG <general>: HandleKey: ctrl-long-f12 (0x101f09b) pressed, action is
2021-09-05 18:12:07.803 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.803 T:4940    DEBUG <general>: HandleKey: ctrl-long-f12 (0x101f09b) pressed, action is
2021-09-05 18:12:07.836 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.837 T:4940    DEBUG <general>: HandleKey: ctrl-long-f12 (0x101f09b) pressed, action is
2021-09-05 18:12:07.870 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.870 T:4940    DEBUG <general>: HandleKey: ctrl-long-f12 (0x101f09b) pressed, action is
2021-09-05 18:12:07.903 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.903 T:4940    DEBUG <general>: HandleKey: ctrl-long-f12 (0x101f09b) pressed, action is
2021-09-05 18:12:07.936 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:07.937 T:4940    DEBUG <general>: HandleKey: ctrl-long-f12 (0x101f09b) pressed, action is
2021-09-05 18:12:07.957 T:5299    DEBUG <general>: Thread Timer 3636916864 terminating
2021-09-05 18:12:07.970 T:4940    DEBUG <general>: Keyboard: scancode: 0x58, sym: 0x0125, unicode: 0x0000, modifier: 0xc0
2021-09-05 18:12:08.036 T:4940    DEBUG <general>: Keyboard: scancode: 0x1d, sym: 0x0132, unicode: 0x0000, modifier: 0x0e code here

About | FAQ | Terms of Service | Privacy Policy | Legal Notice