On Thu, Apr 23, 2020 at 4:32 PM maxmike <maxmikes...@gmail.com> wrote:
>
>
>> OK - but here we go again with cape-universal:
>
>
>  root@beaglebone:~# config-pin -q p9.26
>
> Current mode for P9_26 is:     default
>
> root@beaglebone:~# config-pin p9.26 in+
> ERROR: write() to /sys/devices/platform/ocp/ocp:P9_26_pinmux/state failed, No 
> such device

Yeah, in+ is no longer valid..

debian@bbb-pwr02-ser10:~$ config-pin -q P9.26

Current mode for P9_26 is:     default

debian@bbb-pwr02-ser10:~$ config-pin -l P9.26

Available modes for P9_26 are: default gpio gpio_pu gpio_pd gpio_input
uart can i2c pru_uart pruin

in+ may have been supported by the original version of config-pin, but
that shell script is un-maintainable as we added more boards..

The new version of config-pin, parses the actual modes available.


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/CAOCHtYhNPsCKefa3tvx3xNUAReVokqU6DBhHD%3DKq76AfEb_Yiw%40mail.gmail.com.

Reply via email to