diff options
author | Alexander Kobel <[email protected]> | 2021-02-13 16:13:36 +0100 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2021-03-08 11:33:38 +0100 |
commit | 0a053f01fe6d7f92d36b5db1bcdbfc4f71e2bce0 (patch) | |
tree | e431d92f7a62a2d0bda658c82d1c3def4c24ab40 /tools/perf/scripts/python/syscall-counts.py | |
parent | 03ee318391707e822eb915f4f30fe42c78b9d89b (diff) |
platform/x86: thinkpad_acpi: Handle keyboard cover attach/detach events
Those events occur when a keyboard cover is attached to a ThinkPad
X1 Tablet series device. Typically, they are used to switch from normal
to tablet mode in userspace; e.g., to offer touch keyboard choices when
focus goes to a text box and no keyboard is attached, or to enable
autorotation of the display according to the builtin orientation sensor.
intel-vtbn already recognizes those events. To avoid sending duplicate
events to userspace, they are simply ignored. Thus, this patch only
avoids warnings about unknown and unhandled HKEYs 0x4012 and 0x4013.
For more information about the background and potential improvements for
different types of attachment options, such as the Pico cartridge dock
module, see
https://lore.kernel.org/platform-driver-x86/[email protected]/
Signed-off-by: Alexander Kobel <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions