Re: userspace gpio interrupts / input-output control
Matthew Grooms <[email protected]>
| Newsgroups | gmane.os.freebsd.current |
|---|---|
| Message-ID | <[email protected]> |
On 8/16/26 12:13, Ruslan Zalata wrote: > Hello Sulev-Madis, > > What's your target platform ? > > I recently discovered that GPIO interrupts are not supported in "GPIO > Bus" driver on x86 platforms because of lack of INTRNG support (simply > not implemented). I found a 6-year old diff D26407 from avg@ to add > this functionally which stuck on review because of some unsolved > issues. I renewed avg's patch so it could be applied to -current and > posted for review (D57968) again, but it did get much traction too. > So, if you are interested in getting GPIO interrupts on x86/amd64 - no > luck till gpiobus driver is "fixed". No ideas about arm and others. > Just as a reference point, I use the gpio interrupt support on rpi4 hosts to track things like water flow for feed systems in an industrial farm environment. Seems to work quite well. -Matthew