Libgpiod V2: New Major Release with a Ton of New Features
Talkat Embedded Linux Conference @ Open Source Summit North America 2022 · on Friday, 2022-06-24· at 14:50· Room 203/204 (Level 2), JW Marriott Austin, 110 E 2nd Street Austin, TX 78701·
summary
Libgpiod v2 reworks the C API into opaque objects, implements the new kernel character-device v2 features (per-line sequence numbers, configurable debounce and timestamps), and provides configuration overrides so a single request can set defaults and per-line exceptions. It adds a line info watch for live state-change events, an edge event buffer to avoid reallocations for high-rate IRQs, a gpiosim test backend, revamped Python bindings, Rust bindings in progress, and new gpio-watch and interactive gpio-set tools. Release is staged on the next/2.0 branch.
AI-written summary · about
chapters (14)
- 0:00Introduction to libgpiod
- 1:02Evolution of GPIO interface
- 2:27The architecture of libgpiod
- 3:28Lessons learned from v1
- 5:19The new kernel interface v2
- 8:29Core data model improvements
- 12:21Requesting lines in v2
- 13:46Configuration and event handling
- 15:12Monitoring and watching lines
- 17:19Efficient event management
- 20:11Advanced feature configurations
- 23:08Testing with gpiosim
- 25:08Summary and roadmap
- 28:20Q&A session
related talks
32mlibgpiod V2: New Major Release with a Ton of New Features
44mNew GPIO Interface for User Space
23mGive Me Back My GPIO Persistence Intro to the libgpiod GPIOManager
23mGive Me Back My GPIO Persistence Intro to the libgpiod GPIOManager
51mGPIO for Engineers and Makers
48mPin Control and GPIO Update
35mCompound Interest - Dealing with Two Decades of Technical Debt in Embedded...
32mgr-iio: Nuances, Advanced Features, and New Stuff
