Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: GPIO Handler Issue
#6
If you want to check if the hardware is still functioning, you can use the command tool gpio.
Needs admins rights so call it with sudo in front of it.

It the hardware is ok but the scripts gives problems, you can also use an overlay for it, by adding adding a line like to /boot/config:
dtoverlay=gpio-shutdown,gpio_pin=22,active_low=0,gpio_pull=off

Exact settings depend on you system button wiring.

Check /boot/overlays/README for more documentation about the overlays, contains some neat tricks ;-)
Reply


Messages In This Thread
GPIO Handler Issue - by CHickey - 09-09-2020, 11:54 PM
RE: GPIO Handler Issue - by Tim Curtis - 09-10-2020, 12:15 AM
RE: GPIO Handler Issue - by CHickey - 09-10-2020, 08:16 AM
RE: GPIO Handler Issue - by Tim Curtis - 09-10-2020, 11:26 AM
RE: GPIO Handler Issue - by CHickey - 09-10-2020, 12:06 PM
RE: GPIO Handler Issue - by bitlab - 09-10-2020, 01:31 PM
RE: GPIO Handler Issue - by CHickey - 09-10-2020, 06:09 PM
RE: GPIO Handler Issue - by Tim Curtis - 09-10-2020, 08:01 PM

Forum Jump: