Touchscreen re-enabled when display is off/blanked after some period of time
Describe your issue
When the display on the Pinephone is blanked/turned off (e.g. either after idling for 5 minutes or by hitting the power button once), the touchscreen is not responsive, as expected, but it suddenly becomes responsive after a few minutes. This allows the display to be turned back on just by touching the touchscreen.
What's the expected behaviour?
When the display is turned off, the touchscreen controller should not be registering key pressed.
What's the current behaviour?
When the display is off, the touchscreen controller starts registering key presses automatically on its own after some time.
How to reproduce your issue?
Run Phosh, let device idle (or hit power button) to turn off display. Notice that touching the panel does not wake the screen. Wait a few minutes, tap the panel, and the screen is turned back on.
What device are you using?
Pinephone 1.2a
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
stable ( v20.05
branch)
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in dd-mm-yyyy format)
12-09-2020, but upgraded as recently as today (15-09-2020
Additional information
Kernel 5.8, but noticed on earlier 5.7 kernel too.
This seems exactly like the issue described here: https://source.puri.sm/Librem5/phosh/-/issues/350
But that was closed by upstream/phosh as not a phosh issue. I'm still looking for some logs that might give more info... dmesg
, xsession-errors
, and syslog/logread don't print anything when the touch controller wakes up again.