Am 17.07.23 um 01:58 schrieb Diederik de Haas:
On Monday, 17 July 2023 01:24:43 CEST Michael Biebl wrote:The journald output shows long and short key presses (with logind reacting accordingly)jul 15 09:17:08 pinetab2 systemd-logind[1742]: Power key pressed short. jul 15 09:17:08 pinetab2 systemd-logind[1742]: Suspending... jul 15 09:18:42 pinetab2 systemd-logind[1850]: Power key pressed long. jul 15 09:18:42 pinetab2 systemd-logind[1850]: Powering off... That looks all as expected and I don't understand the problem this is supposed to show.The problem is that in all cases I pressed the power key equally short.
Ok, so it does not look like a configuration issue i.e. HandlePowerKeyLongPress=shutdown' is *not* interpreted as short.It's rather that the detection and distinction of long and short key presses doesn't work reliably.
Might be a hardware limitation / hardware related bug.In any case, since Debian doesn't ship any patches in that regard, please file this issue upstream at https://github.com/systemd/systemd/issues and report back with the issue number.
Thanks
OpenPGP_signature
Description: OpenPGP digital signature
