answered
2017-06-12 11:01:01 +0200
Double tap detection is disabled while proximity sensor is reporting that it is "covered" -> double tap does not work but power button does work -> suggests proximity sensor issues.
If display does not get turned on when there is an incoming call -> can also be explained by misbehaving proximity sensor.
Using power key to force display unblanking should not hang up the call - just silence the ringing. You should still be able to answer the call from pull down menu.
Some more info/pointers at https://together.jolla.com/question/162138/cant-swith-on-the-display-to-end-a-call/
EDIT:
If cleaning the display / even the sensor does not help, you could try to manually adjust the parameters used by the dynamic thresholds algorithm by 1) wiping the sensor area clean 2) placing the phone in such place that the sensor
is not obstructed by anything 3) then executing something like the steps below as root user:
# cd /sys/devices/virtual/input/input10
# grep . prx_raw_polling prox_th_*default
prx_raw_polling:622
prox_th_max_default:907
prox_th_min_default:526
What one should have is:
prx_raw_polling < prox_th_min_default < prox_th_max_default < 1023
But instead there is (live example from my personal Jolla Phone with
proximity sensor issues):
622 < 526 < 907
Which does not add up (and the low/hight thresholds applied by the driver can leave the sensor stuck in the "uncovered" state).
After adjusting the prox_th_min_default to slightly larger value than
the sensor reading in supposedly uncovered state:
# echo > prox_th_min_default 700
Some sanity hopefully returns to the sensor behavior.
Note: That these changes are not persistent. Rebooting returns things back to defaults.
Have you run CSD Tool yet?, also, you can check with mcetool to see that Double Tap to wake is set to 'proximity'.
If you don't know how to get to CSD Tool, go to Settings/About product/ and tap 5 or more times on the text next to 'Build' - 'Accept' - and you're now in CSD Tool.
If you don't have mcetool installed, in terminal, type this;
Spam Hunter ( 2017-06-12 02:12:52 +0200 )editpkcon install mce-tools
. Once installed, in terminal again, typemcetool
and hit enter - you get output of all settings within. Double tap should be set to 'proximity'.is there any applied patches currently. in My phone also the double tap stopped working then removing auto rotate patch worked for me.
p_pahare ( 2017-06-12 09:29:16 +0200 )editYes I check with mcetool and "Double-tap wakeup policy" is set to "proximity" so I guess is right
Mr.Thumb ( 2017-06-16 10:37:54 +0200 )edit