Proximity sensor always active - screen turns off randomly?
#1
I first thought there was some problem with my Pinephone's screen or its driver since it turns off randomly, e.g. while web browsing. After a while I realised that this happens when I have my fingers close to the top front of the phone - i.e. this is caused by the proximity sensor.

Has anyone else noticed this? Shouldn't the proximity sensor only be active during a phone call?
#2
(08-27-2020, 02:45 PM)bitnick Wrote: I first thought there was some problem with my Pinephone's screen or its driver since it turns off randomly, e.g. while web browsing. After a while I realised that this happens when I have my fingers close to the top front of the phone - i.e. this is caused by the proximity sensor.

Has anyone else noticed this? Shouldn't the proximity sensor only be active during a phone call?

I haven't noticed this but ill keep my eye out for it for sure! Might be a good one to add to the daily tests Im doing



EDIT/
I do see the same issue. the proximity sensor is always on
#3
I remember that we used the proximity sensor on the N900 as a button. Good times.
#4
This is a known issue in Phosh: https://source.puri.sm/Librem5/phosh/-/issues/273

Seems like the solution is to add a signal of some sort (dbus?) to let the calls app enable the sensor when it makes sense to do so.
#5
(08-27-2020, 02:45 PM)bitnick Wrote: I first thought there was some problem with my Pinephone's screen or its driver since it turns off randomly, e.g. while web browsing. After a while I realised that this happens when I have my fingers close to the top front of the phone - i.e. this is caused by the proximity sensor.

Has anyone else noticed this? Shouldn't the proximity sensor only be active during a phone call?
Sorry, I don't get how do you trigger this problem

I have been browsing and trying to get this effect, but it never turned it off.

Is this happening all the time? I cannot reproduce it.

thanks
#6
With the phone in portrait mode, if I have my fingers near the front top left area (left of the ear speaker, above the screen), the screen blanks. This is really not an issue in portrait mode, but in landscape mode my index finger often ends up there at rest. So it's quite annoying.
#7
I see now, yes it is very annoying. The link @bitnik provided is 6 months old and it doesn't look anything is done. I don't think to turn the sensor off should be the option if this also blocks fading when is need it.
#8
I have the same issue on pinephone CE with all the latest updates as of today. Anything hovering over the top left corner of the phone will activate the proximity sensor and dim the screen to black. The proximity censor should only be activated during an active phone call right?
#9
(09-10-2020, 05:46 PM)ergo owl Wrote: The proximity censor should only be activated during an active phone call right?

It *should* be that way yes, but for now phosh can't tell whether there's an active phone call or not.
#10
(09-10-2020, 05:46 PM)ergo owl Wrote: The proximity censor should only be activated during an active phone call right?
As the bug report says, the issue is a bit more complex than that. The sensor should be activated during a phone call, but not if using a headset or speaker phone. So only the call app knows when the sensor should be activated -> phosh needs to implement a signal of some sort which allows the call app to activate the sensor, and the call app needs to be made to send such a signal.

For those of us not using the phone for phonecalls, the sensor can apparently be set to be always disabled: https://forum.pine64.org/showthread.php?...6#pid77266 (I haven't had time to try it myself.)

Edit: Seems to work. Note that this most likely also disabled the ambient light sensor.


Possibly Related Threads…
Thread Author Replies Views Last Post
  sms app is outside of screen cant send sms right now.. quick fix? temp0rary 2 185 06-02-2021, 02:12 PM
Last Post: temp0rary
  vivaldi only uses half the screen for website display motox6 0 186 05-22-2021, 03:49 PM
Last Post: motox6
  Default SMS app send button off screen in vertical orientation motox6 0 163 05-22-2021, 02:55 PM
Last Post: motox6
  Mobian screen won't wake reliably. StridAst 5 675 05-05-2021, 12:07 PM
Last Post: motox6
  Anbox apps listed in the launch screen mark1250 1 480 03-17-2021, 02:23 PM
Last Post: tvall
  OpenTTD game - Error: no usable screen resolutions found. eugenr 2 492 03-15-2021, 11:16 AM
Last Post: eugenr
  Mobiian Community edition issue after spalsh screen ashley123 14 1,778 03-08-2021, 05:34 AM
Last Post: wibble
  eg25manager always turns on GPS when waking up from sleep dcinoz 5 724 02-21-2021, 05:06 PM
Last Post: dcinoz
Question Mobian screen dims JustineSmithies 12 5,560 01-18-2021, 08:54 AM
Last Post: fheuxjxhd
  screen goes blank when I insert pinephone dock, or usb-a to usb-c adaptor rp3 3 699 01-12-2021, 05:06 AM
Last Post: rp3

Forum Jump:


Users browsing this thread: 1 Guest(s)