CE22 Unable to map remote power button for Ugoos SK4

Hello,

I’m trying to get the power on a UR02 in IR mode to trigger the sleep key, in order to show the power menu, instead of immediately shutting down my SK4. I’m using the latest NO nightly as of today.

I’ve tried changing the relevant line in my remote.conf to:

0x74 142 # power = 116, sleep = 142

But it is not working. This also doesn’t work for my AM6B running CE22 but did work on CE21.3.

Any ideas or advice on how to debug?

Thanks

Even after stopping the kodi and eventlircd services via ssh, the power button still turns off the box.

Leave power set to 116. Instead change the kodi shutdown function

Settings > System > Power savings > Shutdown function > Suspend

Kodi will then suspend when hitting the power button on the remote. You can still go to the power menu and select Power off system for a full shutdown.

1 Like

Thanks for your suggestion but I’m not trying to trigger a suspend, I’m trying to get the shutdown/power menu to show so I can pick which action to perform, which just happens to be bound to key_sleep by default.

The power menu can be triggered by pressing S on the keyboard, so try 31 (key_s) for the remote.conf

2 Likes

Brilliant that worked, thank you.

I guess something changed in CE22 that forces both key_power and key_sleep to trigger the shutdown command and you can’t override them in the key map.

Both in CE-21 & CE-22 there are multiple keys for triggering many of the different options. key_s to trigger the shutdown window is the official method for both. But you’re right some key mappings didn’t carry over from 21 to 22. I couldn’t find a key to open settings last time I checked in 22, which did exist in 21.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.