gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/10-proximity.rules

6 lines
244 B
Plaintext
Raw Normal View History

2021-10-03 17:58:12 +02:00
# iio-sensor-proxy
# Set PROXIMITY_NEAR_LEVEL for iio-sensor-proxy to pick up the proximity sensor
# Set the sensor type for all the types we recognise
ACTION=="add", SUBSYSTEM=="iio", TEST=="in_proximity_raw", ENV{PROXIMITY_NEAR_LEVEL}="250"