GPIOGET(1)
π¦ gpioget β the libgpiod command-line utility, bestie edition β¨
okay so this is gpioget, one of the libgpiod command-line utilities, and it's literally here to read the values of GPIO lines for you π
β¨ SYNOPSIS β¨
gpioget [OPTIONS] <line>...
πΈ DESCRIPTION πΈ
It reads the values of GPIO lines. That's the whole vibe. π
You specify your lines by name, or optionally by offset β but only if you also pass the chip option. iykyk π«Ά
π OPTIONS π
-a,--as-isβ leaves the line direction unchanged instead of forcing it to input. no cap, it just doesn't touch it π-b,--bias <bias>β says what bias the line should have. Possible values:'pull-down','pull-up','disabled'. the default is to leave the bias unchanged, so if you don't say anything, nothing happens π--by-nameβ treats your lines as names even if they'd otherwise parse as an offset. protects your name from being read as a number π-c,--chip <chip>β restricts the scope to one particular chip π-C,--consumer <name>β the consumer name applied to the requested lines. default is'gpioget'β-h,--helpβ displays this help and exits. the classic escape hatch π-l,--active-lowβ treats the line as active low π₯-p,--hold-period <period>β waits between requesting the lines and reading the values. patience is a virtue bestie π§--numericβ displays line values as'0'(inactive) or'1'(active). numbers only, no thoughts π-s,--strictβ aborts if the requested line names are not unique. it will NOT let duplicates slide π--unquotedβ doesn't quote line names. free the names π-v,--versionβ outputs version information and exits π
π Chips: π
A GPIO chip may be identified by number, name, or path. e.g. '0', 'gpiochip0', and /dev/gpiochip0 all refer to the same chip. three looks, one icon π
π¦ Periods: π¦
Periods are taken as milliseconds unless units are specified. e.g. 10us. Supported units are 'm', 's', 'ms', and 'us' for minutes, seconds, milliseconds and microseconds respectively. so m = minutes, s = seconds, ms = milliseconds, us = microseconds β don't mix them up bestie π
π AUTHOR π
Bartosz Golaszewski <brgl@kernel.org> β the main character of this manpage fr fr π
π REPORTING BUGS π
Report bugs to:
- Bartosz Golaszewski
<brgl@kernel.org> - linux-gpio
<linux-gpio@vger.kernel.org>
go tell them, they wanna know π«Ά
π 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. (yes, the caps on NO WARRANTY are doing the heavy lifting β that's a real caveat, take it seriously π)
and that's the whole page bestie! πΈ this is gpioget from v2.3.2 of the tools, running against libgpiod v2.2.1, dated November 2026 β slay, periodt, go read some pins πβ¨
π¦ 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