diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-01-20 15:34:41 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-01-24 13:41:13 +0100 |
commit | fdcc0602d64f22185f61c70747214b630049cc33 (patch) | |
tree | 1a1d032c05aa7293abc862baf8fa69c4d43294c8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a410429a3b7e748a9db9f357e71e2e085a21c902 (diff) |
platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting
Commit 1ea0d3b46798 ("platform/x86: asus-wmi: Simplify tablet-mode-switch
handling") unified the asus-wmi tablet-switch handling, but it did not take
into account that the value returned for the kbd_dock_devid WMI method is
inverted where as the other ones are not inverted.
This causes asus-wmi to report an inverted tablet-switch state for devices
which use the kbd_dock_devid, which causes libinput to ignore touchpad
events while the affected T10x model 2-in-1s are docked.
Add inverting of the return value in the kbd_dock_devid case to fix this.
Fixes: 1ea0d3b46798 ("platform/x86: asus-wmi: Simplify tablet-mode-switch handling")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230120143441.527334-1-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions