spapadim / argon1

Rewrite of Argon One case fan and button support
MIT License
82 stars 16 forks source link

Argon One fan control installation on Ubuntu v21.04 with solution #16

Open HugoFroh opened 3 years ago

HugoFroh commented 3 years ago

Here are the steps I took to get the .deb package to work on ubuntu V21.04. sudo apt update sudo apt upgrade User "pi" will be created sudo adduser pi The group "gpio" will be created sudo addgroup gpio The package for gpio will be installed sudo apt install python3-lgpio Save the file "argon1_0.2.1_all.deb" from the github page https://github.com/spapadim/argon1 in the directory "Downloads" on the raspberry pi. Change to the "Downloads" directory. cd Downloads Confirm the queries with Yes and OK sudo apt install ./argon1_0.2.1_all.deb sudo apt install rpi.gpio-common -> Has already been up to date with me Add users to the "dialout" group sudo adduser {USER} dialout -> {USER} = current user sudo adduser argonone dialout sudo adduser pi dialout cd /lib/python3/dist-packages/argonone/ sudo nano __init__.py Open file with editor Important!! Make the change according to Post # 14 and save the file under the same name. reboot After the restart, enter the following command to check sudo systemctl status argonone -> quit with q There should be a green dot in the output and no error message Dämon With that the demon runs! The function can now be tested with the argonctl {xyz} commands, see original description. Have fun testing.

elpraga commented 2 years ago

I'm trying to get it working on Ubuntu 20.04 following your guide, but the crucial step is missing as comment 14 is not here...

HugoFroh commented 2 years ago

Hello elpraga, please look under the "Issues" for the following entry -> "FAN is not turned on for V2 case (normal HDMI)#14" Please make the changes specified here. I wish you success.