Op Thu, 04 Jan 2018 22:42:34 +0100 schreef Markus Grunwald
<mar...@the-grue.de>:
Hello,
as far as I understand, pressing the power key on my Lenovo T570 should
produce some output in the journal like this:
Mär 31 18:04:47 my_computer systemd-logind[1402]: Power key pressed.
On my laptop, this doesn't work - I see nothing in the journal.
Hibernating doesn't work, neither but that's the reason, I think...
Is there something special that I have to do?
cu
Can you find the Powerkey with evtest?
[NumLock example]
sudo evtest /dev/input/event12
...
Event: time 1434666536.001123, type 4 (EV_MSC), code 4 (MSC_SCAN), value
70053
Event: time 1434666536.001123, type 1 (EV_KEY), code 69 (KEY_NUMLOCK),
value 0
Event: time 1434666536.001123, -------------- EV_SYN ------------