How to turn off and wake up display?
#14
(01-28-2016, 09:49 AM)patrickhwood Wrote:
(01-24-2016, 01:39 PM)JulianM Wrote: Hi Zoidiano0,

there are some apps in Google Play Store to get a "Knock Off" feature, which means you can turn off the screen by double-tap on it.
That's absolutely no problem and don't need any extra processor or battery usage.
This feature has also be implemented into CyanogenMod (since version 11? I don't know exactly).

The main "problem" in your topic is "Knock On".
The device needs an extra processor for this, if the battery should not drain.

But please come back to the main topic.
Feel free to contact me, if you have any questions about Android and Android-running devices Wink

Best regards
Julian

Most capacitive touch panels have an I2C interface and don't require any CPU resources other than an active IRQ to monitor touch events.  It's possible to put the CPU to sleep and leave the touch panel active with the touch panel's IRQ set to wake up the CPU on touch activity by calling enable_irq_wake().

The Solomon Systech driver here: https://github.com/patrickhwood/linux/bl.../ssd2543.c sets up the touch panel to wake up the android system on a touch interrupt.

Bingo, the TP (Touch Panel) port is a dedicated I2C with interrupt circuit.


Messages In This Thread
How to turn off and wake up display? - by JulianM - 01-24-2016, 12:09 PM
RE: How to turn off and wake up display? - by tllim - 01-28-2016, 04:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 How to turn the screen back on modsbyus 4 5,462 11-28-2017, 01:03 PM
Last Post: modsbyus
  display problem florianl 6 7,040 06-11-2016, 10:12 AM
Last Post: kiko
  turn off display after inactivity Blindstealer 3 4,888 06-05-2016, 05:18 AM
Last Post: dkryder
Question Wake on LAN (WOL) Tarjei85 2 3,797 05-20-2016, 04:36 PM
Last Post: Tarjei85
  Anyone seeing occasional display stuttering? rakib-hasan 2 3,261 04-29-2016, 05:43 AM
Last Post: tkaiser
  Display too large for TV slamminsalmon 1 2,799 04-04-2016, 10:54 PM
Last Post: arpanj2

Forum Jump:


Users browsing this thread: 1 Guest(s)