summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec
diff options
context:
space:
mode:
authorDennis Nilsson <kontakt@dennisnilsson.se>2026-10-17 10:33:58 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-20 23:58:50 +0300
commitd92df6048d22799d04c98616cc42f0601c0edcab (patch)
tree118393c0016738188431214947eb47c116573b5c /rust/kernel/alloc/kvec
parente931e54edb0fae350007c4054cfbf095cc316bd8 (diff)
platform/x86: acer-wmi: Cycle platform profile on mode key 0x4
On some Nitro models using the Predator Sense v4 interface, such as the Nitro AN16-41, the mode key raises WMID_GAMING_TURBO_KEY_EVENT with key_num 0x4 instead of 0x5. The driver routes key_num 0x4 to acer_toggle_turbo(), which returns immediately on machines without ACER_CAP_TURBO_LED because WMID_gaming_get_u64() rejects the missing capability, so the key press is silently dropped. Only toggle turbo for key_num 0x4 when the turbo LED capability is present, and cycle the platform profile otherwise. Machines with the turbo quirk keep their current behaviour, and on every other machine key_num 0x4 was previously a no-op. Tested on an Acer Nitro AN16-41 (BIOS V1.03), where the mode key sends the event payload 07 04 01 00 and now cycles the platform profile. Assisted-by: LLM Signed-off-by: Dennis Nilsson <kontakt@dennisnilsson.se> Link: https://patch.msgid.link/20261017-acer-nitro-an16-41-v1-1-c2e7a0ee7303@dennisnilsson.se Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions