gpiocli-request - Man Page

request

Description

Usage

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

Request a set of GPIO lines for exclusive usage by the gpio-manager.

Help Options

-h,  --help

Show help options

Application Options

-c,  --chip=<chip name>

Explicitly specify the chip_name on which to resolve the lines which allows to use raw offsets instead of line names.

--consumer=<consumer name>

Consumer string (defaults to program name)

--input

Set direction to input.

--output

Set direction to output.

--rising-edge

Monitor rising edges.

--falling-edge

Monitor falling edges.

--both-edges

Monitor rising and falling edges.

--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.

--active-low

Treat the lines as active low.

--debounce-period=<period in miliseconds>

Enable debouncing and set the period

--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>

Reporting Bugs

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

Info

April 2025 libgpiod v2.2.1