GPIODETECT(1)
π
GPIODETECT(1) β the gpiodetect girlies' guide
okay so bestie, welcome to gpiodetect, part of the libgpiod command-line utility fam. yes this is manual page section 1 and yes it's about to be your new fave thing. sit down, hydrate, let's go π«Ά
β¨ SYNOPSIS β¨
gpiodetect [OPTIONS] [chip]...
that's it. that's the whole vibe. some options, some chips, slay π
π¦ DESCRIPTION π¦
so what does it do? it lists GPIO chips, prints their labels and the number of GPIO lines each one has. that's the whole job and it does it gorgeously. no cap β¨
now here's the part where you need to pay attention, bestie, because this is giving main character energy:
chips can be identified by number, name, or path. like, all three of these refer to the exact same chip:
0gpiochip0/dev/gpiochip0
fr fr, same chip, three outfits. it's giving versatile icon π
and if you don't specify any chips at all? then all of them get listed. every single one. the whole friend group shows up to the party π
π₯ OPTIONS π₯
-h,--helpβ display this help and exit. the "hey what does this do again" button, iconic for when you forgot everything π«Ά-v,--versionβ output version information and exit. the "who am i, really" button, tells you what version you're running β¨
π AUTHOR π
this masterpiece was written by Bartosz Golaszewski <brgl@kernel.org>. thank you king, we appreciate you πΈ
π REPORTING BUGS π
found a bug? not me, but okay. report bugs to:
- Bartosz Golaszewski
<brgl@kernel.org> - linux-gpio
<linux-gpio@vger.kernel.org>
don't suffer in silence bestie, tell them π
π 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 all-caps NO WARRANTY is not a joke, bestie β it literally means what it says. if it breaks, that's on you, not on them. read it, absorb it, respect it π
and that's the page! π cute little sign-off time: this was gpiodetect v2.3.2 (libgpiod v..., dated November 2026, and it lives at the bottom of GPIODETECT(1) like a little footnote bow. mwah πβ¨π¦
π¦ 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