Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0118c2d3 authored by Dennis Wassenberg's avatar Dennis Wassenberg Committed by Darren Hart
Browse files

thinkpad_acpi: Add support for HKEY version 0x200



Lenovo Thinkpad devices T460, T460s, T460p, T560, X260 use
HKEY version 0x200 without adaptive keyboard.

HKEY version 0x200 has method MHKA with one parameter value.
Passing parameter value 1 will get hotkey_all_mask (the same like
HKEY version 0x100 without parameter). Passing parameter value 2 to
MHKA method will retrieve hotkey_all_adaptive_mask. If 0 is returned in
that case there is no adaptive keyboard available.

Signed-off-by: default avatarDennis Wassenberg <dennis.wassenberg@secunet.com>
Signed-off-by: default avatarLyude <cpaul@redhat.com>
Tested-by: default avatarLyude <cpaul@redhat.com>
Tested-by: default avatarMarco Trevisan <marco@ubuntu.com>
Acked-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
[dvhart: Keep MHKA error string on one line in new and existing pr_err calls]
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 48f67d62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment