Package Details: argonone-git r25.ff51561-1

Git Clone URL: https://aur.archlinux.org/argonone-git.git (read-only, click to copy)
Package Base: argonone-git
Description: Argon One Service and Control Scripts por Raspberry Pi
Upstream URL: https://download.argon40.com/argon1.sh
Licenses: GPL3
Provides: argonone
Submitter: tonyfettes
Maintainer: tonyfettes
Last Packager: tonyfettes
Votes: 1
Popularity: 0.040124
First Submitted: 2020-06-21 03:28
Last Updated: 2020-11-10 16:02

Latest Comments

1 2 Next › Last »

tonyfettes commented on 2020-11-09 01:32

@Dulbi @LazAnt @katoitalia

Thank you for all your comments!

I've sold my Raspberry Pi to someone else, but I've ordered a new one which hasn't arrived yet. Once I receive the new Pi and verify these ideas, I will update this package ASAP. Sorry for any inconvenience.

katoitalia commented on 2020-11-09 00:01

this fails to recognise Raspberry Pi 4, also please add python-raspberry-gpio as dependency, marking this as obsolete

LazAnt commented on 2020-11-06 11:27

When I install this package on raspberry pi 4b, I get the following message:

Checking Hardware Model...
grep: /proc/device-tree/model: binary file matches
Not a Raspberry Pi Model 3 or 4!

I think need to change the install script from

  if [[ $(grep "Raspberry Pi 3" /proc/device-tree/model) || $(grep "Raspberry Pi 4" /proc/device-tree/model) ]] ; then

to

  if [[ $(grep -a "Raspberry Pi 3" /proc/device-tree/model) || $(grep -a "Raspberry Pi 4" /proc/device-tree/model) ]] ; then

Dulbi commented on 2020-10-25 15:57

@Solskogen : a quick workaround is to set CFLAGS to "-fcommon"

CFLAGS="-fcommon" pip install rpi.gpio as show on https://sourceforge.net/p/raspberry-gpio-python/tickets/187/ so it's a raspberry-gpio-python package issue not an argonone one...

But maybe @tonyfettes can set a patch to handle this ?

(if you're under manjaro, there is a python-raspberry-gpio package which works fine directly also but it doesn't exist on archlinux)

Solskogen commented on 2020-09-07 10:00

Installation fails now with gcc 10.

gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-aarch64-3.8/source/py_gpio.o build/temp.linux-aarch64-3.8/source/c_gpio.o build/temp.linux-aarch64-3.8/source/cpuinfo.o build/temp.linux-aarch64-3.8/source/event_gpio.o build/temp.linux-aarch64-3.8/source/soft_pwm.o build/temp.linux-aarch64-3.8/source/py_pwm.o build/temp.linux-aarch64-3.8/source/common.o build/temp.linux-aarch64-3.8/source/constants.o -L/usr/lib -o build/lib.linux-aarch64-3.8/RPi/_GPIO.cpython-38-aarch64-linux-gnu.so /usr/bin/ld: build/temp.linux-aarch64-3.8/source/soft_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/soft_pwm.c:28: multiple definition of threads'; build/temp.linux-aarch64-3.8/source/event_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/event_gpio.c:60: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: multiple definition ofgpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/py_pwm.h:23: multiple definition of PWMType'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/py_pwm.h:23: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: multiple definition ofmodule_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: multiple definition of setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: multiple definition ofrpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: multiple definition of pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: multiple definition ofpin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: multiple definition of pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: multiple definition ofpin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: multiple definition of gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: multiple definition ofsetup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: multiple definition of module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: multiple definition ofgpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: multiple definition of pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: multiple definition ofrpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: multiple definition of gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: multiple definition ofpin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: multiple definition of pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: multiple definition ofpin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:26: multiple definition of high'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:26: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:27: multiple definition oflow'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:27: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:29: multiple definition of output'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:29: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:28: multiple definition ofinput'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:28: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:30: multiple definition of pwm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:30: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:31: multiple definition ofserial'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:31: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:32: multiple definition of i2c'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:32: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:33: multiple definition ofspi'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:33: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:34: multiple definition of unknown'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:35: multiple definition ofboard'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:36: multiple definition of bcm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:37: multiple definition ofpud_off'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:38: multiple definition of pud_up'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:39: multiple definition ofpud_down'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:40: multiple definition of rising_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:41: multiple definition offalling_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:42: multiple definition of both_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:42: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: multiple definition ofmodule_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: multiple definition of setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: multiple definition ofrpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: multiple definition of gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: multiple definition ofpin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: multiple definition of pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: multiple definition ofpin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: multiple definition of pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: multiple definition ofgpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: first defined here collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/argonone/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xuwid1pb/RPi.GPIO/setup.py'"'"'; file='"'"'/tmp/pip-install-xuwid1pb/RPi.GPIO/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-d_i6hjnr/install-record.txt --single-version-externally-managed --compile --install-headers /opt/argonone/include/site/python3.8/RPi.GPIO Check the logs for full command output. WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available. You should consider upgrading via the '/opt/argonone/bin/python3 -m pip install --upgrade pip' command. Enabling i2C... (1/1) installing argonone-rpi4 [#######################################################################################################################] 100% Please reboot before first use. Configuration file: /etc/argononed.conf Enable power button and fan control service with: sudo systemctl enable argononed.service If you want to: enable_uart=1 Put it in /boot/config.txt and remove kgdboc=ttyAMA0,115200 in /boot/cmdline Thanks to thegeek1977 to help patching this :: Running post-transaction hooks... (1/2) Reloading system manager configuration... (2/2) Arming ConditionNeedsUpdate...

tonyfettes commented on 2020-08-15 09:52

@backfist

I've add command in argonone.install to upgrade pip before install modules. Hope it can solve your problem.

backfist commented on 2020-08-07 13:36

For me it does not work: /opt/argonone/bin/python3 /opt/argonone/bin/argononed.py Traceback (most recent call last): File "/opt/argonone/bin/argononed.py", line 10, in <module> import RPi.GPIO as GPIO ModuleNotFoundError: No module named 'RPi'

The problem was an old pip version installed. Maybe you should upgrade pip at first and then install modules.

SpacingBat3 commented on 2020-08-05 10:27

Executing argonone-config as user is broken now since you added "backup" entry to PKGBUILD.

EDIT: Executing this command as root works fine, so the problem is related with user permissions. I've also built this package with the backup entry commented in PKGBUILD and this problem has still occured, but it doesn't when building with PKGBUILD from original git repository.

tonyfettes commented on 2020-06-22 00:40

@Dulbi Sorry for my ignorance. Now I believe the backup entry has been added.

Dulbi commented on 2020-06-21 20:02

@tonyfettes as the wiki says https://wiki.archlinux.org/index.php/PKGBUILD#backup, you can create a backup array to save user settings files as the /etc/argononed.conf. It doesn't interfere with your copy of the file in the /opt/argonone/etc directory even if I think it's not necessary. Like that if the file is already present and the user had made changes his config will stay and a .pacnew file will be generated automatically.