The Following User Says Thank You to somedude For This Useful Post: | ||
![]() |
2010-05-23
, 23:41
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#2
|
![]() |
2010-05-23
, 23:50
|
|
Posts: 1,312 |
Thanked: 736 times |
Joined on Sep 2009
|
#3
|
The Following User Says Thank You to somedude For This Useful Post: | ||
![]() |
2010-05-24
, 11:49
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#6
|
cat /sys/devices/platform/gpio-switch/proximity/state
The Following User Says Thank You to nicolai For This Useful Post: | ||
![]() |
2010-05-25
, 01:02
|
|
Posts: 1,312 |
Thanked: 736 times |
Joined on Sep 2009
|
#7
|
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
if the sensor is uncovered, the state should be "open".Code:cat /sys/devices/platform/gpio-switch/proximity/state
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 somedude For This Useful Post: | ||
I have already flashed the firmware and emmc no help so far.