>
> *It would appear (if you do a few google searches for Beaglebone Black *
> *non-root access to IO) that the existing situation is that it's very *
> *difficult indeed to make IO on the BBB work for non-root users and *
> *quite a few people think this should be fixed. *
>

Reading of a value may not be a big deal, but giving write( ability to
change the setup ) access of such a device to a regular user is a very bad
idea. Or would you allow a regular user have such access to say, /dev/mem
too ?

If there ever was a perfect use for setuid / setgid, and / or IPC, I'd
think this would be it. However if these "many people" who find such things
diffficult should spend more time reading about the OS they're trying to
use.


On Mon, Aug 18, 2014 at 4:24 AM, TJF <[email protected]> wrote:

>
>
> Am Montag, 18. August 2014 13:03:50 UTC+2 schrieb [email protected]:
>
>> The group associated with the /sys/devices/.... files associated with
>> the ADC is 'root' and, anyway, the group only has read permission so
>> even if I added my user to that group I wouldn't be able to configure
>> the ADC subsystem.
>
>  root user can change associated group and privileges (ie. on start-up).
>
> To set up the ADC one needs to write, similarly to
>> access the GPIO one needs write.
>
> Your subject is about '*... read the ADC as a non-root user*'.
>
> It would appear (if you do a few google searches for Beaglebone Black
>> non-root access to IO) that the existing situation is that it's very
>> difficult indeed to make IO on the BBB work for non-root users and
>> quite a few people think this should be fixed.
>>
> I agree. That's why I wrote libpruio. And I'm improving and extending it.
>
> --
> 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.
>

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