You are not logged in.
I have a wireless keyboard and all of the F1-F12 are mapped to "other actions" like volume setting, skip song etc.
I managed to get respective MSC_SCAN scan codes using evtest. eg:
Event: time 1741027689.141429, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70045
Event: time 1741027689.141429, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 1
Event: time 1741027689.141429, -------------- SYN_REPORT ------------I created a file in /etc/udev/hwdb.d/ with following entry:
evdev:name:Thock 75% Wireless:*
KEYBOARD_KEY_70045=f12Updated hwdb.bin using systemd-hwdb, and udevadm trigger.
It didnt change anything.
However if I bind 70045 to 'a' or any letter it works. Now F12 will return 'a' character.
dumpkeys doesn't report mapping for code 115, but shows
string F12 = "\033[24~"I must be missing something.
I would appreciate any help.
Thank you
Last edited by _tmkc (2025-03-03 23:06:45)
Offline
I was helped through other channels.
This article describes issue and a solution: https://fcastagnotto.wordpress.com/2024 … gnu-linux/
Relevant wiki article: https://wiki.archlinux.org/title/Apple_Keyboard
Last edited by _tmkc (2025-03-03 23:11:51)
Offline