Instantly share code, notes, and snippets.

Embed
What would you like to do?
udev rule to set RPi GPIO group on Arch Linux ARM
SUBSYSTEM=="gpio", ACTION=="add", PROGRAM="/bin/sh -c 'chgrp -R gpio /sys/class/gpio /sys/devices/platform/soc/*.gpio && chmod -R g+rw /sys/class/gpio /sys/devices/platform/soc/*.gpio'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment