View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#6
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
 

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