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:

  • 0
  • gpiochip0
  • /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 Β© 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