This is why Unix/Linux has groups. Do the following: ls -la /dev
You will see groups such as i2c, dialout, tty, etc. If you want to access these devices from a regular user account, add your user to those groups. If you need to use a device that has root:root, then change the group and add your user account to that group. Regards, John > On Feb 5, 2016, at 2:13 PM, Drew Fustini <[email protected]> wrote: > > I noticed that the Raspberry Pi kernel adopted /dev/gpiomem to provide a way > for non-root users to access GPIO: > > Add /dev/gpiomem device for rootless user GPIO access: > https://github.com/raspberrypi/linux/pull/1112 > > Is there anything comparable for BeagleBone? Anyone have ideas/plans? > > I started thinking about this after seeing this post on the Adafruit forum: > > Trying to use Adafruit_BBIO library and run as non-root user > https://forums.adafruit.com/viewtopic.php?f=49&t=89338&p=450036#p450036 > > > thanks, > drew > > -- > For more options, visit http://beagleboard.org/discuss > <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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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.
