On Tue, Apr 28, 2020 at 3:50 PM Paul Beam <[email protected]> wrote:
>
> I'm using the PocketBeagle, and just installed the latest Debian image.  Now, 
> my script that sets I/O pins does not work.  I have already worked through 
> the name change where, for example, P1_6 is now P1_06, but other config 
> options such as in, out, hi, and low do not work.  Nor does config-pin 
> display the status of the pin.
>
> For example:
>
> debian@beaglebone:~$ config-pin -q P2_33
> Current mode for P2_33 is:     gpio
>
>
>
> debian@beaglebone:~$ config-pin P2_33 lo
> ERROR: write() to /sys/devices/platform/ocp/ocp:P2_33_pinmux/state failed, No 
> such device
>
>
> Contrary to the error, ocp:P2_33_pinmux/state does exist, but it must not 
> like the value.  I find a lot of things that used to work no longer work.  
> What has changed, and what do I do about it?

It got replaced, and it turned out users where using other features
that didn't get re-implemented..

Just run:

sudo rm /usr/bin/config-pin
sudo cp -v /opt/source/bb.org-overlays/tools/beaglebone-universal-io/config-pin
/usr/bin/

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/CAOCHtYj6jeuDApL_brZEqbhtfm%2BnYBxoRLHKrk7UfTORa21B5Q%40mail.gmail.com.

Reply via email to