summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHans de Goede <johannes.goede@oss.qualcomm.com>2026-11-09 22:43:49 +0100
committerJiri Kosina <jkosina@suse.com>2026-11-20 14:59:23 +0100
commit896143ce9368435c185e7d5a4f42380aeab01778 (patch)
tree3f3307e91c952eb238e9625fae660532b3e05fe1 /tools/perf/scripts/python/flamegraph.py
parent41cb3076a221afba052ae1624ccf62e500706b20 (diff)
HID: lenovo: suppress spurious F23 key events on ThinkPad T14s gen6/7 snapdragon
The Lenovo ThinkPad T14s gen6/7 snapdragon version I2C-HID keyboard sends spurirous F23 key-events when the Fn key is pressed/released. Leading to e.g. garbage ESC-sequences in the terminal when doing FN key combos. A hwdb entry was added to map these to KEY_UNKNOWN [1], but this also maps the F23 part of the left-meta + left-shift + F23 combo send by the co-pilot key to KEY_UNKNOWN making that key unusable. Add a raw_event filter which removes any 0x72 codes from the 6 scancodes reported in the standard HID keyboard boot protocol report, but only when the report's modifier byte is not 0x0a to preserve the F23 press event when the co-pilot key is pressed. Link: https://github.com/systemd/systemd/pull/44733 [1] Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions