Libinput and logitech mx keys issue

,

Hello,

I have been using fedora 42 KDE for almost a year, and recently I bought a logitech MX Keys.
The issue I met is that I can not write with that keyboard on my Plasma session, only the Fn buttons works when connected on the bolt
The weird part is: It works with the bolt connection on Win10, On Hyprland, On sddm, on Grub, and the mouse works great on it since the beginning

So I dug and found out Libinput was the issue, so

  1. I updated the logitech quirk file from 1.29 with the one found on fedora package with the quirk 1.31, it worked for half a day until I reboot and now it won’t work, tried the same method again and it did not work.
  2. I tried the copr update to get the 1.31, which was properly installed, but it still don’t work
  3. The “libinput debug-events” shows that the inputs are registered but no text written

I experienced this same issue and resolved it by clearing KWin’s input memory.

Solution:
Run the following commands in your terminal to move the corrupted configuration files, then reboot:

mv ~/.config/kcminputrc ~/.config/kcminputrc.bak
mv ~/.config/kxkbrc ~/.config/kxkbrc.bak
reboot

Root Cause:
During a recent system update, kcminputrc / kxkbrc either became corrupted or mapped the keyboard layout to the wrong sub-device of the Bolt receiver. Wayland requires a valid keyboard layout assigned to a specific hardware event node; otherwise, KWin silently drops the keystrokes. Forcing KWin to generate fresh configuration files on reboot correctly binds the device to the active session again.

Best regards.

2 Likes