On Sun, Apr 2, 2017 at 8:19 PM, <csaba.oszlnszky(a)gmail.com> wrote:
Hi,
I would like to ask, is it any possibilities to use the GPIO headers from a python
program or from the userspace to control switches via the GPIO headers?
If not out of the box, but is there any possibilities, to write a device tree overlay?
Yes, there's python3-libsoc which should support the RPi. There's some
tools in the kernel-tools for gpio, the lsgpio is one to see the
available ones. In terms of DT overlay, we have all the bits in Fedora
26 (u-boot, kernel, compiler) to support it but I've not had time to
test and document the process, I'd love help there for test and docs
or plan (hope) to get it done by F-26 GA.
Peter