Bug 433255

Summary: keyboard hotkeys not working after 5.21 update
Product: [Plasma] plasmashell Reporter: FlyingWaffle <flyingwaffle>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: flyingwaffle, nate, plasma-bugs
Priority: NOR    
Version: 5.21.0   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description FlyingWaffle 2021-02-19 15:45:49 UTC
SUMMARY
My laptop's built in volume hotkeys no longer function after the 5.21 update.  Checking acpid and journalctl shows that the acpi events are going unhandled.  It also seems that libinput is reporting that the system is slow (from the program I'm using for touchpad gestures).


STEPS TO REPRODUCE
1. Have Lenovo t495s laptop
2. Update to 5.21
3. try using built-in keyboard volume hotkeys

OBSERVED RESULT
hotkeys don't work

EXPECTED RESULT
hotkeys work

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.17-gentoo
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx
Memory: 13.6 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 10 Graphics

ADDITIONAL INFORMATION:
Feb 19 10:41:36 thinkpad touchegg[3947]: libinput error: client bug: timer event19 debounce short: scheduled expiry is in the past (-5ms), your system is too slow
Feb 19 10:41:50 thinkpad touchegg[3947]: libinput error: client bug: timer event19 debounce: scheduled expiry is in the past (-3ms), your system is too slow
Feb 19 10:41:50 thinkpad touchegg[3947]: libinput error: client bug: timer event19 debounce short: scheduled expiry is in the past (-16ms), your system is too slow
Feb 19 10:42:04 thinkpad touchegg[3947]: libinput error: client bug: timer event19 debounce: scheduled expiry is in the past (-18ms), your system is too slow
Feb 19 10:42:04 thinkpad touchegg[3947]: libinput error: client bug: timer event19 debounce short: scheduled expiry is in the past (-31ms), your system is too slow
Feb 19 10:44:13 thinkpad root[127528]: ACPI event unhandled: button/mute MUTE 00000080 00000000 K
Feb 19 10:44:14 thinkpad root[127539]: ACPI event unhandled: button/volumedown VOLDN 00000080 00000000 K
Feb 19 10:44:15 thinkpad root[127547]: ACPI event unhandled: button/volumeup VOLUP 00000080 00000000 K
Feb 19 10:44:15 thinkpad root[127555]: ACPI event unhandled: button/f20 F20 00000080 00000000 K
Comment 1 Nate Graham 2021-02-22 23:58:23 UTC
Do any other F row keys not work, or only those? How about the brightness keys, or the mic mute key or the bluetooth key or the disable wifi key?
Comment 2 FlyingWaffle 2021-02-23 03:06:29 UTC
(In reply to Nate Graham from comment #1)
> Do any other F row keys not work, or only those? How about the brightness
> keys, or the mic mute key or the bluetooth key or the disable wifi key?

The only keys that were having issues for me were Volume Mute, Volume Down, Volume Up, and Mic Mute.  Since I submitted the bug the Gentoo devs added a patch (see here: https://gitweb.gentoo.org/repo/gentoo.git/tree/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch) that seems to have cleared up the issue.  However, acpid and journalctl still report that all F row ACPI events are going unhandled.  Since I don't recall seeing ACPI events go unhandled before, and my issue was resolved by a downstream patch I left the bug report open in interest of tracking down the root cause.
Comment 3 Nate Graham 2021-02-23 17:19:35 UTC
Ahh, so this was yet more fallout from Bug 431923.

The ACPI stuff looks like it's happening at a deeper level than any of our software. Possibly the kernel.

*** This bug has been marked as a duplicate of bug 431923 ***