~/talk

New GPIO Interface for User Space

links:none on file
slides:none on file

Linux deprecates the GPIO sysfs interface (since v4.8) in favor of a GPIO character device that lets user space open a chip, request up to 64 lines at once, and set/get all values with a single ioctl to avoid many context switches. The new UAPI supports pollable per-line events with timestamps, line names and consumer strings, udev-friendly device files, and a tested userspace toolkit libgpiod (CLI: gpioinfo, gpioset, gpiomon; current stable ~0.3.1, 1.0 in progress). A gpio-mockup kernel module verifies ABI behavior and event delivery.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57What is a GPIO
  3. 3:34Provider and Consumer
  4. 8:02Legacy User Space
  5. 12:36New User Space Interface
  6. 18:43Line
  7. 19:59Direct
  8. 20:27Flex
  9. 21:07Request
  10. 23:01Set
  11. 23:54Events
  12. 25:15Pulling Events
  13. 26:23Project History
  14. 30:06C API
  15. 31:31Simple API
  16. 32:06Lowlevel API
  17. 33:15GPIO Tools
  18. 34:15GPIO Find
  19. 36:53GPIO daemon
  20. 37:44Where to get
  21. 38:36Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.