You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are the steps I took to get the argon1_0.2.1_all.deb package working on DietPi V7.4.2.
All steps are done with the user dietpi sudo adduser pi Add user "pi". During the process, the password for the user "pi" is set mkdir download Create the directory "download" in the home directory of the user dietpi
Put the file "argon1_0.2.1_all.deb" on a USB stick formatted with FAT32 and plug it into the Rapberry Pi. sudo dietpi-drive_manager Mount the USB stick with the drive manager in a directory (for example -> /mnt/USB-stick).
USB-Stick ist mounted: sudo dietpi-software -> Browse Software -> select file manager "mc" (package no. 3) -> install. sudo mc Start the file manager
Use "mc" to copy the argon1_0.2.1_all.deb file from the USB stick to the "download" directory.
/mnt/USB-Stick/ -> /home/dietpi/download/
Leave "mc"
Install the following packages sudo apt-get install --reinstall python3-pkg-resources sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0 cd download Change to the "download" folder sudo apt install ./argon1_0.2.1_all.deb The fan control is installed sudo mc Mark the file /lib/python3/dist-packages/argonone/init.py -> Edit -> Select editor "nano".
The following entry must be changed in the file so that the fan also starts when the temperature is reached:
Old:
def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
# Could raise IOError, according to "official" scripts
self._bus.write_byte_data(_SMBUS_ADDRESS, register, int(value))
New:
def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
# Could raise IOError, according to "official" scripts
self._bus.write_byte_data(_SMBUS_ADDRESS, int(value), register) <-----
Ctrl & o -> Enter -> Ctrl & x Save the file under the same name and exit the editor
Leave "mc" sudo adduser dietpi argonone sudo reboot sudo cat /etc/group
• i2c has entered the user "argonone"
• gpio has entered the user "argonone"
• argonone has entered the user "pi" & "dietpi"
All of the following commands should now work without an error message argonctl speed argonctl temp argonctl pause argonctl set_speed 50 argonctl resume sudo systemctl status argonone looks like this now
I wish you success
The text was updated successfully, but these errors were encountered:
Here are the steps I took to get the argon1_0.2.1_all.deb package working on DietPi V7.4.2.
All steps are done with the user dietpi
sudo adduser pi
Add user "pi". During the process, the password for the user "pi" is setmkdir download
Create the directory "download" in the home directory of the user dietpiPut the file "argon1_0.2.1_all.deb" on a USB stick formatted with FAT32 and plug it into the Rapberry Pi.
sudo dietpi-drive_manager
Mount the USB stick with the drive manager in a directory (for example -> /mnt/USB-stick).USB-Stick ist mounted:
sudo dietpi-software
-> Browse Software -> select file manager "mc" (package no. 3) -> install.sudo mc
Start the file managerUse "mc" to copy the argon1_0.2.1_all.deb file from the USB stick to the "download" directory.
/mnt/USB-Stick/ -> /home/dietpi/download/
Leave "mc"
Install the following packages
sudo apt-get install --reinstall python3-pkg-resources
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
cd download
Change to the "download" foldersudo apt install ./argon1_0.2.1_all.deb
The fan control is installedsudo mc
Mark the file /lib/python3/dist-packages/argonone/init.py -> Edit -> Select editor "nano".The following entry must be changed in the file so that the fan also starts when the temperature is reached:
Old:
def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
# Could raise IOError, according to "official" scripts
self._bus.write_byte_data(_SMBUS_ADDRESS, register, int(value))
New:
def _bus_write(self, value: int, register: int = _SMBUS_REGISTER):
# Could raise IOError, according to "official" scripts
self._bus.write_byte_data(_SMBUS_ADDRESS, int(value), register) <-----
Ctrl & o -> Enter -> Ctrl & x Save the file under the same name and exit the editor
Leave "mc"
sudo adduser dietpi argonone
sudo reboot
sudo cat /etc/group
• i2c has entered the user "argonone"
• gpio has entered the user "argonone"
• argonone has entered the user "pi" & "dietpi"
All of the following commands should now work without an error message
argonctl speed
argonctl temp
argonctl pause
argonctl set_speed 50
argonctl resume
sudo systemctl status argonone
looks like this nowI wish you success
The text was updated successfully, but these errors were encountered: