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

6 lines
244 B
Plaintext
Executable File

# 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"