Skip to content

Commit 68afc98

Browse files
authored
Merge pull request #12 from fabwu/patch-1
Add udev rule for perf_mode
2 parents 27987d2 + 5a87cb0 commit 68afc98

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ For this tool to work, you need a recent version of the [surface-sam module][sur
3737
Have a look at the [releases](https://github.com/linux-surface/surface-control/releases) page.
3838
Pre-built packages are available for Debian (Ubuntu, ...), whereas PKGBUILDs for Arch Linux are in the AUR (`surface-control`).
3939

40+
_Hint_: Add the following udev rule to change performance mode as a normal user
41+
```
42+
KERNEL=="01:03:01:00:01", SUBSYSTEM=="surface_aggregator", RUN+="/usr/bin/chmod 666 /sys/bus/surface_aggregator/devices/01:03:01:00:01/perf_mode"
43+
```
44+
4045
## Building from Source
4146

4247
Building this application from source follows the standard rust procedure, i.e. simply call `cargo build --release --locked` for a release-ready executable.

0 commit comments

Comments
 (0)