Initial revision fan control via sysfs and PWM

This commit is contained in:
2025-11-13 00:47:47 +01:00
parent fb21f1cda1
commit aae371b330
6 changed files with 1477 additions and 0 deletions

10
fancontrol/README.md Normal file
View File

@@ -0,0 +1,10 @@
# Pwm fan control for Instinct cards
## Setup
- Build with `cargo build --release`
- copy `target/release/amd_gpu_control` to `/usr/local/bin/`
- copy the systemd service file `instinct_control.service` to `/etc/systemd/system/`
- copy the config file `config.toml` to `/etc/instinct_control/` and customize
- verify pwm devices by hand
- ensure only root can write the config to prevent path injection
- `systemctl enable instinct_control.service`