]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb/keyboard: fix KP_Enter on Clevo PA70ES
authorMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sat, 9 May 2026 11:53:01 +0000 (08:53 -0300)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 9 May 2026 17:08:27 +0000 (18:08 +0100)
commitb7be9ccc8f4299269f72bde49e426a7a9d484da9
tree2b374160ed56e76c4e2f7feece7adc38f2006fc4
parent601bf4cb87091e5a3d53108504f8a08076137bda
hwdb/keyboard: fix KP_Enter on Clevo PA70ES

The ITE keyboard controller firmware (version 0xAB83) is shared
between the Clevo PA70ES and the X+ piccolo series.

The piccolo's hwdb rule matches by input device ID
(evdev:input:b0011v0001p0001eAB83*) and remaps scan code 0x9c
(KP_Enter) to Enter, since the piccolo has no numpad and its
main Enter key sends the wrong scan code.

The Clevo PA70ES has a real numpad. The piccolo rule matches it
because both laptops use the same ITE controller firmware, which
breaks KP_Enter on the PA70ES.

Add a DMI-specific override that restores KEY_KPENTER for 0x9c
on the PA70ES.

The piccolo rule should ideally be narrowed to use DMI matching
instead of input device ID to avoid catching other laptops with
the same ITE controller firmware.
hwdb.d/60-keyboard.hwdb