]> www.infradead.org Git - users/hch/misc.git/commit
platform/x86: dell-wmi-base: Handle META key Lock/Unlock events
authorKurt Borja <kuurtb@gmail.com>
Thu, 31 Oct 2024 15:44:42 +0000 (12:44 -0300)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 Nov 2024 10:49:26 +0000 (11:49 +0100)
commitec61f0bb4feec3345626a2b93b970b6719743997
treeca92c523060cb2260e2687c7523c799a40a355b2
parenta36b8b84ac4327b90ef5a22bc97cc96a92073330
platform/x86: dell-wmi-base: Handle META key Lock/Unlock events

Some Alienware devices have a key that locks/unlocks the Meta key. This
key triggers a WMI event that should be ignored by the kernel, as it's
handled by internally the firmware.

There is no known way of changing this default behavior. The firmware
would lock/unlock the Meta key, regardless of how the event is handled.

Tested on an Alienware x15 R1.

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20241031154441.6663-2-kuurtb@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell/dell-wmi-base.c