diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-09-15 23:07:31 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-09-15 23:07:40 +0200 |
| commit | f39e10ca57a404f36a9657527969720a1b61b3d6 (patch) | |
| tree | 56a14e487e48a5ac01c290bc1e8ed0c81a573d21 | |
| parent | 8fb95d8d39ead922f37f13634476693973d2607f (diff) | |
| download | pinephone-scripts-f39e10ca57a404f36a9657527969720a1b61b3d6.tar.gz | |
Add 10-proximity.rules
This file fixes a flashing screen during calls even if no objects are
near to the proximity sensor.
| -rw-r--r-- | 10-proximity.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/10-proximity.rules b/10-proximity.rules new file mode 100644 index 0000000..8862aab --- /dev/null +++ b/10-proximity.rules @@ -0,0 +1,7 @@ +# Copy into /etc/udev/rules.d/10-proximity.rules + +# # 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}="50" |
