Scancodes der Fn-Schlüssel

482
Larrabee

Ich habe ein Problem mit der Neuzuordnung von Fn-Tasten auf meinem Dell xps 9370. Software: Arch linux + Wayland. Ich möchte die Tasten für die Helligkeit nach oben / nach unten neu zuordnen, aber ich kann die Scancodes nicht finden. Dies ist die Ausgabe von showkey mit gedrückter Brig-Up-Taste:

#>> showkey --scancodes  kb mode was ?UNKNOWN? [ if you are trying this under X, it might not work since the X server is also reading /dev/console ]  press any key (program terminates 10s after last keypress)... 0x9c  0xe0 0x54 0xe0 0xd4 

Ausgabe von evtest:

#>> evtest /dev/input/event13  Input driver version is 1.0.1 Input device ID: bus 0x19 vendor 0x0 product 0x6 version 0x0 Input device name: "Video Bus" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 224 (KEY_BRIGHTNESSDOWN) Event code 225 (KEY_BRIGHTNESSUP) Event code 227 (KEY_SWITCHVIDEOMODE) Event code 241 (KEY_VIDEO_NEXT) Event code 242 (KEY_VIDEO_PREV) Event code 243 (KEY_BRIGHTNESS_CYCLE) Event code 244 (KEY_BRIGHTNESS_ZERO) Event code 245 (KEY_DISPLAY_OFF) Properties: Testing ... (interrupt to exit) Event: time 1523197124.754306, type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), value 1 Event: time 1523197124.754306, -------------- SYN_REPORT ------------ Event: time 1523197124.754340, type 1 (EV_KEY), code 225 (KEY_BRIGHTNESSUP), value 0 Event: time 1523197124.754340, -------------- SYN_REPORT ------------ 

Meine Hwdb-Datei sieht so aus:

evdev:* KEYBOARD_KEY_d4=pageup 

Ich habe 'd4, 53, oe54, 54d4' und andere Scancodes ausprobiert, nichts funktioniert. Mit anderen Tasten funktionieren alle einwandfrei, es wurde erfolgreich neu zugeordnet. Wie kann ich aktuelle Scancodes dieser Schlüssel finden?

2

0 Antworten auf die Frage