On Thu, Apr 23, 2020 at 6:26 PM maxmike <[email protected]> wrote: >> >> Wow - it looks like the entire cape-universal software is now broken: > > > One used to be able to do : config-pin p8.12 out > and then test it by issuing config-pin p8.12 hi or lo > > This is no longer possible, now the pin can only be set as pruout and hi/lo > don't work anymore.
I had no idea config-pin had a sub-option to also set the value and direction.. https://github.com/beagleboard/bb.org-overlays/blob/master/tools/beaglebone-universal-io/config-pin#L1077-L1109 https://github.com/beagleboard/bb.org-overlays/blob/master/tools/beaglebone-universal-io/config-pin#L1279-L1289 https://github.com/beagleboard/bb.org-overlays/blob/master/tools/beaglebone-universal-io/config-pin#L1396-L1413 Anywho, the current shipping config-pin would require: config-pin P8.12 gpio echo 1 > /sys/class/gpio/gpio44/value But you probably don't want to do that.. sudo rm /usr/bin/config-pin sudo cp -v /opt/source/bb.org-overlays/tools/beaglebone-universal-io/config-pin /usr/bin/ So there, all fixed.. For comparison, the old script: https://github.com/beagleboard/bb.org-overlays/blob/master/tools/beaglebone-universal-io/config-pin It's replacment.. https://github.com/beagleboard/bb.org-overlays/blob/master/tools/pmunts_muntsos/config-pin.c 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/CAOCHtYiQtGKgOsei0a93Z%3DHVgZOD_J0QUSk9mA0XcaMsXskAfw%40mail.gmail.com.
