What works is exporting GPIO 60 through sys fs, and reading its value from /sys/class/gpio/gpio60/valueconfig-pin does not see it either:Hello,I try to access GPIO on pin P9_12 from python script using Adafruit_GPIO package, the pin is not available for use. Python script complains about missing file:
ValueError: Set gpio mode failed, missing file or invalid permissions.
$ sudo config-pin P9_12 gpio
P9_12 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P9_12_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_12_pinmux/stateWith cape removed python script and config-pin work as expected. According to the documentation, the cape does not use this GPIO, so it should not be reserved.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAA2oDvbL58hGEDVft_FFTQ79haidCn3viqXzTi4%2BsXB5%2BOvUsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Mar 1, 2018 3:46 AM, "Jacek Radzikowski" <jacek.ra...@gmail.com> wrote:What works is exporting GPIO 60 through sys fs, and reading its value from /sys/class/gpio/gpio60/valueconfig-pin does not see it either:Hello,I try to access GPIO on pin P9_12 from python script using Adafruit_GPIO package, the pin is not available for use. Python script complains about missing file:
ValueError: Set gpio mode failed, missing file or invalid permissions.
$ sudo config-pin P9_12 gpio
P9_12 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P9_12_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_12_pinmux/stateWith cape removed python script and config-pin work as expected. According to the documentation, the cape does not use this GPIO, so it should not be reserved.I've been working on this issue these last few weeks, but with embedded world conference this week I haven't worked on it. I should have more things lined up starting right before elc portand.