summaryrefslogtreecommitdiffstats
path: root/Documentation/laptops
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-03-02 08:45:27 -0500
committerDarren Hart <dvhart@linux.intel.com>2015-03-03 12:00:08 -0500
commitb790ceeb0fd94725150219abd8c13b08a17a32e3 (patch)
tree33d9de70fd13dcb99d9ae93b68ad000033f83906 /Documentation/laptops
parentf74587fb9308dd6d4346180672d79b8a861f02dd (diff)
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>
Diffstat (limited to 'Documentation/laptops')
-rw-r--r--Documentation/laptops/thinkpad-acpi.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt
index fc04c14de4bb..72a150d8f3df 100644
--- a/Documentation/laptops/thinkpad-acpi.txt
+++ b/Documentation/laptops/thinkpad-acpi.txt
@@ -1355,6 +1355,24 @@ Sysfs notes:
1355 rfkill controller switch "tpacpi_uwb_sw": refer to 1355 rfkill controller switch "tpacpi_uwb_sw": refer to
1356 Documentation/rfkill.txt for details. 1356 Documentation/rfkill.txt for details.
1357 1357
1358Adaptive keyboard
1359-----------------
1360
1361sysfs device attribute: adaptive_kbd_mode
1362
1363This sysfs attribute controls the keyboard "face" that will be shown on the
1364Lenovo X1 Carbon 2nd gen (2014)'s adaptive keyboard. The value can be read
1365and set.
1366
13671 = Home mode
13682 = Web-browser mode
13693 = Web-conference mode
13704 = Function mode
13715 = Layflat mode
1372
1373For more details about which buttons will appear depending on the mode, please
1374review the laptop's user guide:
1375http://www.lenovo.com/shop/americas/content/user_guides/x1carbon_2_ug_en.pdf
1358 1376
1359Multiple Commands, Module Parameters 1377Multiple Commands, Module Parameters
1360------------------------------------ 1378------------------------------------