GPIOCLI(1)

πŸ“¦
version 2.2.5 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– GPIOCLI(1) β€” the gpiocli-request era πŸ’–

okay bestie, so this is the manual for gpiocli, specifically the request command. she's a section-1 page, she's from the gpiocli-request manual, and she is so ready to claim some GPIO lines for you. let's get into it πŸ’…


✨ NAME ✨

gpiocli β€” request 🫢


🌸 DESCRIPTION 🌸

πŸŽ€ Usage πŸŽ€

like, literally just say:

gpiocli request [OPTION…] <line1>[=value1] [line2[=value2]] ...

Request a set of GPIO lines for exclusive usage by the gpio-manager. that's it, that's the whole vibe. you're calling dibs on your lines and the gpio-manager is holding them for you, no sharing, no gatekeeping, periodt. πŸ”₯


πŸ’… Help Options πŸ’…

  • -h, --help β€” shows you the help options. the classic. the moment you need her she's there πŸ’–

πŸ¦‹ Application Options πŸ¦‹

  • -c, --chip=<chip name> β€” tell her explicitly which chip_name to resolve the lines on, which is the whole reason you can use raw offsets instead of line names. so if you're an offsets kinda girlie, this one's for you ✨
  • --consumer=<consumer name> β€” the consumer string. defaults to the program name if you don't say anything, which is lowkey iconic of her πŸŽ€
  • --input β€” set direction to input.
  • --output β€” set direction to output.
  • --rising-edge β€” monitor rising edges. she's going up πŸ“ˆ
  • --falling-edge β€” monitor falling edges. she's going down πŸ“‰
  • --both-edges β€” monitor rising and falling edges. why choose when you can have both, main character energy fr πŸ’…
  • --push-pull β€” drive the line in push-pull mode.
  • --open-drain β€” drive the line in open-drain mode.
  • --open-source β€” drive the line in open-source mode.
  • --pull-up β€” enable internal pull-up bias.
  • --pull-down β€” enable internal pull-down bias.
  • --bias-disabled β€” disable internal pull-up/down bias. no bias here, we're neutral 🌈
  • --active-low β€” treat the lines as active low.
  • --debounce-period=<period in miliseconds> β€” enable debouncing and set the period. that's the actual spelling of the placeholder, i'm not touching it, it's hers 🫢
  • --clock-monotonic β€” use monotonic clock for edge event timestamps.
  • --clock-realtime β€” use realtime clock for edge event timestamps.
  • --clock-hte β€” use HTE clock (if available) for edge event timestamps.

D-Bus API version: 1 ⭐


πŸ‘‘ AUTHOR πŸ‘‘

Bartosz Golaszewski <brgl@bgdev.pl> β€” the actual legend behind all of this 🫢


😭 REPORTING BUGS 😭

found a bug? do NOT suffer in silence bestie, report it to:

  • Bartosz Golaszewski <brgl@bgdev.pl>
  • linux-gpio <linux-gpio@vger.kernel.org>

fr fr, that's every single option, default, and detail from the original. nothing dropped, nothing invented, we keep the facts exactly as they are πŸ’–

okay and for the cute sign-off: this whole thing is libgpiod v2.2.5, dated June 2026, and that's the moment. slay, bye πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from