leds and gpio access for snaps
martin.albisetti at canonical.com
Fri Jan 30 17:10:06 UTC 2015
On Fri, Jan 30, 2015 at 12:56 PM, Joe Talbott <joe.talbott at canonical.com> wrote:
> What is the plan for snaps being able to access leds and gpio pins?
> Will this be handled by an apparmor profile? I am currently trying to
> blink the leds on my BBB and I had to change my app's apparmor profile to
> allow writes to /sys/devices/leds/leds/beaglebone\:green\:usr2/brightness
> as well as change the permissions on it to allow the ubuntu user to write.
We are actively working on a model to express what hardware access an
app needs and make sure it has access to it.
Hold tight for a week or two, we should be able to land a first
iteration on this in that time-frame.
More information about the snappy-devel