Bug 2025224 - extra keys on Lenovo / IBM keyboard are not working anymore
Summary: extra keys on Lenovo / IBM keyboard are not working anymore
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: xkeyboard-config
Version: 34
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-20 21:07 UTC by Albert Flügel
Modified: 2022-01-27 04:07 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-27 04:07:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Albert Flügel 2021-11-20 21:07:09 UTC
Description of problem:
The extra keys "Lock Desktop", "My Documents", "Calculator", "E-Mail", "Internet" in the top row of a Lonovo or IBM keyboard (such a thing: https://support.lenovo.com/us/en/solutions/pd010250-lenovo-enhanced-performance-usb-keyboard-overview-and-service-parts) do not work anymore. The keys "Work Processor" and "Spreadsheet" never did. However. It is convenient to just press such a button and i wonder, why this functionality has been broken with Fedora 34 or one of the "updates". Even the blue button was usable for something, now it is not anymore.

Version-Release number of selected component (if applicable):
2.33 . Not sure, if the issue has really to do with the keyboard configuration.

How reproducible:


Steps to Reproduce:
1. Press one of the buttons in the top row

Actual results:
nothing happens. The keys are not visible anymore in the output of xmodmap -pk

Expected results:
The respective action is performed

Additional info:
It was working for years, actually i can't remember, that it did not work since i use such keyboards with Linux.
xev does not show any of these key presses or releases.
It happens with both gnome and plasma and it does not matter, whether Xorg or @$%&* wayland is running, thus i assume, the issue is in one of the plethora of lower layers.

Comment 1 Peter Hutterer 2021-12-01 05:04:05 UTC
what does "libinput record --show-keycodes" (dnf install libinput-utils) say when you press those keys? and what does xev say when you press those keys?


Has this broken with an update *to* F34 or within F34 recently?

Comment 2 Albert Flügel 2021-12-04 16:55:22 UTC
# libinput record --show-keycodes
Available devices:
/dev/input/event0:      Lid Switch
/dev/input/event1:      Sleep Button
/dev/input/event2:      Power Button
/dev/input/event3:      AT Translated Set 2 keyboard
/dev/input/event4:      SynPS/2 Synaptics TouchPad
/dev/input/event5:      Logitech USB Optical Mouse
/dev/input/event6:      TPPS/2 IBM TrackPoint
/dev/input/event7:      Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )
/dev/input/event8:      Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )
/dev/input/event9:      Video Bus
/dev/input/event10:     Video Bus
/dev/input/event11:     ThinkPad Extra Buttons
/dev/input/event12:     HDA Intel Mic
/dev/input/event13:     HDA Intel Dock Mic
/dev/input/event14:     HDA Intel Dock Headphone
/dev/input/event15:     HDA Intel Headphone
/dev/input/event16:     UVC Camera (17ef:4807): Integra
Select the device event number: 11
Recording to 'stdout'.
# libinput record
version: 1
ndevices: 1
libinput:
  version: "1.19.2"
  git: "unknown"
system:
os: "fedora:34"
kernel: "5.15.4-101.fc34.x86_64"
dmi: "dmi:bvnLENOVO:bvr6FET93WW(3.23):bd10/12/2012:br3.35:efr1.6:svnLENOVO:pn2055B46:pvrThinkPadT500:rvnLENOVO:rn2055B46:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:sku:"
devices:
- node: /dev/input/event11
  evdev:
    # Name: ThinkPad Extra Buttons
    # ID: bus 0x19 vendor 0x17aa product 0x5054 version 0x4101
    # Supported Events:
    # Event type 0 (EV_SYN)
    # Event type 1 (EV_KEY)
    #   Event code 113 (KEY_MUTE)
    #   Event code 114 (KEY_VOLUMEDOWN)
    #   Event code 115 (KEY_VOLUMEUP)
    #   Event code 120 (KEY_SCALE)
    #   Event code 140 (KEY_CALC)
    #   Event code 142 (KEY_SLEEP)
    #   Event code 144 (KEY_FILE)
    #   Event code 148 (KEY_PROG1)
    #   Event code 152 (KEY_COFFEE)
    #   Event code 156 (KEY_BOOKMARKS)
    #   Event code 158 (KEY_BACK)
    #   Event code 171 (KEY_CONFIG)
    #   Event code 173 (KEY_REFRESH)
    #   Event code 190 (KEY_F20)
    #   Event code 191 (KEY_F21)
    #   Event code 194 (KEY_F24)
    #   Event code 205 (KEY_SUSPEND)
    #   Event code 212 (KEY_CAMERA)
    #   Event code 217 (KEY_SEARCH)
    #   Event code 224 (KEY_BRIGHTNESSDOWN)
    #   Event code 225 (KEY_BRIGHTNESSUP)
    #   Event code 227 (KEY_SWITCHVIDEOMODE)
    #   Event code 228 (KEY_KBDILLUMTOGGLE)
    #   Event code 236 (KEY_BATTERY)
    #   Event code 237 (KEY_BLUETOOTH)
    #   Event code 238 (KEY_WLAN)
    #   Event code 240 (KEY_UNKNOWN)
    #   Event code 372 (KEY_FULL_SCREEN)
    #   Event code 374 (KEY_KEYBOARD)
    #   Event code 444 (KEY_NOTIFICATION_CENTER)
    #   Event code 445 (KEY_PICKUP_PHONE)
    #   Event code 446 (KEY_HANGUP_PHONE)
    #   Event code 466 (KEY_FN_F1)
    #   Event code 475 (KEY_FN_F10)
    #   Event code 476 (KEY_FN_F11)
    #   Event code 485 (KEY_FN_RIGHT_SHIFT)
    #   Event code 582 (KEY_VOICECOMMAND)
    #   Event code 592 (KEY_BRIGHTNESS_MIN)
    #   Event code 634 (KEY_SELECTIVE_SCREENSHOT)
    # Event type 4 (EV_MSC)
    #   Event code 4 (MSC_SCAN)
    # Event type 5 (EV_SW)
    #   Event code 3 (SW_RFKILL_ALL)
    #       State 1
    # Properties:
    name: "ThinkPad Extra Buttons"
    id: [25, 6058, 20564, 16641]
    codes:
      0: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] # EV_SYN
      1: [113, 114, 115, 120, 140, 142, 144, 148, 152, 156, 158, 171, 173, 190, 191, 194, 205, 212, 217, 224, 225, 227, 228, 236, 237, 238, 240, 372, 374, 444, 445, 446, 466, 475, 476, 485, 582, 592, 634] # EV_KEY
      4: [4] # EV_MSC
      5: [3] # EV_SW
    properties: []
  udev:
    properties:
    - ID_INPUT=1
    - ID_INPUT_KEY=1
    - ID_INPUT_SWITCH=1
    - LIBINPUT_DEVICE_GROUP=19/17aa/5054:thinkpad_acpi
  quirks:
  events:
  # Current time is 17:46:05

now the command hangs - expects input ? When i type anything, nothing happens anymore, no matter, which key on the keyboard i hit. I press Ctrl-C then to get back the prompt.

xev shows nothing, when i hit these keys in xev's window, as i already wrote.

The phenomenon appeared after an update with Fedora 34 already installed.

I found now, that another Lenovo T500 also installed with Fedora 34 does not show this phenomenon. On this other laptop the keys still work, no matter, whether Gnome or Plasma is started. It has a slightly newer updates level (fedora-updates-testing). But i do not think, this is the issue. The system settings for the keyboard are exactly the same. German keyboard, HW: Generic PC keyboard with 101 keys

Comment 3 Peter Hutterer 2021-12-20 04:13:18 UTC
> now the command hangs - expects input ? When i type anything, nothing happens anymore, no matter, which key on the keyboard i hit. I press Ctrl-C then to get back the prompt.

That tool records events coming out of the kernel, from the given device. If it doesn't see any events it means nothing comes out of the kernel so userspace can't handle those events either. If it broke with a recent update, try an older kernel because right now that looks to be the issue (if it was a remapping issue in udev you'd still see the scancodes come through). Might be worth checking the other event nodes just in case but right now, this looks like a kernel regression.

Comment 4 Albert Flügel 2022-01-25 12:44:46 UTC
Whatever it was, with the latest updates the issue disappeared. The extra keys are working again. Issue can be closed in my view.

Comment 5 Peter Hutterer 2022-01-27 04:07:18 UTC
Ah, nice, let's close it then. Thanks!


Note You need to log in before you can comment on or make changes to this bug.