jhnw / argonone-native-fan-controller Goto Github PK
View Code? Open in Web Editor NEWWritten in Rust fan control daemon for Argon One v2 case for Raspberry Pi 4B
License: MIT License
Written in Rust fan control daemon for Argon One v2 case for Raspberry Pi 4B
License: MIT License
Hey there - The original argon scripts were unreliable for me - spinning the fan when it shoudn't have been (according to my config).
I tried yours but get some odd behaviour
openhabian@openhab2:~/argon-one $ ./deploy.sh
openhabian@openhab2:~/argon-one $ /usr/bin/argon_fan_controller
-bash: /usr/bin/argon_fan_controller: No such file or directory
sudo systemctl restart argon_fan_controller
journalctl -u argon_fan_controller
Jul 30 20:12:57 openhab2 systemd[1]: Started Argon One Fan Open Source Controller Service.
Jul 30 20:12:57 openhab2 systemd[29231]: argon_fan_controller.service: Failed at step EXEC spawning /usr/bin/argon_fan_controller: No such file or directory
Jul 30 20:12:57 openhab2 systemd[1]: argon_fan_controller.service: Main process exited, code=exited, status=203/EXEC
Jul 30 20:12:57 openhab2 systemd[1]: argon_fan_controller.service: Failed with result 'exit-code'.
Jul 30 20:12:57 openhab2 systemd[1]: argon_fan_controller.service: Scheduled restart job, restart counter is at 5.
Jul 30 20:12:57 openhab2 systemd[1]: Stopped Argon One Fan Open Source Controller Service.
Jul 30 20:12:57 openhab2 systemd[1]: argon_fan_controller.service: Start request repeated too quickly.
Jul 30 20:12:57 openhab2 systemd[1]: argon_fan_controller.service: Failed with result 'exit-code'.
Jul 30 20:12:57 openhab2 systemd[1]: Failed to start Argon One Fan Open Source Controller Service.
ls -l /usr/bin/argon_fan_controller
-rwxr-xr-x 1 root root 424216 Jul 30 17:40 /usr/bin/argon_fan_controller
ie: The file is there but if I try and execute it - it can't be found?
It's a Raspberry Pi 4 running Openhabian.
Any ideas? ๐ค
I'm using the binary downloaded from releases
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1800.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
L1d cache: 128 KiB
L1i cache: 192 KiB
L2 cache: 1 MiB
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Vulnerable
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fp asimd evtstrm crc32 cpuid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.