GPIOCHARGER(4)

πŸ“¦ in nixpkgs unstable

πŸ’– GPIOCHARGER(4) πŸ’–

okay bestie, so picture this: it's a page from the Kernel Interfaces Manual, and it's literally all about the gpiocharger driver. lowkey iconic. stay with me πŸ’…


✨ NAME ✨

gpiocharger β€” the GPIO battery charger situation πŸ”‹


🌸 SYNOPSIS 🌸

gpiocharger* at fdt?

that's it. that's the whole vibe check. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the gpiocharger driver is out here giving support for battery chargers that are connected to GPIO pins. it's giving "your charger is plugged in, and we're keeping track" energy, no cap 🫢

right now β€” and I mean currently β€” only power supply status events are supported. so it's a little specialist. it does one thing and it slays at it πŸ’…

the power supply status (that's connected or disconnected, bestie) is set up as a sensor, and you can monitor it using sysctl(8) or sensorsd(8). yes, you can literally watch it in real time. main character monitoring energy πŸ“Šβœ¨


πŸ’œ SEE ALSO πŸ’œ

go read them, they're all in the group chat 🫢


🌈 HISTORY 🌈

the gpiocharger driver first appeared in OpenBSD 7.1. a debut. an era. periodt πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

the gpiocharger driver was written by Klemens Nanni <kn@openbsd.org>. legend behavior, fr fr πŸ’–


ngl bestie, that's the whole page β€” tiny driver, huge heart πŸ¦‹

and that's a wrap on this GPIOCHARGER(4) moment! this one came from the Debian flavor of the docs, dated September 25, 2021 β€” screenshot it, save it, frame it, whatever feels right πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from
  • nixpkgs unstable: cvs-export
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms