Well, my solution, for now, was to write a wrapper[1] for config-pin that 
uses gpioinfo when 'in' or 'out' are used.

--Mark

[1] 
https://github.com/MarkAYoder/PRUCookbook/blob/v2.0/docs/common/config-pin.sh

On Wednesday, June 3, 2020 at 10:27:38 AM UTC-4, RobertCNelson wrote:
>
> On Wed, Jun 3, 2020 at 9:15 AM Mark A. Yoder <> wrote: 
> > 
> > So is, 
> >  echo out > /sys/class/gpio/gpio30/direction 
> > 
> > The proper way to set it to output? 
>
> The proper way is to use libgpiod tools such as gpioset ;) 
>
> sudo gpioset gpiochip0 30=1 
>
> But that old way still woks. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/80eeb3ac-bdff-4bf4-82d0-43781dbe8371%40googlegroups.com.

Reply via email to