Power button doesn't do anything

About a week ago the power button on my laptop stopped working under kde. It was set to suspend, but it won’t do that. Trying any other option has the same result. What is the problem? All power events work from software, even lid closing is handled.

Trying xev results in:

MappingNotify event, serial 40, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 40, synthetic NO, window 0x6a00001,
    root 0x127, subw 0x0, time 664807, (-620,581), root:(425,610),
    state 0x2010, keycode 124 (keysym 0x1008ff2a, XF86PowerOff), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x6a00001,
    root 0x127, subw 0x0, time 664807, (-620,581), root:(425,610),
    state 0x2010, keycode 124 (keysym 0x1008ff2a, XF86PowerOff), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

My system is Tumbleweed 20180202. KDE Plasma 5.11.95, Frameworks 5.42.0, Qt 5.10.0, kernel 4.15.0-1-default.

I have the same issue with the same kernel and software. There is a bug filed on it here.

Mark

Thanks. I wonder whether it is an opensuse or kde bug.

Rather a kernel bug, I suppose.

But you can file it in the openSUSE bugzilla, we do have some competent kernel developers… :wink:

There is already a bug filed, but for basesystem

I had the same problem recently and I opened a terminal window in admin mode and typed “shutdown -r now” and after restart, the power off and restart worked fine.