Followed what this user reported step by step.
https://stackoverflow.com/questions/41586162/access-gpio-on-beaglebone-as-non-root-user

No matter.  ./Blinky still requires sudo as explained in the comments at the 
start of the program.

So after creating the 
80-gpio-permissions.rules
And creating the
udev-gpio-permissions.sh

And then going through the 
udevadm control --reload-rules
and reboot

What should be done next?

Thanks
John




> -----Original Message-----
> From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
> Behalf Of Dennis Lee Bieber
> Sent: May-11-21 5:48 PM
> To: Beagleboard
> Subject: [beagleboard] Re: Using GPIOs without Using sudo
> 
> On Tue, 11 May 2021 20:29:59 -0400, in gmane.comp.hardware.beagleboard.user
> Dennis Lee Bieber <dennis.l.bieber-re5jqeeqqe8avxtiumw...@public.gmane.org>
> wrote:
> 
> 
> 
> >   procedure Get_Value (Pin : in String; Value : out Integer) is
> >
> >      Pin_File : File_Type;
> >      Pin_Path : constant String := Sysfs_Path & "/gpio" & Pin & "/value";
> >      In_Value : String          := " ";
> 
>       Whoops -- artifact from earlier attempts, In_Value is no longer needed.
> 
> 
> --
> Dennis L Bieber
> 
> --
> 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 beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/ic9m9g9v70473o3bpfomrtc5f83dngc104%404ax.com.

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/098d01d746d5%244b17ac60%24e1470520%24%40autoartisans.com.

Attachment: Blinky.lpr
Description: Binary data

Reply via email to