diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-04-24 15:28:25 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-04-29 12:44:13 +0300 |
commit | 8f0215401204cff64a9bcaa950002d4456f7c6b3 (patch) | |
tree | 08d0cbc8c4cd13f9f39673ebc6d7850a9ebbee34 /tools/perf/scripts/python/gecko.py | |
parent | 56b3667d4ed34fe21de878b49eb964facc75b0d4 (diff) | |
download | linux-8f0215401204cff64a9bcaa950002d4456f7c6b3.tar.xz |
platform/x86: thinkpad_acpi: Do not send ACPI netlink events for unknown hotkeys
Do not send ACPI netlink events for unknown hotkeys, to avoid userspace
starting to rely on them. Instead these should be added to the keymap to
send evdev events.
This should not cause a behavior change for existing laptop models since
all currently known 0x1xxx events have a mapping.
In hindsight the ACPI netlink events should have been suppressed for
the adaptive keyboard and extended hotkeys events too. But the kernel has
been sending ACPI netlink events for those for a long time now, so we
cannot just stop sending them without potentially causing issues for
existing users who may depend on these.
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240424122834.19801-16-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions