~/talk

libgpiod V2: New Major Release with a Ton of New Features

links:none on file
slides:none on file

libgpiod v2 implements a redesigned user API: immutable line info snapshots, separated request config vs line config to avoid reconfigure mistakes, per-request file-descriptor objects with an edge-event buffer to avoid reallocations, line watch/info events to notify status changes, and per-line plus global sequence numbers for ordered events. Kernel side uses the new GPIO character device v2, testing uses gpio-sim via configfs, bindings exist for C, C++ and Python with Rust in progress, CLI adds gpio watch and interactive gpio set; release pending.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:15Why libgpiod exists
  3. 7:08Kernel GPIO character device recap
  4. 10:25Limitations of libgpiod V1
  5. 15:25libgpiod V2 API overhaul
  6. 17:14New line watch feature
  7. 19:44Compound line configuration
  8. 22:13Sequence numbers for events
  9. 23:16Testing with gpio-sim
  10. 25:05Language bindings and CLI tools
  11. 27:51Resources and getting involved
  12. 28:34Q&A on bit-banging and eBPF
~/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.