]> git.baikalelectronics.ru Git - kernel.git/commit
thinkpad_acpi: Add adaptive_kbd_mode sysfs attr
authorBastien Nocera <hadess@hadess.net>
Mon, 2 Mar 2015 13:45:27 +0000 (14:45 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 3 Mar 2015 17:00:08 +0000 (09:00 -0800)
commitcc9744cb551b52b6938427187207771aaa0b79d2
tree33d9de70fd13dcb99d9ae93b68ad000033f83906
parentde62da84c78433e0d0e3845e113dc9e4e8791eaa
thinkpad_acpi: Add adaptive_kbd_mode sysfs attr

Add a sysfs attribute to allow privileged users to change the keyboard
mode. This could be used by desktop environments to change the keyboard
mode depending on the application focused, as the Windows application
does.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c