userspace gpio interrupts / input-output control

From: Ruslan Zalata <rz_at_fabmicro.ru>
Date: Mon, 17 Aug 2026 20:06:18 UTC
Thanks Matt. That's on FreeBSD, I suppose? Would like to have this type 
of service on x86 mini-PCs. :)

---
Regards,
Ruslan

On 2026-08-18 00:08, Matthew Grooms wrote:
> 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