GPIO Permissions - aaronwmorris/indi-allsky GitHub Wiki

Overview

Some single board computers do not permit non-root access to GPIO pins. Allowing non-root access requires a udev rule.

udev rule

sudo tee /etc/udev/rules.d/99-gpio.rules <<EOF
SUBSYSTEM=="gpio", KERNEL=="gpiochip*", GROUP="dialout", MODE="0660", TAG+="uaccess"
EOF

Reboot!