@Charles So I'm not sure if this is normal or not. Thought I'd bring it to your attention in case it's not.
william@beaglebone:~$ sudo chown root:gpio /usr/bin/config-pin william@beaglebone:~$ config-pin P8.07 hi william@beaglebone:~$ cat /sys/devices/platform/ocp/ocp:cape-universal/status . . . 32 P8_07 66 *IN 0* That should be OUT, and 1* ? *the gpio sysfs stuff reports correctly though william@beaglebone:~$ cat /sys/class/gpio/gpio66/direction out william@beaglebone:~$ cat /sys/class/gpio/gpio66/value 1 william@beaglebone:~$ config-pin -q P8.07 P8_07 Mode: gpio Direction: out Value: 1 As does the config-pin query option. On Thu, Jun 23, 2016 at 12:05 PM, William Hermans <[email protected]> wrote: > It does, but it depends on the image you start with. Usually it's >> found in /opt/source/beaglebone-universal-io/, with a symlink for >> config-pin in /usr/local/bin/config-pin: >> >> >> https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org-wheezy.sh#L389-L396 >> > > Oh, ok. I start with the console images always, and this is not the first > time I've not been able to find config-pin. But after some investigation, > and a system wide search for the file 'config-pin' turned up nothing. It > was then just a matter of realizing that I had everything in place already > except config pin. So I read the Makefile figured out where make install > would put the file . . .and went from there ;) > -- 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/CALHSORrO-zF%3DzVRVFiYJmsuQFzGUE79bczDXg_G2w18m%3DxSbCg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
