You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,9 @@ You can use Amdfan to monitor your AMD video cards using the `monitor` flag. Thi
68
68
69
69
## Configuration
70
70
71
-
Running `amdfan print-default --configuration` will dump out the default configuration that would get generated for `/etc/amdfan.yml` when you first run it as a service. Commented
71
+
Running `amdfan print-default --configuration` will dump out the default configuration that would get generated for `/etc/amdfan.yml` when you first run it as a service. If a value is not specified, it will use a default value if possible.
72
72
73
+
The following config is probably a reasonable setup:
73
74
```bash
74
75
speed_matrix:
75
76
- [4, 4]
@@ -87,12 +88,13 @@ frequency: 5
87
88
# cards:
88
89
# - card0
89
90
```
90
-
You can use this to generate your configuration by doing `amdfan print-default --configuration | sudo tee amdfan.yml`, which you can manually edit.
91
91
92
-
`speed_matrix` (required): a list of thresholds [temperature, speed] which are interpolated to calculate the fan speed.
93
-
`threshold` (default `0`): allows for some leeway in temperatures, as to not constantly change fan speed
94
-
`frequency` (default `5`): how often (in seconds) we wait between updates
95
-
`cards` (required): a list of card names (from `/sys/class/drm`) which we want to control.
92
+
If a configuration file is not found, a default one will be generated. If you want to make any changes to the default config before running it the daemon first, run `amdfan print-default --configuration | sudo tee /etc/amdfan.yml` and do your changes from there.
93
+
94
+
-`speed_matrix` (required): a list of thresholds `[temperature, speed]` which are interpolated to calculate the fan speed.
95
+
-`threshold` (default `0`): allows for some leeway in temperatures, as to not constantly change fan speed
96
+
-`frequency` (default `5`): how often (in seconds) we wait between updates
97
+
-`cards` (required): a list of card names (from `/sys/class/drm`) which we want to control.
96
98
97
99
Note! You can send a SIGHUP signal to the daemon to request a reload of the config without restarting the whole service.
0 commit comments