Hi Robert, I've tried the version from your link. It seems that nothing changed:
debian@beaglebone:~$ wget https://raw.githubusercontent.com/pmunts/muntsos/master/bootkernel/initramfs/config-pin.c --2020-09-14 14:52:27-- https://raw.githubusercontent.com/pmunts/muntsos/master/bootkernel/initramfs/config-pin.c Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5571 (5.4K) [text/plain] Saving to: 'config-pin.c' config-pin.c 100%[===================================================================>] 5.44K --.-KB/s in 0.002s 2020-09-14 14:52:27 (2.78 MB/s) - 'config-pin.c' saved [5571/5571] debian@beaglebone:~$ ls bin config-pin.c exploringbb debian@beaglebone:~$ gcc config-pin.c -o config-pin debian@beaglebone:~$ ls bin config-pin config-pin.c exploringbb debian@beaglebone:~$ ./config-pin -i P9.12 ERROR: open() for /sys/devices/platform/ocp/ocp:-I_pinmux/state failed, No such file or directory debian@beaglebone:~$ ./config-pin -h GPIO Pin Configurator Usage: config-pin -c <filename> config-pin -l <pin> config-pin -q <pin> config-pin <pin> <mode> debian@beaglebone:~$ Sincerely, Pavel On Monday, September 14, 2020 at 4:48:35 PM UTC+2, RobertCNelson wrote: > > it got rewritten and replaced by something that's maintainable. > > Patches welcome.. > > > https://github.com/beagleboard/bb.org-overlays/tree/master/tools/pmunts_muntsos > > > > > Regards, > > On Mon, Sep 14, 2020 at 8:23 AM Pavel Yermolenko <[email protected] > <javascript:>> wrote: > > > > Moreover, the -q option (pin querry) doesn't provide information of the > pin mode (direction) and its value: > > > > debian@beaglebone:~$ config-pin -q P9.12 > > > > Current mode for P9_12 is: gpio > > > > debian@beaglebone:~$ > > > > In fact, there is no information at all! > > > > On Monday, September 14, 2020 at 3:15:26 PM UTC+2, Pavel Yermolenko > wrote: > >> > >> I was a little hasty to say what works. > >> The version of config-pin, installed on my system, is quite shrinked. > >> > >> debian@beaglebone:~$ config-pin -h > >> > >> GPIO Pin Configurator > >> > >> Usage: config-pin -c <filename> > >> config-pin -l <pin> > >> config-pin -q <pin> > >> config-pin <pin> <mode> > >> > >> debian@beaglebone:~$ > >> > >> Contrary to the version, described in the book of Derek Molloy, there > is no such options as -a, -i, -f, > > > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/c215f6ce-3dfb-4cf0-8bec-882bc536133eo%40googlegroups.com. > > > > > > -- > 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/0b7ebf77-f3d5-4158-9f0e-74da3c4b4a10o%40googlegroups.com.
