All of these suggestions are terrible. The right question to ask is "How do I give a non-root user permission to set GPIOs?" If this can't be done, then this distribution of Linux is broken.
I can add my user to the "kmem" group, then change the group ownership of /sys/class/gpio/export to kmem, the chmod g+w, and then my user can export the GPIOs. But when they appear, "direction" is still owned root:root perms 644, so I can't do anything with the GPIO I just created, even though, as a member of kmem, I could do the equivalent memory-mapped IO. It is not acceptable to require a program to run as root. I not quite Linux-savvy enough to fix this. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
