Closed rinigus closed 3 years ago
From spiiroin:
"classic" symptoms of stuck p-sensor... have you tried activating on-demand p-sensor use? e.g. https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/etc/mce/60-proximity-sensor-nile.conf
for testing: mcetool --set-ps-on-demand=enabled
The log looks very much like what would be expected if proximity sensor is incorrectly reporting "covered" state.
When there is a incoming call (uiexception_type = none -> call), display is turned on unless proximity sensor is reporting "covered" (or lid sensor is reporting "closed"). During incoming call power key press is reserved for silencing ringing -> that "call -> linger" transition on the 1st power key press. After that the 2nd press turns display on (by default power key turns display on regardless of p-sensor state).
@spiiroin, yes, makes sense.
Looks like we get it on some Tama variants. I have seen it on XZ2c, but not on XZ2. Had discussed it earlier at https://github.com/sailfishos-sony-tama/main/issues/47
I will write in the docs and users can enable it if they wish.
On 4.0.1.48, when calling phone, display is not always lid up
Failed, just on a table:
When having proximity closed and display turns on after releasing proximity
When on a table, but working:
Looks like this is missing in non-working case: