View Single Post
somedude's Avatar
Posts: 1,312 | Thanked: 736 times | Joined on Sep 2009
#7
Originally Posted by nicolai View Post
Hi,

"closed" means something covers the proximity sensor.

healthcheck and other applications read the
state of the proximity sensor from the sysfs.
This is a virtual filesystem where kernel drivers write
those information.
You can read the state of the proximity sensor with
Code:
cat /sys/devices/platform/gpio-switch/proximity/state
if the sensor is uncovered, the state should be "open".
btw it does not make sense (I don't know if it is even possible)
to write the state manually.

Do you use a screenprotector, some people have problems with
the proximity sensor and some screenprotector.

regards nicolai
I just got my phone back from Nokia because they replaced the whole screen due to pixel problems, so I do not have any kind of screen protector but I used to have it before I send it off. and now it seems to work but when I am in direct sunlight it doesnot work, and sometime even just a shadow will triger the proximity sensor.
 

The Following User Says Thank You to somedude For This Useful Post: