Page MenuHomeSolus

Upgrade of libinput breaks keyboard input
Closed, ResolvedPublic

Description

Upgrade of libinput on a new Solus installation disables key input from the laptop keyboard inside a desktop environment, (same result when switching from Budgie to MATE).

libinput is upgraded from 1.6.0-10-1-x86_64 to 1.9.0-14-1-x86_64

Input from the integrated keyboard works fine inside the virtual console terminals, tty2 etc. after pressing e.g. Ctrl + Alt + F2 on an external keyboard.

Laptop: Compaq CQ58
External keyboard: Logitech K400r

Event Timeline

sudo libinput debug-events

-event6   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event7   DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event5   DEVICE_ADDED     Power Button                      seat0 default group3  cap:k
-event3   DEVICE_ADDED     Lid Switch                        seat0 default group4  cap:S
-event14  DEVICE_ADDED     Logitech K400                     seat0 default group5  cap:kp left scroll-nat scroll-button
-event9   DEVICE_ADDED     HDA Intel PCH Mic                 seat0 default group6  cap:
-event10  DEVICE_ADDED     HDA Intel PCH Headphone           seat0 default group6  cap:
-event11  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=3       seat0 default group6  cap:
-event13  DEVICE_ADDED     HP TrueVision HD                  seat0 default group7  cap:k
-event0   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group8  cap:k
-event8   DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default group9  cap:p  size 94x43mm tap(dl off) left scroll-nat scroll-2fg-edge dwt-on
-event12  DEVICE_ADDED     HP WMI hotkeys                    seat0 default group10 cap:kS
 event12  SWITCH_TOGGLE     +0.02s	Avbruten (SIGABRT)

Managed to get the keyboard working with evdev installed by manually adding the line

Driver "evdev"

to /etc/X11/xorg.conf.d/00-keyboard.conf

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
	Driver "evdev"
        MatchIsKeyboard "on"
        Option "XkbModel" "pc104"
        Option "XkbLayout" "se"
EndSection

Is this still an issue after recent updates?

Have been able to verify that this is not an issue in recent updates. It still works after removing the Driver "evdev" line and rebooting.