This project is archived. Its data is read-only.
Can proximity sensor sensitivity be changed?
in_proximity_nearlevel seems to be so low that the proximity sensor almost always triggers a screen blank when I place a call - even if the phone is laying on a desk with nothing within several feet of the PinePhone screen. When putting my hand over the sensor in_proximity_raw will go over 400 but I've never seen it lower than 17. I do have the original screen protector on the screen. ``` $ grep . /sys/bus/iio/devices/iio\:device*/in_proximity_{nearlevel,raw} /sys/bus/iio/devices/iio:device0/in_proximity_nearlevel:15 /sys/bus/iio/devices/iio:device0/in_proximity_raw:17 ``` I've tried echoing a new value but it fails. ``` root@pine:~# echo 20 > /sys/bus/iio/devices/iio:device0/in_proximity_nearlevel -bash: /sys/bus/iio/devices/iio:device0/in_proximity_nearlevel: Permission denied ```
issue