# iio-sensor-proxy # Set PROXIMITY_NEAR_LEVEL for iio-sensor-proxy to pick up the proximity sensor # This is a temporary workaround until the next kernel release where the value # is provided via DT. # See https://lore.kernel.org/linux-iio/20211125125646.54831-1-nikita@trvn.ru/ # for related kernel changes. # Set the sensor type for all the types we recognise ACTION=="add", SUBSYSTEM=="iio", TEST=="in_proximity_raw", ENV{PROXIMITY_NEAR_LEVEL}="75"