android_kernel_xiaomi_sm8350/Documentation/laptops
Henrique de Moraes Holschuh 6c231bd5eb ACPI: thinkpad-acpi: add tablet-mode reporting
A quick study of the 0x5009/0x500A HKEY event on the X61t DSDT revealed the
existence of the EC HTAB register (EC 0x0f, bit 7), and a compare with the
X41t DSDT shows that HKEY.MHKG can be used to verify if the ThinkPad is
tablet-capable (MHKG present), and in tablet mode (bit 3 of MHKG return is
set).

Add an attribute to report this information, "hotkey_tablet_mode".  This
attribute has poll()/select() support, and can be used along with EV_SW
SW_TABLET_MODE to hook userspace to tablet events.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-16 00:34:06 -05:00
..
00-INDEX acer-wmi - Add documentation 2008-02-09 04:16:07 -05:00
acer-wmi.txt acer-wmi - Add documentation 2008-02-09 04:16:07 -05:00
sony-laptop.txt sony-laptop - Move sony-laptop.txt to Documentation/laptops 2008-02-09 04:15:40 -05:00
sonypi.txt sonypi - Move sonypi.txt to Documentation/laptops 2008-02-09 04:15:53 -05:00
thinkpad-acpi.txt ACPI: thinkpad-acpi: add tablet-mode reporting 2008-02-16 00:34:06 -05:00