Screen powers on when menu/back capacitive buttons or volume keys are touched
What problem did you encounter
Old phones like the Galaxy S2 have capacitive-touch front buttons. When the phone is locked, touching these buttons causes the screen to turn ON.
This is a problem as capacitive buttons are very easy to trigger, e.g. when the phone is in a pocket.
How to reproduce
On a phone with back/menu buttons, touch them while the screen is off.
On a phone without these buttons, I believe you can test it by using uinput to inject KEY_MENU
/ KEY_BACK
.
What is the (wrong) result?
The screen turns on as soon as the capacitive buttons are touched.
What is the expected behaviour?
The screen should not turn on. Phosh should ignore KEY_MENU
/ KEY_BACK
.
Context
Which version did you encounter the bug in?
-
I Compiled it myself. If you compiled phosh from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below. -
I used the precompiled Debian package (e.g. by running a prebuilt image). Please paste the output oof dpkg -s phosh
below.
Phosh Version: 0.36
How are you running phosh?
-
PureOS amd64 qemu image -
Mobile phone (model: samsung-i9100 (Galaxy S2) , operating system version: PostmarketOS Edge) -
Librem5 devkit -
nested compositor. If so please give the full command you start phosh with. -
other (please elaborate)
Releveant logfiles
Please provide relevant logs. You can e.g. the logs since last boot read
with journalctl -b 0
.