Skip to content
Snippets Groups Projects
Commit 97ec5e86 authored by Benjamin Tissoires's avatar Benjamin Tissoires Committed by Marge Bot
Browse files

HID: bpf: Suppress bogus F13 trigger on Sirius keyboard full fan shortcut


The TUXEDO Sirius 16 Gen1 and the TUXEDO Sirius 16 Gen2 Notebooks have an
additional "fan" key next to F12.

Pressing it alone sends a F14 key press which can be bound by user space.

Pressing it while holding the FN key triggers two things:
- The EC firmware locks the fan speed of the internal fans at 100%
- F13 key press is registered which by default is already bound in xkb and
  desktop environments (e.g. in KDE Plasma it launches system settings)

To avoid this unexpected double duty of the FN shortcut, this bpf program
suppresses the F13 key press.

Signed-off-by: default avatarWerner Sembach <wse@tuxedocomputers.com>
Link: !166


Acked-by: default avatarJiri Kosina <jkosina@suse.com>
Link: https://patch.msgid.link/20250207-bpf-import-2025-02-07-v1-2-6048fdd5a206@kernel.org


Signed-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
Upstream commit: https://git.kernel.org/hid/hid/c/43db1911f807



Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
Part-of: <!188>
parent 615e5e41
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment