What is the equivalent to the following:
in+
in-
out+
out-

On Thursday, March 18, 2021 at 1:14:36 PM UTC-6 RobertCNelson wrote:

> On Thu, Mar 18, 2021 at 1:45 PM John Allwine <jo...@pocketnc.com> wrote:
> >
> > On my Beaglebone Black, I have two config-pin executables. One is a 
> compiled executable from the bb-cape-overlays package, the other is a bash 
> script in /opt/source/bb.org-overlays:
> >
> > $ which config-pin
> > /usr/bin/config-pin
> >
> > $ dpkg -S /usr/bin/config-pin
> > bb-cape-overlays: /usr/bin/config-pin
> >
> > $ find / -name config-pin 2> /dev/null
> > /opt/source/bb.org-overlays/tools/beaglebone-universal-io/config-pin
> > /usr/bin/config-pin
> >
> > I have a script that configures specific pins using config-pin in the 
> format:
> > config-pin P8.8 in-
> > Which sets pin P8.8 to an input configured as a pull down.
> >
> > The bash script seems to be the one that accepts that format, the other 
> does not and errors with:
> > ERROR: open() for /sys/devices/platform/ocp/ocp:P8_8_pinmux/state 
> failed, No such file or directory
> >
> > The compiled version is the default on my Beaglebone and I'd like to 
> know more about it. For my script to work, I need to use the other one 
> right now. I can certainly update the script if the compiled config-pin is 
> a newer version and recommended practice is to use it, but I can't seem to 
> make it work right. Any information is appreciated!
>
> P8.8 -> P8.08, the original had a fixup for the missing zero.. I
> don't think 'in-' has been migrated yet..
>
> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/835f5132-6b15-47da-8886-068278d98245n%40googlegroups.com.

Reply via email to