JhnW / ArgonOne-Native-Fan-Controller

Written in Rust fan control daemon for Argon One v2 case for Raspberry Pi 4B
MIT License
20 stars 4 forks source link
argon deamon raspberry-pi rust

ArgonOne-Native-Fan-Controller

Written in Rust fan control daemon for Argon One v2 case for Raspberry Pi 4B. Fully native - unlike the official vendor controller which is just a python script. Easy to integrate with your operating system image building tools.

How to use

In the releases tab there are already built files for Linux along with some supporting files. Archive contains a variant that uses the configuration file (please check argon_fan_controller_cfg.yml). To build another feature variant, check how to build.

The repository and build artifacts contain several additional files:

How to build

You need install on your operating system gcc aarch64 toolchain. Rust need gcc linker for that architecture. Next just write for standard build:

cargo build --target aarch64-unknown-linux-gnu --release

or for build without configuration file reading

cargo build --target aarch64-unknown-linux-gnu --release --no-default-features