gpiodetect(1)

gpiodetect1

Libgpiod command-line utility

Usage

gpiodetect [OPTIONS] [chip] ...

Overview

List GPIO chips, print their labels and number of GPIO lines.

Chips may be identified by number, name, or path. e.g. '0', 'gpiochip0', and '/dev/gpiochip0' all refer to the same chip.

If no chips are specified then all chips are listed.

Options

-h, --help

display this help and exit

-v, --version

output version information and exit

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

--help since Debian 13 (Trixie); --version since Debian 13 (Trixie); -h since Debian 13 (Trixie); -v since Debian 13 (Trixie).

Author

Bartosz Golaszewski <[email protected]>

Reporting bugs

Report bugs to:
Bartosz Golaszewski <[email protected]>
linux-gpio <[email protected]>

From libgpiod 2.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.