GPIOINFO(1)
π GPIOINFO(1) β the gpioinfo girlie's guide π
okay so real talk, bestie: this is the gpioinfo page out of the libgpiod command-line utility lineup, and it's about to tell you absolutely everything about your GPIO lines. no gatekeeping here π«Ά
β¨ SYNOPSIS β¨
gpioinfo [OPTIONS] [line]...
like, options first if you want them, then the lines you're curious about. easy.
πΈ DESCRIPTION πΈ
It prints info about GPIO lines. that's the whole vibe. literally justβ¦ information about your GPIO lines π
You can specify lines by name, or β if you also passed the chip option β by offset instead. both are valid, no cap.
And if you specify, like, no lines at all? it just shows you all of them. the whole lineup. main character energy for every single line β
π OPTIONS π
--by-nameβ treats your lines as names even if they'd otherwise parse as an offset. so if your line is literally named7and you mean the name, this is your girl β¨-c,--chip <chip>β narrows the whole thing down to one particular chip. scope restriction, we love a boundary π¦-h,--helpβ shows you this help and dips out. iconic exit behavior π-s,--strictβ checks every single line, no shortcuts β it does not assume line names are unique. thorough queen behavior π--unquotedβ don't quote the line names or consumer names. raw and unfiltered, iykyk π-v,--versionβ spits out version info and exits. short and sweet π
π§ Chips π§
okay this part is lowkey important: a GPIO chip can be identified by number, name, or path. so like, '0', 'gpiochip0', and /dev/gpiochip0'β¦ wait, no β '/dev/gpiochip0' β all refer to the same chip. three fits, one chip. periodt π
π AUTHOR π
Bartosz Golaszewski <brgl@kernel.org> β the legend himself π«Ά
π REPORTING BUGS π
found a bug? don't just scream into the group chat, report it to:
Bartosz Golaszewski <brgl@kernel.org>
linux-gpio <linux-gpio@vger.kernel.org>
π COPYRIGHT π
Copyright Β© 2017-2023 Bartosz Golaszewski License: GPL-2.0-or-later
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
okay so the NO WARRANTY thing is in all caps in the original for a reason β it's not me being dramatic (for once). it's real. take it seriously, bestie π
and that's the page!! this whole thing is from gpioinfo v2.3.2 (libgpiod v2....) and it's dated November 2026 β so yeah, she's current, she's documented, she ate π
β¨π
π¦ where this page comes from
- arch rolling: libgpiod 2.3.2-1 Β· LGPL-2.1-or-later AND GPL-2.0-or-later AND CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms