This is an archived sub page. Please click here to learn more about Pi and More 11½.

« Back to schedule for Pi and More 11½

Accessing GPIO pins via character device
or Fedora on wheels
Talk

11:30h – 11:55h, Audimax (Talks)

sysfs interface to GPIO pins has been deprecated and replaced by character device interface, which provides additional features like managing multiple pins at once, reliable polling, user permissions and so on. But even though the old sysfs interface is now frozen and might be removed after 2020, most of the common well-known libraries, for example RPi.GPIO, still heavily rely on it.

Which makes these libraries unusable on more or less recent kernels, like the one used in Fedora.

I want to present a Python library I ended up writing to build my three-wheel Fedora powered vehicle. While very simple, it can be used to switch LED lights, turn wheels or measure distances.

By Aleksandra Fedorova (Red Hat)

More information: