Double tap to wake optionality
From: David Heidelberg <david@ixit.cz>
Date: 2026-09-06 22:02:15
Hello!
Most of touchscreens has ability to jump into low power mode and get woken up by
gesture (such as double tap).
I wonder about suggestion what property should drivers use to implement this
policy where driver doesn't have to jump into low-power mode but completely
power-off (and save battery). My thinking was something such as
/sys/class/input/inputX/gesture_to_wake
(while gesture sounds a bit weird, it seems that TS are capable to recognize
different patterns, not only double-tap).
userspace
│
│ gesture_to_wake = 1
▼
touchscreen driver
│
┌────────────┴────────────┐
│ │
gesture ON gesture OFF
│ │
▼ ▼
low-power TS mode complete power-off
│
▼
IRQ configured
as wake source
Thanks
David