]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
platform/x86: thinkpad_acpi: Adding new hotkey ID for Lenovo thinkpad
authorHui Wang <hui.wang@canonical.com>
Wed, 19 Jul 2017 04:56:56 +0000 (21:56 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 11 Aug 2017 10:38:03 +0000 (12:38 +0200)
commit0be6cb5d6a39d52af7608f4f27a741a4762d9a86
treeef690adae8efd67f3b59c2d3113b289d99491759
parentb1e7d7d50213e17340f62f8b9c554ad329cf6360
platform/x86: thinkpad_acpi: Adding new hotkey ID for Lenovo thinkpad

BugLink: http://bugs.launchpad.net/bugs/1705169
Recently we met an issue on lots of Lenovo thinkpad laptops (those
laptops are not released to market yet), the issue is that the
thinkpad_acpi.ko can't be automatically loaded as before.

Through debugging, we found the HKEY_HID is LEN0268 instead of
LEN0068 on those machines, and the MHKV is 0x200 instead of
0x100. So adding the new ID into the driver.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
(cherry picked from commit a3c42a467a254a17236ab817d5c7c6bc054e4f84)
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Acked-by: Colin King <colin.king@canonical.com>
Acked-by: Hui Wang <Wang <hui.wang@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/platform/x86/thinkpad_acpi.c