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
-
- Posts: 4
- Joined: Mon Feb 24, 2020 4:44 pm
-
- Posts: 4
- Joined: Mon Feb 24, 2020 4:44 pm
Re: Script for Argon one pi4 fan ???
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
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

Re: Script for Argon one pi4 fan ???
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..
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..

Re: Script for Argon one pi4 fan ???
tommy@RPi4-Manjaro ~]$ 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.
[tommy@RPi4-Manjaro ~]$
Don't know how to fix it...any help appreciated
[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.
[tommy@RPi4-Manjaro ~]$
Don't know how to fix it...any help appreciated
Re: Script for Argon one pi4 fan ???
Sorry, I can't help you. It just works here.
How does you /etc/argononed.conf file look like?
How does you /etc/argononed.conf file look like?
Re: Script for Argon one pi4 fan ???
I've solved it..needed to install:
yay -S raspberrypi-userland-aarch64-git
works perfectly now!
yay -S raspberrypi-userland-aarch64-git
works perfectly now!
-
- Posts: 4
- Joined: Mon Feb 24, 2020 4:44 pm
Re: Script for Argon one pi4 fan ???
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 !!!
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 !!!
Re: Script for Argon one pi4 fan ???
Here is the proper way to install script for Argon One case running on Manjaro ARM both KDE Plasma and XFCE:
git clone https://github.com/Elrondo46/argonone.git
cd argonone
sudo pacman -S base-devel (to install some missing packages)
makepkg -si
yay -S raspberrypi-userland-aarch64-git
sudo systemctl enable argononed.service
sudo reboot
Make sure you put this in config.txt on boot partition before rebooting :
dtparam=i2c_arm=on
dtparam=i2c-1=on
enable_uart=1
Also I forgot to mention that the ' enable_uart=1 ' in /boot/config.txt in conjunction with having ' kgdboc=ttyAMA0,115200 ' mentioned in /boot/cmdline does crash the kernel (kernel panic) so please check for this if you are planning on automatically add the uart-option to /boot/config.txt.I did fix this by removing ' kgdboc=ttyAMA0,115200 ' from my /boot/cmdline.
If you have a problem with shuting down when the power isn't cut as it should (power led still working, after pi shutdown), you need to change in ' /usr/lib/systemd/system-shutdown/argononed-poweroff.py ' the following:
Line 20
bus.write_byte_data(0x1a,0,0) to looks like this..
hope this help
git clone https://github.com/Elrondo46/argonone.git
cd argonone
sudo pacman -S base-devel (to install some missing packages)
makepkg -si
yay -S raspberrypi-userland-aarch64-git
sudo systemctl enable argononed.service
sudo reboot
Make sure you put this in config.txt on boot partition before rebooting :
dtparam=i2c_arm=on
dtparam=i2c-1=on
enable_uart=1
Also I forgot to mention that the ' enable_uart=1 ' in /boot/config.txt in conjunction with having ' kgdboc=ttyAMA0,115200 ' mentioned in /boot/cmdline does crash the kernel (kernel panic) so please check for this if you are planning on automatically add the uart-option to /boot/config.txt.I did fix this by removing ' kgdboc=ttyAMA0,115200 ' from my /boot/cmdline.
If you have a problem with shuting down when the power isn't cut as it should (power led still working, after pi shutdown), you need to change in ' /usr/lib/systemd/system-shutdown/argononed-poweroff.py ' the following:
Line 20
bus.write_byte_data(0x1a,0,0) to looks like this..
hope this help
-
- Posts: 4
- Joined: Mon Feb 24, 2020 4:44 pm
Re: Script for Argon one pi4 fan ???
Thank you very much i'll try to solve the led still working even the shutdown, i promise i'll tell you as soon as i can.
Re: Script for Argon one pi4 fan ???
Hope u'll solve it...just go to /usr/lib/systemd/system-shutdown/argononed-poweroff.py open it in text editor and change the Line 20 to look like this:Alexandrapi4 wrote: ↑Wed Apr 22, 2020 1:04 pmThank you very much i'll try to solve the led still working even the shutdown, i promise i'll tell you as soon as i can.
bus.write_byte_data(0x1a,0,0)
Now the power led will power off when you shutdown your pi..
-
- Posts: 1
- Joined: Sun May 10, 2020 4:59 am
Re: Script for Argon one pi4 fan ???
Does anyone know how I can make this work for Ubuntu?
Re: Script for Argon one pi4 fan ???
I would also love to know how to get this working in Ubuntu.
Re: Script for Argon one pi4 fan ???
Sort-of update:
I shot their customer support mailbox an email to ask if there were any plans to make an Ubuntu-friendly version of the script. Their response:

In the meantime you'll have to wait for their official script or for some enthusiast to cobble one together.
I shot their customer support mailbox an email to ask if there were any plans to make an Ubuntu-friendly version of the script. Their response:

In the meantime you'll have to wait for their official script or for some enthusiast to cobble one together.
-
- Posts: 2
- Joined: Thu Jun 11, 2020 6:05 pm
Re: Script for Argon one pi4 fan ???
Removed, double post. See post below.
Last edited by drlemon3000 on Fri Jun 12, 2020 7:35 am, edited 2 times in total.
-
- Posts: 2
- Joined: Thu Jun 11, 2020 6:05 pm
Re: Script for Argon one pi4 fan ???
I adapted the original script to work on Ubuntu 20.04. You can find it on my github.
https://github.com/meuter/argon-one-case-ubuntu-20.04
Everything seems to work as advertised:
- double press of the power button reboots the board cleanly
- 3 second press of the power button shuts the board down cleanly
- using argonone-config, you can turn on the fan directly; works as expected
- using argonone-config, you can input new value for the fan curve to update the fan curve
- the service is registered so it starts automatically on boot.
Enjoy!
https://github.com/meuter/argon-one-case-ubuntu-20.04
Everything seems to work as advertised:
- double press of the power button reboots the board cleanly
- 3 second press of the power button shuts the board down cleanly
- using argonone-config, you can turn on the fan directly; works as expected
- using argonone-config, you can input new value for the fan curve to update the fan curve
- the service is registered so it starts automatically on boot.
Enjoy!
-
- Posts: 1
- Joined: Sat Jun 13, 2020 1:18 pm
Re: Script for Argon one pi4 fan ???
hectorkvs wrote: ↑Wed Apr 22, 2020 1:59 amHere is the proper way to install script for Argon One case running on Manjaro ARM both KDE Plasma and XFCE:
git clone https://github.com/Elrondo46/argonone.git
cd argonone
sudo pacman -S base-devel (to install some missing packages)
makepkg -si
yay -S raspberrypi-userland-aarch64-git
sudo systemctl enable argononed.service
sudo reboot
Make sure you put this in config.txt on boot partition before rebooting :
dtparam=i2c_arm=on
dtparam=i2c-1=on
enable_uart=1
Also I forgot to mention that the ' enable_uart=1 ' in /boot/config.txt in conjunction with having ' kgdboc=ttyAMA0,115200 ' mentioned in /boot/cmdline does crash the kernel (kernel panic) so please check for this if you are planning on automatically add the uart-option to /boot/config.txt.I did fix this by removing ' kgdboc=ttyAMA0,115200 ' from my /boot/cmdline.
If you have a problem with shuting down when the power isn't cut as it should (power led still working, after pi shutdown), you need to change in ' /usr/lib/systemd/system-shutdown/argononed-poweroff.py ' the following:
Line 20
bus.write_byte_data(0x1a,0,0) to looks like this..
hope this help
After the "sudo pacman -S base-devel" command, it returns "impossible to download the pkg. the requested URL returned error: 404".
Any way to solve this issue?
Thanks in advance
Re: Script for Argon one pi4 fan ???
Fan control and power button worked perfectly on my Ubuntu Server 18.04 x MATEdrlemon3000 wrote: ↑Thu Jun 11, 2020 6:18 pmI adapted the original script to work on Ubuntu 20.04. You can find it on my github.
https://github.com/meuter/argon-one-case-ubuntu-20.04
Everything seems to work as advertised:
- double press of the power button reboots the board cleanly
- 3 second press of the power button shuts the board down cleanly
- using argonone-config, you can turn on the fan directly; works as expected
- using argonone-config, you can input new value for the fan curve to update the fan curve
- the service is registered so it starts automatically on boot.
Enjoy!

Thanks for the great work!!
(didn't get to test the GPIO pins though... )
Re: Script for Argon one pi4 fan ???
Yes, Hello, I also use "Manjaro arm", and I also have an aluminum alloy case, that is "Argon one", I installed the driver for fan control, from the" AUR " repository,it is fully functional,everything works,
but for some reason it does not start when you turn on the computer and I have to turn it on manually, could you help me how to add it to the initial system boot. Thank you for your answer =)
but for some reason it does not start when you turn on the computer and I have to turn it on manually, could you help me how to add it to the initial system boot. Thank you for your answer =)
Re: Script for Argon one pi4 fan ???
I don't think this is a software issue. It is by design. It happens for me too with Ubuntu, but I suspect it would happen on Raspberry OS too.Alex3500 wrote: ↑Thu Aug 20, 2020 9:19 amYes, Hello, I also use "Manjaro arm", and I also have an aluminum alloy case, that is "Argon one", I installed the driver for fan control, from the" AUR " repository,it is fully functional,everything works,
but for some reason it does not start when you turn on the computer and I have to turn it on manually, could you help me how to add it to the initial system boot. Thank you for your answer =)
Aside from that, I am curious about the shutdown script - it seems to take the system down really fast so I am a little skeptical about how it's powering off the system.
Re: Script for Argon one pi4 fan ???
Does anyone know of the same script for android?
Re: Script for Argon one pi4 fan ???
Do you know if this modified Argon One script will work on Ubunto 20.10? Please advise, thanks.drlemon3000 wrote: ↑Thu Jun 11, 2020 6:18 pmI adapted the original script to work on Ubuntu 20.04. You can find it on my github.
https://github.com/meuter/argon-one-case-ubuntu-20.04
Everything seems to work as advertised:
- double press of the power button reboots the board cleanly
- 3 second press of the power button shuts the board down cleanly
- using argonone-config, you can turn on the fan directly; works as expected
- using argonone-config, you can input new value for the fan curve to update the fan curve
- the service is registered so it starts automatically on boot.
Enjoy!
-
- Posts: 1415
- Joined: Tue Mar 20, 2018 9:53 pm
Re: Script for Argon one pi4 fan ???
If you want something that works for multiple platforms I have good coverage with my project https://gitlab.com/DarkElvenAngel/argononed
I use C and not Python so my project will run on more operating systems. There is a topic here viewtopic.php?f=29&t=275713 where you can learn more.
I use C and not Python so my project will run on more operating systems. There is a topic here viewtopic.php?f=29&t=275713 where you can learn more.
Re: Script for Argon one pi4 fan ???
Hi, I'm new to the Raspberry pi and Linux and have just bought a Pi 4 and ArgonOne M.2 case so this is perfect since I am trying to set up Manjaro on it. I have got as far as cloning the repo but can not work out how I use the "./configure && make all && sudo make install" command or where I run it from. Any help would be greatly appreciated.
-
- Posts: 1415
- Joined: Tue Mar 20, 2018 9:53 pm
Re: Script for Argon one pi4 fan ???
Once you clone the repo you dodeanjm68 wrote: ↑Fri Nov 27, 2020 12:00 pmHi, I'm new to the Raspberry pi and Linux and have just bought a Pi 4 and ArgonOne M.2 case so this is perfect since I am trying to set up Manjaro on it. I have got as far as cloning the repo but can not work out how I use the "./configure && make all && sudo make install" command or where I run it from. Any help would be greatly appreciated.
Code: Select all
cd argononed
Code: Select all
./configure && make all && sudo make install
That's it