*** THIS CODE IS ARCHIVED AND NO LONGER MAINTAINED ***
This Arch Linux Package installs all needed scripts and services and configures a Raspberry Pi 3B/3B+ for Argon ONE Mini Computer Case. Raspberry Pi 4B is also supported, but you need use a different branch, which has been patched just for this SBC (scroll down to check out notes).
Here are some notes about the Raspberry Pi 3B/3B+ installation procedure.
- Clone the repository or just download PKGBUILD and argonone.install files
makepkg --install
These are the steps that the installation takes
Install:
pacman -S --needed i2c-tools lm_sensorsEdit /boot/config.txt and add (if needed):
dtparam=i2c_arm=on
dtparam=i2c-1=onEdit /etc/modules-load.d/raspberrypi.confand add (if needed):
i2c-dev
i2c-bcm2835You must reboot for these changes to take effect.
Create a new Python virtual environment (version 3.3 or higher):
python -m venv --clear /opt/argonone
source /opt/argonone/bin/activate
pip install pysmbus RPi.GPIO
deactivateCreate and then add permissions:
chmod 755 /usr/bin/argonone-configCreate and then add permissions:
chmod 755 /lib/systemd/system-shutdown/argononed-poweroff.pyCreate and then add permissions:
chmod 666 /etc/argononed.confCreate and then add permissions:
chmod 755 /opt/argonone/bin/argononed.pyCreate and then add permissions:
chmod 644 /lib/systemd/system/argononed.serviceEnable to launch automatically:
systemctl daemon-reload
systemctl enable argononed.serviceThere's already a branch patched for Raspberry Pi 4 in this repository. Special thanks to @Elrondo46 for maintaining fork, which has been already merged to /feature/RaspberryPi4 branch.