]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb: Add support for HP ZBook Studio G5 keyboard (#17525)
authorfwSmit <fw.smit01@gmail.com>
Sat, 7 Nov 2020 11:20:03 +0000 (12:20 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Nov 2020 11:20:03 +0000 (12:20 +0100)
commit21d8f2533db7c46b80f74bd147869eb4f10195a6
tree20ca0575fd58ebf1ab7babdc5af10a9414873d85
parenteaa269484b3ea3f721d825b6003cc625787007b3
hwdb: Add support for HP ZBook Studio G5 keyboard (#17525)

I tested this on my ZBook Studio G5. I'm not sure if this works for other ZBook studio machines.

I have two more notes on this PR:
- some keys send multiple scancodes. I matched only on one of them, because I couldn't figure out how to match
on all of them. This results in the others still being visible:
Event: time 1604520228.146226, -------------- SYN_REPORT ------------
Event: time 1604520228.151533, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1604520228.151533, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1
Event: time 1604520228.151533, -------------- SYN_REPORT ------------
Event: time 1604520228.259862, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1604520228.259862, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1604520228.259862, -------------- SYN_REPORT ------------
Event: time 1604520228.259944, type 4 (EV_MSC), code 4 (MSC_SCAN), value 66
Event: time 1604520228.259944, type 1 (EV_KEY), code 218 (KEY_CONNECT), value 0
Event: time 1604520228.259944, -------------- SYN_REPORT ------------
Event: time 1604520228.266513, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1604520228.266513, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1604520228.266513, -------------- SYN_REPORT ------------

I wanted to set the display key to switchvideomode, but another key is already set to that, so I set it to displaytoggle instead.
hwdb.d/60-keyboard.hwdb