You are not logged in.

#1 2020-10-17 11:08:53

tarask
Member
Registered: 2017-09-29
Posts: 3

[SOLVED] Built-in keyboard stopped working on Plasma

I have Arch Linux installed and using Plasma as my DE. Suddenly my laptop's keyboard stopped working on Plasma and on the login screen. It still works on Windows (I have dual boot) and if I switch tty via CTRL+ALT+Fn (I connected USB Keyboard to do that) it works as well

So, the keyboard does not work in Plasma GUI only

I did some checks and the system sees the keyboard and shows that it's enabled in `xinput`

journalctl -b | grep -i translated
Oct 16 12:23:27 archlinux kernel: iommu: Default domain type: Translated 
Oct 16 12:23:27 archlinux kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
Oct 16 12:23:31 archlinux systemd-logind[435]: Watching system buttons on /dev/input/event4 (AT Translated Set 2 keyboard)
grep Translated Xorg.0.log
[     8.880] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[     8.880] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     8.880] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     8.880] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     8.880] (**) AT Translated Set 2 keyboard: always reports core events
[     8.883] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     8.883] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[     8.898] (II) event4  - AT Translated Set 2 keyboard: device removed
[     8.899] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 19)
[     8.902] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     8.902] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
    xinput list
⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ USB Keyboard Consumer Control            id=15 [slave  pointer  (2)]
⎜   ↳ Elan Touchpad                            id=17 [slave  pointer  (2)]
⎣ Virtual core keyboard                    id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard              id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Asus Wireless Radio Control              id=7 [slave  keyboard (3)]
    ↳ Video Bus                                id=8 [slave  keyboard (3)]
    ↳ Video Bus                                id=9 [slave  keyboard (3)]
    ↳ Power Button                             id=10 [slave  keyboard (3)]
    ↳ Sleep Button                             id=11 [slave  keyboard (3)]
    ↳ USB Keyboard                             id=12 [slave  keyboard (3)]
    ↳ USB Keyboard System Control              id=13 [slave  keyboard (3)]
    ↳ USB Keyboard                             id=14 [slave  keyboard (3)]
    ↳ USB2.0 VGA UVC WebCam: USB2.0 V          id=16 [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                         id=18 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard             id=19 [slave  keyboard (3)]
    ↳ USB Keyboard Consumer Control            id=20 [slave  keyboard (3)]
xinput list-props "AT Translated Set 2 keyboard"
Device 'AT Translated Set 2 keyboard':
 Device Enabled (180): 1
 Coordinate Transformation Matrix (182): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 libinput Send Events Modes Available (300): 1, 0
 libinput Send Events Mode Enabled (301): 0, 0
 libinput Send Events Mode Enabled Default (302): 0, 0
 Device Node (303): "/dev/input/event4"
 Device Product ID (304): 1, 1

I tried to downgrade libinput to 1.15 version (the last one I remember was working) but not helped

What else should I check and what could break it?

Last edited by tarask (2020-10-17 15:05:54)

Offline

#2 2020-10-17 12:57:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,867

Re: [SOLVED] Built-in keyboard stopped working on Plasma

There's an issue with a kernel change and how it presents the Asus WMI keys to the xorg server.

Update libinput again, and check this thread/response: https://bbs.archlinux.org/viewtopic.php … 7#p1922517

Offline

#3 2020-10-17 15:04:34

tarask
Member
Registered: 2017-09-29
Posts: 3

Re: [SOLVED] Built-in keyboard stopped working on Plasma

Thank you @V1del, the workaround from that thread helped me

Offline

Board footer

Powered by FluxBB