Alexandrapi4
Posts: 3
Joined: Mon Feb 24, 2020 4:44 pm

Script for Argon one pi4 fan ???

Mon Feb 24, 2020 5:33 pm

Hello i have a argon one case with fan built inside for pi4.
I am using Manjaro KDE Os
There is a downloable script to activate the fan, but unfortunatly it is only writed for raspian os, so it doesn't work and i haven't no cpu refresh. I have tried to modify it and succeded to run a few part but it fails to call i think raspian specific command like vcgencmd. I haven't enough coding skills in bash or python to adapt and make it working.
I have write to argon. com but nothing at the moment.
Here is the link to download the bash script : https://download.argon40.com/argon1.sh
Are there talented persons able to adapt this script for Manjaro ??
In advance thanks


Alexandrapi4
Posts: 3
Joined: Mon Feb 24, 2020 4:44 pm

Re: Script for Argon one pi4 fan ???

Wed Feb 26, 2020 12:10 pm

Hello,
Thanks for your link, in fact i ve already found it but i am a beginner in scripting, even reading at the doc, i am not sure how to properly install it.
Please could you tell me how to procede step by step ?
It will be kind of you ;)

hectorkvs
Posts: 22
Joined: Tue Jan 21, 2020 1:23 pm

Re: Script for Argon one pi4 fan ???

Thu Mar 05, 2020 12:45 pm

I've tried this :

git clone https://github.com/Elrondo46/argonone.git
cd argonone
sudo pacman -S base-devel (to install some missing packages)
makepkg -si
sudo systemctl enable argononed.service
sudo reboot

Everything installed properly, can access argonone-config from terminal, but fan still doesn't work..:-(

hectorkvs
Posts: 22
Joined: Tue Jan 21, 2020 1:23 pm

Re: Script for Argon one pi4 fan ???

Thu Mar 05, 2020 1:22 pm

[email protected] ~]$ sudo systemctl status argononed.service
[sudo] password for tommy:
● argononed.service - Argon One Fan and Button Service
Loaded: loaded (/usr/lib/systemd/system/argononed.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-03-05 14:19:49 CET; 48s ago
Process: 1197 ExecStart=/opt/argonone/bin/python3 /opt/argonone/bin/argononed.py (code=exited, status=1/FAILURE)
Main PID: 1197 (code=exited, status=1/FAILURE)

Mar 05 14:19:49 RPi4-Manjaro systemd[1]: argononed.service: Scheduled restart job, restart counter is at 5.
Mar 05 14:19:49 RPi4-Manjaro systemd[1]: Stopped Argon One Fan and Button Service.
Mar 05 14:19:49 RPi4-Manjaro systemd[1]: argononed.service: Start request repeated too quickly.
Mar 05 14:19:49 RPi4-Manjaro systemd[1]: argononed.service: Failed with result 'exit-code'.
Mar 05 14:19:49 RPi4-Manjaro systemd[1]: Failed to start Argon One Fan and Button Service.
[[email protected] ~]$

Don't know how to fix it...any help appreciated

Solskogen
Posts: 24
Joined: Tue Sep 27, 2016 6:07 am

Re: Script for Argon one pi4 fan ???

Fri Mar 06, 2020 1:59 pm

Sorry, I can't help you. It just works here.

How does you /etc/argononed.conf file look like?

hectorkvs
Posts: 22
Joined: Tue Jan 21, 2020 1:23 pm

Re: Script for Argon one pi4 fan ???

Fri Mar 06, 2020 7:48 pm

I've solved it..needed to install:

yay -S raspberrypi-userland-aarch64-git

works perfectly now!

Alexandrapi4
Posts: 3
Joined: Mon Feb 24, 2020 4:44 pm

Re: Script for Argon one pi4 fan ???

Sun Mar 08, 2020 7:44 pm

Hello all !
Thank you very much hectorkvs, i've installed too yay first, then i've type your command to install raspberrypi-userland.
I've done this : systemctl enable argononed.service
sudo reboot
and it works !!!

Return to “Arch”