PinePhone: Difference between revisions
imported>Tom Add section on sensors |
imported>Samueldr m Use the existing iio service |
||
| Line 88: | Line 88: | ||
=== Sensors === | === Sensors === | ||
The acceleration, compass, and ambient light sensors provide working auto-rotation, compass, and auto-brightness, when you: | The acceleration, compass, and ambient light sensors provide working auto-rotation, compass, and auto-brightness, when you: | ||
* {{pull|131094|iio-sensor-proxy: new service}} | * <del>{{pull|131094|iio-sensor-proxy: new service}}</del> | ||
* | * Use the following configuration snippet: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
hardware.sensor.iio.enable = true; | |||
</syntaxhighlight> | </syntaxhighlight> | ||