GPIOCLI

Date:

June 2026

NAME

gpiocli - libgpiod command-line utility

DESCRIPTION

Usage:

gpiocli [OPTION?] CMD [ARGS?] …

Simple command-line client for controlling gpio-manager.

Help Options:

-h, –help

Show help options

Application Options:

-v, –version

Show version and exit.

Available commands:

  • detect:

list GPIO chips and print their properties

  • find:

take a line name and find its parent chip’s name and offset within it

  • info:

print information about GPIO lines

  • get:

get values of GPIO lines

  • monitor:

notify the user about edge events

  • notify:

notify the user about line property changes

  • reconfigure:

change the line configuration for an existing request

  • release:

release one of the line requests controlled by the manager

  • request:

request a set of GPIO lines for exclusive usage by the manager

  • requests:

list all line requests controlled by the manager

  • set:

set values of GPIO lines

  • wait:

wait for the gpio-manager interface to appear

D-Bus API version: 1

AUTHOR

Bartosz Golaszewski <brgl@kernel.org>

REPORTING BUGS

Report bugs to: Bartosz Golaszewski <brgl@kernel.org> linux-gpio <linux-gpio@vger.kernel.org>