I've been using Ubuntu 22.04LTS Desktop for over a year now (on a Ryzen 9 5950X, which is awesome, but I don't think that matters).
The specific version is:
sudo dmesg | head -1 | fmt -w 80
[ 0.000000] Linux version 5.15.0-60-generic (buildd@lcy02-amd64-054)
(gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu)
2.38) #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 (Ubuntu 5.15.0-60.66-generic
5.15.78)
All of a sudden a few weeks ago, probably as a result of some auto-update, the media keys (volume up/down, pause/continue, mute, next song/prev song, etc.) have stopped working altogether. The keyboard is a Microsoft Keyboard 4000, with dedicated media keys (no key combinations e.g. Fn+...).
I've looked at similar questions, but they seem quite old. The most recent answers I found include this answer and that answer. Both recommend restarting pipe-session-manager
, but it did nothing to help the situation. On the contrary, it entirely shut down all my audio, and after various attempts to "nicely" revive it, I had to reboot.
What can I do to even diagnose the problem?
FWIW, I tried to monitor events via evtest
, tried all 5 devices with a name containing Microsoft_KM-V1.a
, but I cannot see any event triggered when I press any of the media keys.
Edit When looking at journalctl --since today | tail
just after hitting a few of the media keys, I see the puzzling message:
..... /usr/libexec/gdm-x-session[10302]: (EE) event2 - Microsoft_KM-V1.a: client bug: event processing lagging behind by 37ms, your system is too slow
It is puzzling because the specs of that machine are quite good and it is lightning fast (see the Geekbench 6 results).
/var/log/syslog
etc. but no luck.