On Fri, Mar 2, 2018 at 2:45 PM, Robert Nelson <robertcnel...@gmail.com>

> On Mar 1, 2018 3:46 AM, "Jacek Radzikowski" <jacek.radzikow...@gmail.com>
> wrote:
> 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.
> config-pin does not see it either:
> $ 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/state
> What works is exporting GPIO 60 through sys fs, and reading its value from
> /sys/class/gpio/gpio60/value
> With 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.
Thanks for taking care of it!


Given a choice between two theories, take the one which is funnier

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to