I installed 0.0.10 and the button doesn’t work as expected.
- Double press does nothing.
- Holding for two seconds or anything longer does a shut down.
double press should reboot right?
Also on version two of the case holding greater than 4 or 5 seconds did nothing.
2024-02-24 12:31:32.330 T:985 error : Thread-2 (thread_powerbutton)
2024-02-24 12:31:32.330 T:985 error : :
2024-02-24 12:31:32.330 T:985 error :
2024-02-24 12:31:32.330 T:985 error : Traceback (most recent call last):
2024-02-24 12:31:32.330 T:985 error :
2024-02-24 12:31:32.330 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/pins/pi.py”, line 101, in pin
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error : pin = self.pins[n]
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 info : Skipped 9 duplicate messages…
2024-02-24 12:31:32.332 T:985 error : ~
2024-02-24 12:31:32.332 T:985 info : Skipped 8 duplicate messages…
2024-02-24 12:31:32.332 T:985 error : ^
2024-02-24 12:31:32.332 T:985 info : Skipped 2 duplicate messages…
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error : KeyError
2024-02-24 12:31:32.332 T:985 error : :
2024-02-24 12:31:32.332 T:985 error : 4
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error : During handling of the above exception, another exception occurred:
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error : Traceback (most recent call last):
2024-02-24 12:31:32.332 T:985 error :
2024-02-24 12:31:32.332 T:985 error : File “/usr/lib/python3.11/threading.py”, line 1038, in _bootstrap_inner
2024-02-24 12:31:32.336 T:985 error :
2024-02-24 12:31:32.336 T:985 error : File “/usr/lib/python3.11/threading.py”, line 975, in run
2024-02-24 12:31:32.337 T:985 error :
2024-02-24 12:31:32.337 T:985 error : File “/storage/.kodi/addons/script.service.argonforty-device/resources/lib/service.py”, line 16, in thread_powerbutton
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error : argon.shutdown_check(event)
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error : File “/storage/.kodi/addons/script.service.argonforty-device/resources/lib/argon.py”, line 86, in shutdown_check
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error : btn = Button(shutdown_pin, pull_up = False)
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 info : Skipped 9 duplicate messages…
2024-02-24 12:31:32.338 T:985 error : ^
2024-02-24 12:31:32.338 T:985 info : Skipped 36 duplicate messages…
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error :
2024-02-24 12:31:32.338 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/devices.py”, line 108, in call
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 error : self = super(GPIOMeta, cls).call(*args, **kwargs)
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 info : Skipped 10 duplicate messages…
2024-02-24 12:31:32.340 T:985 error : ^
2024-02-24 12:31:32.340 T:985 info : Skipped 45 duplicate messages…
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 error :
2024-02-24 12:31:32.340 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/input_devices.py”, line 414, in init
2024-02-24 12:31:32.341 T:985 error :
2024-02-24 12:31:32.341 T:985 error :
2024-02-24 12:31:32.341 T:985 error : super(Button, self).init(
2024-02-24 12:31:32.341 T:985 error :
2024-02-24 12:31:32.341 T:985 error :
2024-02-24 12:31:32.341 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/mixins.py”, line 433, in init
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error : super(HoldMixin, self).init(*args, **kwargs)
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/input_devices.py”, line 165, in init
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error : super(DigitalInputDevice, self).init(
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error :
2024-02-24 12:31:32.343 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/mixins.py”, line 218, in init
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error : super(EventsMixin, self).init(*args, **kwargs)
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/input_devices.py”, line 83, in init
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error : super(InputDevice, self).init(pin, pin_factory=pin_factory)
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error :
2024-02-24 12:31:32.344 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/devices.py”, line 549, in init
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error : pin = self.pin_factory.pin(pin)
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 info : Skipped 9 duplicate messages…
2024-02-24 12:31:32.346 T:985 error : ^
2024-02-24 12:31:32.346 T:985 info : Skipped 24 duplicate messages…
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/pins/pi.py”, line 103, in pin
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error : pin = self.pin_class(self, n)
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 info : Skipped 9 duplicate messages…
2024-02-24 12:31:32.346 T:985 error : ^
2024-02-24 12:31:32.346 T:985 info : Skipped 22 duplicate messages…
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error :
2024-02-24 12:31:32.346 T:985 error : File “/storage/.kodi/addons/virtual.rpi-tools/lib/gpiozero/pins/rpigpio.py”, line 111, in init
2024-02-24 12:31:32.347 T:985 error :
2024-02-24 12:31:32.347 T:985 error :
2024-02-24 12:31:32.347 T:985 error : GPIO.setup(self.number, GPIO.IN, self.GPIO_PULL_UPS[self._pull])
2024-02-24 12:31:32.347 T:985 error :
2024-02-24 12:31:32.347 T:985 error :
2024-02-24 12:31:32.347 T:985 error : RuntimeError
2024-02-24 12:31:32.347 T:985 error : :
2024-02-24 12:31:32.347 T:985 error : Cannot determine SOC peripheral base address
2024-02-24 12:31:32.347 T:985 error :