You are not logged in.

#1 2022-03-13 12:08:17

dklymenk
Member
Registered: 2021-05-07
Posts: 7

[SOLVED] Media controls have stopped working after recent updates

After a system and firmware update yesterday I noticed the XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute keystrokes are no longer being registered on my external keyboard.

The keyboard: Lenovo SK-8823
The laptop: ThinkPad T480

I have those inputs bound to pactl commands via xbindkeys. The keybinds don't work anymore. I checked if my laptop even sees the keystrokes with xbindkeys --key and it turned it doesn't. Hitting the key combos (Fn + F1-3) doesn't trigger any event as far as xbindkeys --key is concerned.

I have ensured that it's not an issue with the keyboard itself as the media keys work on other laptops as well as desktops.

How does one troubleshoot the issue further?

Thanks.

Edit: The media keys on the laptop keyboard are working fine. The issue is related to an external keyboard only.

Last edited by dklymenk (2022-03-14 16:03:14)

Offline

#2 2022-03-13 18:41:43

dklymenk
Member
Registered: 2021-05-07
Posts: 7

Re: [SOLVED] Media controls have stopped working after recent updates

In case it makes it easier to narrow the issue down, here is the journalctl output when I connect the keyboard:

Mar 13 21:25:46 archpad kernel: usb 1-2.1.1: new low-speed USB device number 18 using xhci_hcd
Mar 13 21:25:46 archpad kernel: usb 1-2.1.1: New USB device found, idVendor=17ef, idProduct=60a1, bcdDevice= 1.14
Mar 13 21:25:46 archpad kernel: usb 1-2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 13 21:25:46 archpad kernel: usb 1-2.1.1: Product: Lenovo Essential Wired Combo
Mar 13 21:25:46 archpad kernel: usb 1-2.1.1: Manufacturer: LiteOn
Mar 13 21:25:46 archpad kernel: input: LiteOn Lenovo Essential Wired Combo as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.0/0003:17EF:60A1.0011/input/input43
Mar 13 21:25:46 archpad kernel: hid-generic 0003:17EF:60A1.0011: input,hidraw0: USB HID v1.11 Keyboard [LiteOn Lenovo Essential Wired Combo] on usb-0000:00:14.0-2.1.1/input0
Mar 13 21:25:46 archpad kernel: input: LiteOn Lenovo Essential Wired Combo System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.1/0003:17EF:60A1.0012/input/input44
Mar 13 21:25:46 archpad kernel: input: LiteOn Lenovo Essential Wired Combo Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.1/0003:17EF:60A1.0012/input/input45
Mar 13 21:25:46 archpad kernel: hid-generic 0003:17EF:60A1.0012: input,hidraw1: USB HID v1.11 Device [LiteOn Lenovo Essential Wired Combo] on usb-0000:00:14.0-2.1.1/input1
Mar 13 21:25:46 archpad systemd-logind[915]: Watching system buttons on /dev/input/event5 (LiteOn Lenovo Essential Wired Combo System Control)
Mar 13 21:25:46 archpad systemd-logind[915]: Watching system buttons on /dev/input/event4 (LiteOn Lenovo Essential Wired Combo)

Offline

#3 2022-03-14 12:40:42

GuardCat
Member
Registered: 2022-03-14
Posts: 3

Re: [SOLVED] Media controls have stopped working after recent updates

I'm expereincing this bug with my Lenovo SK-8823 though it had worked well before. Media keys are invisible for xev and other apps.  At the same time Lenovo KU-1255 works well. Does anybody have any ideas?

Offline

#4 2022-03-14 14:46:48

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] Media controls have stopped working after recent updates

What do those keys produce for "sudo libinput debug-events"?

Offline

#5 2022-03-14 14:52:20

dklymenk
Member
Registered: 2021-05-07
Posts: 7

Re: [SOLVED] Media controls have stopped working after recent updates

seth wrote:

What do those keys produce for "sudo libinput debug-events"?

For me it's exactly the same as with "xbindkeys --key". It's as if I am not pressing the buttons at all.

Offline

#6 2022-03-14 14:54:08

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] Media controls have stopped working after recent updates

Do they produce output in "sudo evtest"?
If not, possibly some wmi module gets in the way - does it still work w/ the LTS kernel?

Offline

#7 2022-03-14 15:11:49

GuardCat
Member
Registered: 2022-03-14
Posts: 3

Re: [SOLVED] Media controls have stopped working after recent updates

I've tried 5.10 and 5.15 kernels. Bug reproduces anywhere.

Offline

#8 2022-03-14 15:19:19

dklymenk
Member
Registered: 2021-05-07
Posts: 7

Re: [SOLVED] Media controls have stopped working after recent updates

"sudo evtest" registers the KEY_MUTE, KEY_VOLUMEDOWN and KEY_VOLUMEUP events for me.

I am also reproducing the issue on "5.15.28-1-lts".

Offline

#9 2022-03-14 15:39:38

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] Media controls have stopped working after recent updates

So it seems libinput drops the ball. Is it in the update list? From what version?

Offline

#10 2022-03-14 15:50:55

dklymenk
Member
Registered: 2021-05-07
Posts: 7

Re: [SOLVED] Media controls have stopped working after recent updates

You are absolutely right.

I downgraded to a previous version I found in /var/cache/pacman/pkg/ (libinput-1.19.3-2), rebooted, and the events are being registered and the keybinds are working.

The latest version (libinput-1.20.0-1) is the one where the bug can be reproduced.

So do we freeze the package in pacman.conf for now and raise an issue on their gitlab? https://gitlab.freedesktop.org/libinput … t/-/issues

Offline

#11 2022-03-14 16:00:18

dklymenk
Member
Registered: 2021-05-07
Posts: 7

Re: [SOLVED] Media controls have stopped working after recent updates

Never mind. Apparently it has already been fixed.I guess the fix will arrive to Arch Linux with the next release.

https://gitlab.freedesktop.org/libinput … issues/745

Offline

#12 2022-03-14 16:26:11

GuardCat
Member
Registered: 2022-03-14
Posts: 3

Re: [SOLVED] Media controls have stopped working after recent updates

Thank you all! The problem's resolved.

Offline

Board footer

Powered by FluxBB