[fedora-arm] Re: Raspberry Pi 3 B Gpio

2017-04-10 Thread Peter Robinson
On Mon, Apr 10, 2017 at 1:44 PM, Richard Ryniker wrote: >>Yes, there's python3-libsoc which should support the RPi. > > libsoc uses the old, deprecated sysfs interface to access GPIO resources > from user space. I wrote a Python module to use the newer, file > descriptor

[fedora-arm] Re: Raspberry Pi 3 B Gpio

2017-04-10 Thread Richard Ryniker
>Yes, there's python3-libsoc which should support the RPi. libsoc uses the old, deprecated sysfs interface to access GPIO resources from user space. I wrote a Python module to use the newer, file descriptor ioctl interface. See: http://ryniker.org/raspberrypi/Fedora/gpiofd.py I welcome

[fedora-arm] Re: Raspberry Pi 3 B Gpio

2017-04-02 Thread Peter Robinson
On Sun, Apr 2, 2017 at 8:19 PM, 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