We have a  Revision C board running debian, and wish to use a couple of the 
GPIO channels from within the (C++) software we are developing. This 
requires writing to the "file" /sys/class/gpio/export, but this requires 
root permission. In bash I can just "sudo su", but this is surely not going 
to work from C++?

Presumably if I logged in as root and ran my code, the permissions would be 
correct. However the board boots to the desktop with "debian" as the 
default user. Can this be changed to root and how?

-- 
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.

Reply via email to