gpiocli - Man Page

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@bgdev.pl>

Reporting Bugs

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

Info

April 2025 libgpiod v2.2.1