Using Debian "wheezy" I have been trying to set the group permission for /sys/class/gpio to dialout. This is to avoid having to run my programs that use the GPIO as root. I have been trying to set the permissions with udev rules with a notable lack of success, I can identify the device:
Code: Select all
$ udevadm info --path=/sys/class/gpio --attribute-walk
looking at device '/class/gpio':
KERNEL=="gpio"
SUBSYSTEM=="subsystem"
DRIVER==""
Code: Select all
KERNEL=="gpio*", MODE:="0660", GROUP:="dialout"
Any ideas? Am I doing this the wrong way?
Thanks
Karl