Project

General

Profile

Actions

Support #571

open

Keyboard scan codes of HP Elitebook 2170p under coreboot are different with those under oem firmware.

Added by Wreg Yek 28 days ago. Updated 6 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/23/2024
Due date:
% Done:

90%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
HP Elitebook 2170p
Affected OS:
GNU/Linux with systemd v257-rc1 or later

Description

HP Elitebook 2170p is weird compared with many other Elitebooks supported by coreboot, for its keyboard scan codes under coreboot is different with those under oem firmware, regardless of the same set of EC firmware blobs are used.

The scan codes under oem firmware conform to the upstream 60-keyboard.hwdb, while after systemd v257-rc1, the KEYBOARD_KEY_66=pickup_phone within upstream 60-keyboard.hwdb starts to conflict with the scan codes of backspace key under coreboot, where it is 0x66.

Besides backspace, I have collected the scan codes of all Fn-keys under coreboot into the attached 61-2170p-kb.hwdb, which is adjusted to the default SMBIOS tables of coreboot for Elitebook 2170p, and could be used to walk around the scan code conflict.


Files

61-2170p-kb.hwdb (508 Bytes) 61-2170p-kb.hwdb Wreg Yek, 11/23/2024 05:01 PM
Actions

Also available in: Atom PDF