This is Rust version of fan controller for Clevo NS50MU that was inspired by C++ versions of same:
git clone https://github.com/SanteriHetekivi/x11_edid_auto.git
cd clevo-ns50mu-fan-controller-rs
make all
This will:
- Build the src/main.rs file into target/release/ns50mu_fan_controller_rs and make it executable,
- Copy target/release/ns50mu_fan_controller_rs bin file into /usr/local/bin,
- Copy the service file NS50MU-fan-controller.service into /etc/systemd/system/,
- Enable the service at startup,
- Start the service.
You can now check that the service is running:
systemctl status NS50MU-fan-controller.service