diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-01-30 15:47:22 -0800 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-05-23 11:56:45 -0700 |
commit | b418f74170d7e066bad802e8563cabdb1b6032c6 (patch) | |
tree | 1cffc92b0d868b6aa741037004f3b8ee874bddd4 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b410b1226620b6c959f1e9c87529acd058e90caf (diff) |
platform: chrome: Add Tablet Switch ACPI driver
Add a kernel driver for GOOG0006, an ACPI driver reporting an event when
the tablet switch status changes.
On an ACPI based convertible chromebook check evtest display tablet mode
switch changes:
Available devices:
..
/dev/input/event3: Tablet Mode Switch
..
Testing ... (interrupt to exit)
Event: time 1484879712.604360, type 5 (EV_SW), code 1 (SW_TABLET_MODE),
value 1
Event: time 1484879712.604360, -------------- SYN_REPORT ------------
Event: time 1484879715.132228, type 5 (EV_SW), code 1 (SW_TABLET_MODE),
value 0
Event: time 1484879715.132228, -------------- SYN_REPORT ------------
...
Check state is updated at resume time when different from suspend time.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions