Linux Input/HID development
 help / color / mirror / Atom feed
* Double tap to wake optionality
@ 2026-09-06 22:02 David Heidelberg
  2026-09-13 23:33 ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: David Heidelberg @ 2026-09-06 22:02 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-21 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06 22:02 Double tap to wake optionality David Heidelberg
2026-09-13 23:33 ` Dmitry Torokhov
2026-09-21 11:19   ` David Heidelberg
2026-09-21 16:20     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox