FOSDEM 2018 – New GPIO interface for linux user space

Logo-Big-A5243E4D7E00F8Bc6816E2B3F3804F505A17Ae4832E6E52A24D183617E03A87C
Adafruit 2018 0100

FOSDEM 2018 – New GPIO interface for linux user space.

Since linux 4.8 the GPIO sysfs interface is deprecated. Due to its many drawbacks and bad design decisions a new user space interface has been implemented in the form of the GPIO character device which is now the preferred method of interaction with GPIOs which can’t otherwise be serviced by a kernel driver. The character device brings in many new interesting features such as: polling for line events, finding GPIO chips and lines by name, changing & reading the values of multiple lines with a single ioctl (one context switch) and many more. In this presentation Bartosz will showcase the new features of the GPIO UAPI, discuss the current state of libgpiod (user space tools for using the character device) and tell you why it’s beneficial to switch to the new interface.

Slides (PDF, you may need to add .PDF to view).



from Adafruit Industries – Makers, hackers, artists, designers and engineers! http://ift.tt/2EVXVzq
via IFTTT