External keyboard default shortcuts with KDE do not work

Since quite some time some of the keyboard shortcuts do not work anymore with an external keyboard,
e.g “ALT+F4” for closing an application, basically the F keys do not work anymore as well. The strange thing is it worked once. Also I have reinstalled completely my laptop but still it is not working anymore.
I am using a cherry keyboard Cherry MX Board 10.0N MX. Selecting any cherry keyboard in the keyboard settings does not solve the problem at all.

Here I found a “solution for external keyboard default shortcuts”. But asking the author directly he cannot remember anymore what he has done exactly to tell me and if it would fix my problem.

Hi @Rulinux,

What version of the kernel are you using? Did it change on the update for some reason? Please provide the output of:

inxi --admin --verbosity=7 --filter --no-host --width

Also see,

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

Hi Mirdarthos,

You are right. My desription was too short.

This is some of the output:

Kernel: 6.1.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
...
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux

It worked once with LTS Kernel 5.15. After an update the full external keyboard functionality was gone. I do not know exactly with which update.

Why only some, though? We need more, hence why I asked for more.

Well, would be nice to get the above mentioned output for all kernels. Because it seems like some driver/module issue, or something.

I have changed the specific information for the UUIDs consistently in logic.
Just beside the battery charging optimization also does not work. The charging cannot be limited up to 80% for longer life time of the battery.

System:
  Kernel: 6.1.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1-x86_64
    root=UUID=YYYYYYYYYYY rw rootflags=subvol=@ quiet
    cryptdevice=UUID=XXXXXXXXXX:luks-XXXXXXXXXX
    root=/dev/mapper/luks-XXXXXXXXXX splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP ProBook 450 G5 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 837D v: KBC Version 02.41.00 serial: <superuser required>
    UEFI: HP v: Q85 Ver. 01.22.00 date: 09/19/2022
Battery:
  ID-1: BAT0 charge: 34.7 Wh (96.9%) condition: 35.8/48.0 Wh (74.6%)
    volts: 12.2 min: 11.4 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: not charging cycles: 79
