platform/x86: thinkpad_acpi: set keyboard language
authorNitin Joshi <njoshi1@lenovo.com>
Mon, 25 Jan 2021 02:59:16 +0000 (11:59 +0900)
committerHans de Goede <hdegoede@redhat.com>
Mon, 25 Jan 2021 20:47:21 +0000 (21:47 +0100)
commitd7cbe2773aed0b636d48bb6795637eb486ecba6d
treec8bb9f88017e18020021b59d931b762fe9a35055
parentaecb925db7085265595e79fc3feccd184d14464b
platform/x86: thinkpad_acpi: set keyboard language

This patch is to create sysfs entry for setting keyboard language
using ASL method. Some thinkpads models like T580 , T590 , T15 Gen 1
etc. has "=", "(',")" numeric keys, which are not displaying correctly,
when keyboard language is other than "english".
This patch fixes this issue by setting keyboard language to ECFW.

Signed-off-by: Nitin Joshi <njoshi1@lenovo.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210125025916.180831-1-nitjoshi@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Documentation/admin-guide/laptops/thinkpad-acpi.rst
drivers/platform/x86/thinkpad_acpi.c