1GPIOGET(1)                       User Commands                      GPIOGET(1)
2
3
4

NAME

6       gpioget - manual page for gpioget v2.0.2
7

SYNOPSIS

9       gpioget [OPTIONS] <line>...
10

DESCRIPTION

12       Read values of GPIO lines.
13
14       Lines are specified by name, or optionally by offset if the chip option
15       is provided.
16

OPTIONS

18       -a, --as-is
19              leave the line direction unchanged, not forced to input
20
21       -b, --bias <bias>
22              specify the line bias Possible values:  'pull-down',  'pull-up',
23              'disabled'.  (default is to leave bias unchanged)
24
25       --by-name
26              treat lines as names even if they would parse as an offset
27
28       -c, --chip <chip>
29              restrict scope to a particular chip
30
31       -C, --consumer <name> consumer name applied to requested lines (default
32              is 'gpioget')
33
34       -h, --help
35              display this help and exit
36
37       -l, --active-low
38              treat the line as active low
39
40       -p, --hold-period <period>
41              wait between requesting the lines and reading the values
42
43       --numeric
44              display line values as '0' (inactive) or '1' (active)
45
46       -s, --strict
47              abort if requested line names are not unique
48
49       --unquoted
50              don't quote line names
51
52       -v, --version
53              output version information and exit
54
55   Chips:
56              A GPIO chip may be identified by number, name,  or  path.   e.g.
57              '0',  'gpiochip0',  and  '/dev/gpiochip0'  all refer to the same
58              chip.
59
60   Periods:
61              Periods are taken as milliseconds unless  units  are  specified.
62              e.g. 10us.  Supported units are 's', 'ms', and 'us'.
63

AUTHOR

65       Bartosz Golaszewski <bartekgola@gmail.com>
66

REPORTING BUGS

68       Report bugs to:
69           Bartosz Golaszewski <bartekgola@gmail.com>
70           linux-gpio <linux-gpio@vger.kernel.org>
71
73       Copyright © 2017-2023 Bartosz Golaszewski License: GPL-2.0-or-later
74       This  is  free  software:  you  are free to change and redistribute it.
75       There is NO WARRANTY, to the extent permitted by law.
76
77
78
79libgpiod v2.0.2                   August 2023                       GPIOGET(1)
Impressum