If you have to handle that button event under a dependency, like suspend mode, you have to write a script. That script should have a variable, that represents suspend mode. You can use autostart.sh to start such script.
Posts by Da Flex
-
-
-
-
Did you installed the "Raspberry Pi Tools" add-on? It's needed to do GPIO programming.
-
The user-editable place for add-ons is /storage/.kodi/addons . I'm not familiar with manual add-on installation, but you can try to copy to that location.
-
1) Usually the TV manual says, which HDMI modes are supported. (please check it)
2) If 1) is OK, the next part of the chain is the HDMI cable. That cable should comply HDMI 2.0 or 2.1 standard to be able to transfer high 4K data rate. (please check it)
3) If 1) and 2) is OK, you can enforce 4K / 60Hz by adding this lines to config.txt:
-
Looks like you can mark the thread as solved.

-
Thanks, I had a look. Follow my advice, and make 4K / 60Hz the last line. Otherwise it can be overwritten by later settings of config.txt.
-
Is LE really updating itself without recreating a LibreElec SD?
Yes. Please post your config.txt.
-
You can also try the Xorg way. The user at my above link has Coffee Lake, but maybe his solution works for you, too. Give it a shot.
-
Bassman Simply add the line at the end of config.txt. By the way, you can safely update to LE 9.2.3.
-
If you're low on money, buy a used RPi 3B(+). Many people upgrade to an RPi 4B at the moment.
-
Probably a driver problem on LE, read here.
-
-
What's the relation to LE?
-
Also, Settings/System/Display won't let me select a refresh rate above 30.00Hz at 3840x2160 resolution. The hardware is capable of 4K@60Hz. Is this expected behavior?
Yes. You can enforce 60Hz at config.txt (hdmi_enable_4kp60), but it's not suggested, because most provided 4K content is lower than 60Hz.
-
Is there's any tutorial on how to make or edit an xorg.conf files. pls im newbie to linux stuff
That's a reason to try my approach first.

Follow my link, and you'll find instructions.
-
You probably need a custom EDID file.