Memory:
  RAM: total: 23.37 GiB used: 4.63 GiB (19.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
    model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1544 high: 1800 min/max: 400/3400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1800 2: 1800 3: 1800
    4: 1800 5: 800 6: 759 7: 1800 8: 1800 bogomips: 28808
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-1 off: eDP-1 empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:5917 class-ID: 0300
  Device-2: NVIDIA GM108M [GeForce 930MX] vendor: Hewlett-Packard
    driver: nvidia v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:134e
    class-ID: 0302
  Device-3: Cheng Uei Precision Industry (Foxlink) Webcam type: USB
    driver: uvcvideo bus-ID: 1-6:3 chip-ID: 05c8:03b1 class-ID: 0e02
    serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 507x285mm (19.96x11.22")
    s-diag: 582mm (22.9")
  Monitor-1: DP-1 pos: primary model: Samsung U32H85x serial: <filter>
    built: 2019 res: 1920x1080 hz: 60 dpi: 70 gamma: 1.2
    size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9 modes:
    max: 3840x2160 min: 720x400
  Monitor-2: eDP-1 note: disabled model: ChiMei InnoLux 0x15d3 built: 2015
    res: 1920x1080 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel UHD Graphics 620 (KBL
    GT2) direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_soc_avs,snd_sof_pci_intel_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound API: ALSA v: k6.1.11-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlp3s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:5 chip-ID: 8087:0a2b class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 10 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-ZZZZZZZZZZZ maj-min: 254:1
    type: LUKS dm: dm-1 size: 931.51 GiB
  Components:
  p-1: sda1 maj-min: 8:1 size: 931.51 GiB
  Device-2: luks-XXXXXXXXXX maj-min: 254:0
    type: LUKS dm: dm-0 size: 238.17 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 238.17 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.14 TiB used: 747.34 GiB (63.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix
    model: BC511 HFM256GDJTNI-82A0A size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS0 temp: 21.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: RKM2 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 34.35 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-XXXXXXXXXX label: N/A
    uuid: YYYYYYYYYYY
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 752 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: CA66-BE7D
  ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 34.35 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-XXXXXXXXXX label: N/A
    uuid: YYYYYYYYYYY
  ID-4: /mnt/samba/001_Programme_Install raw-size: N/A size: 7.08 TiB
    used: 3.6 TiB (50.8%) fs: cifs dev: /dev/001 Programme Install
  ID-5: /mnt/samba/002_Archiv raw-size: N/A size: 7.08 TiB
    used: 3.6 TiB (50.8%) fs: cifs dev: /dev/002 Archiv
  ID-6: /mnt/samba/010_Datensicherung raw-size: N/A size: 7.08 TiB
    used: 3.6 TiB (50.8%) fs: cifs dev: /dev/010 Datensicherung
  ID-7: /mnt/samba/Multimedia raw-size: N/A size: 7.08 TiB
    used: 3.6 TiB (50.8%) fs: cifs dev: /dev/Multimedia
  ID-8: /run/media/omlinux/Daten raw-size: 931.51 GiB
    size: 931.51 GiB (100.00%) used: 712.98 GiB (76.5%) fs: btrfs dev: /dev/dm-1
    maj-min: 254:1 mapped: luks-ZZZZZZZZZZZ
    label: Daten uuid: 49c52284-4366-42c4-96f1-997f5a964b2f
  ID-9: /var/cache raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 34.35 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-XXXXXXXXXX label: N/A
    uuid: YYYYYYYYYYY
  ID-10: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 34.35 GiB (14.4%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-XXXXXXXXXX label: N/A
    uuid: YYYYYYYYYYY
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-4:26 info: VIA Labs VL813 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2813 class-ID: 0900
  Device-1: 1-4.1:28 info: Sunplus Innovation Optical Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 98mA
    chip-ID: 1bcf:0005 class-ID: 0301
  Device-2: 1-4.2:29 info: Cherry GmbH Keyboard type: Keyboard,Mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA
    chip-ID: 046a:00df class-ID: 0301
  Device-3: 1-6:3 info: Cheng Uei Precision Industry (Foxlink) Webcam
    type: Video driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 05c8:03b1 class-ID: 0e02 serial: <filter>
  Device-4: 1-7:5 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0a2b class-ID: e001
  Device-5: 1-8:30 info: Validity Sensors VFS495 Fingerprint Reader
    type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 100mA chip-ID: 138a:003f class-ID: ff00 serial: <filter>
  Hub-3: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 32.0 C pch: 26.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 384 Uptime: 4d 22h 27m wakeups: 38 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1916 pm: pacman pkgs: 1910 libs: 418 tools: pamac pm: flatpak
  pkgs: 6 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.25


Hi @Mirdarthos,

could you have a look at my in the meantime fully provided information, please.

Thanks, Rulinux

I have looked and I see nothing amiss. So I’m jut guessing here. Please provide the output for:

xinput

…both before, as well as after you’ve connected it.

The internal keyboard of the notebook works always fine but not the external one where mainly the problem is the addressing of “F” keys

Before plugin in the external keyboard - without:

Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNA3063:00 06CB:826F Mouse               id=12   [slave  pointer  (2)]
⎜   ↳ SYNA3063:00 06CB:826F Touchpad            id=13   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [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)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Sleep Button                              id=10   [slave  keyboard (3)]
    ↳ HP HD Camera: HP HD Camera                id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                            id=16   [slave  keyboard (3)]
    ↳ Wireless hotkeys                          id=17   [slave  keyboard (3)]

with external keyboard

xinput                                                                                                                                                                                                                       ✔ 
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNA3063:00 06CB:826F Mouse               id=12   [slave  pointer  (2)]
⎜   ↳ SYNA3063:00 06CB:826F Touchpad            id=13   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [slave  pointer  (2)]
⎜   ↳ CHERRY CHERRY Keyboard                    id=18   [slave  pointer  (2)]
⎜   ↳ CHERRY CHERRY Keyboard Mouse              id=20   [slave  pointer  (2)]
⎜   ↳ USB Optical Mouse                         id=22   [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)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Sleep Button                              id=10   [slave  keyboard (3)]
    ↳ HP HD Camera: HP HD Camera                id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                            id=16   [slave  keyboard (3)]
    ↳ Wireless hotkeys                          id=17   [slave  keyboard (3)]
    ↳ CHERRY CHERRY Keyboard                    id=19   [slave  keyboard (3)]
    ↳ CHERRY CHERRY Keyboard                    id=21   [slave  keyboard (3)]

Well, according to this page:

The device is supported by kernel versions 2.6.0 and newer according to the LKDDb

So I honestly don’t know what to tell you…

Except, have you test another external keyboard on the same connector?

Also, I have no idea if this’ll work, but I see there is a package for Cherry Keyboards on Github. Now I’m presuming it’s only for RGB-lighting, but it
might also make a difference here. It seems, it’s unfortunately not in the AUR, so installing it is obviously not as simple as one command, and I’ve not done it the last ±10 odd years. So obviously can’t verify them. But here’s the page nonetheless:

Edit:

Also, have you tried using another kernel? 5.10 or 5.15 perhaps?

After searching and searching for the solution I sent the keyboard to Cherry. They did a special reset and now it works again.
Obviously a modern, professional keyboard is much susceptible to problems than “classic old fashioned” keyboards which do their job most reliable.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.