| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH GPIONOTIFY "1" "June 2026" "libgpiod v2.2.5" "gpionotify" |
| 3 |
.SH NAME |
| 4 |
gpionotify \- libgpiod command-line utility |
| 5 |
.SH SYNOPSIS |
| 6 |
.B gpionotify |
| 7 |
[\fI\,OPTIONS\/\fR] \fI\,<line>\/\fR... |
| 8 |
.SH DESCRIPTION |
| 9 |
Wait for changes to info on GPIO lines and print them to standard output. |
| 10 |
.PP |
| 11 |
Lines are specified by name, or optionally by offset if the chip option |
| 12 |
is provided. |
| 13 |
.SH OPTIONS |
| 14 |
.TP |
| 15 |
\fB\-\-banner\fR |
| 16 |
display a banner on successful startup |
| 17 |
.TP |
| 18 |
\fB\-\-by\-name\fR |
| 19 |
treat lines as names even if they would parse as an offset |
| 20 |
.TP |
| 21 |
\fB\-c\fR, \fB\-\-chip\fR <chip> |
| 22 |
restrict scope to a particular chip |
| 23 |
.TP |
| 24 |
\fB\-e\fR, \fB\-\-event\fR <event> |
| 25 |
specify the events to monitor |
| 26 |
Possible values: 'requested', 'released', 'reconfigured'. |
| 27 |
(default is all events) |
| 28 |
.TP |
| 29 |
\fB\-h\fR, \fB\-\-help\fR |
| 30 |
display this help and exit |
| 31 |
.TP |
| 32 |
\fB\-F\fR, \fB\-\-format\fR <fmt> |
| 33 |
specify a custom output format |
| 34 |
.TP |
| 35 |
\fB\-\-idle\-timeout\fR <period> |
| 36 |
exit gracefully if no events occur for the period specified |
| 37 |
.TP |
| 38 |
\fB\-\-localtime\fR |
| 39 |
convert event timestamps to local time |
| 40 |
.TP |
| 41 |
\fB\-n\fR, \fB\-\-num\-events\fR <num> |
| 42 |
exit after processing num events |
| 43 |
.TP |
| 44 |
\fB\-q\fR, \fB\-\-quiet\fR |
| 45 |
don't generate any output |
| 46 |
.TP |
| 47 |
\fB\-s\fR, \fB\-\-strict\fR |
| 48 |
abort if requested line names are not unique |
| 49 |
.TP |
| 50 |
\fB\-\-unquoted\fR |
| 51 |
don't quote line or consumer names |
| 52 |
.TP |
| 53 |
\fB\-\-utc\fR |
| 54 |
convert event timestamps to UTC |
| 55 |
.TP |
| 56 |
\fB\-v\fR, \fB\-\-version\fR |
| 57 |
output version information and exit |
| 58 |
.SS "Chips:" |
| 59 |
.IP |
| 60 |
A GPIO chip may be identified by number, name, or path. |
| 61 |
e.g. '0', 'gpiochip0', and '/dev/gpiochip0' all refer to the same chip. |
| 62 |
.SS "Periods:" |
| 63 |
.IP |
| 64 |
Periods are taken as milliseconds unless units are specified. e.g. 10us. |
| 65 |
Supported units are 'm', 's', 'ms', and 'us' for minutes, seconds, milliseconds and |
| 66 |
microseconds respectively. |
| 67 |
.SS "Format specifiers:" |
| 68 |
.TP |
| 69 |
%o |
| 70 |
GPIO line offset |
| 71 |
.TP |
| 72 |
%l |
| 73 |
GPIO line name |
| 74 |
.TP |
| 75 |
%c |
| 76 |
GPIO chip name |
| 77 |
.TP |
| 78 |
%e |
| 79 |
numeric info event type ('1' \- requested, '2' \- released or '3' \- reconfigured) |
| 80 |
.TP |
| 81 |
%E |
| 82 |
info event type ('requested', 'released' or 'reconfigured') |
| 83 |
.TP |
| 84 |
%a |
| 85 |
line attributes |
| 86 |
.TP |
| 87 |
%C |
| 88 |
consumer |
| 89 |
.TP |
| 90 |
%S |
| 91 |
event timestamp as seconds |
| 92 |
.TP |
| 93 |
%U |
| 94 |
event timestamp as UTC |
| 95 |
.TP |
| 96 |
%L |
| 97 |
event timestamp as local time |
| 98 |
.SH AUTHOR |
| 99 |
Bartosz Golaszewski <[email protected]> |
| 100 |
.SH "REPORTING BUGS" |
| 101 |
Report bugs to: |
| 102 |
Bartosz Golaszewski <[email protected]> |
| 103 |
linux-gpio <[email protected]> |
| 104 |
.SH COPYRIGHT |
| 105 |
Copyright \(co 2017\-2023 Bartosz Golaszewski |
| 106 |
License: GPL\-2.0\-or\-later |
| 107 |
.br |
| 108 |
This is free software: you are free to change and redistribute it. |
| 109 |
There is NO WARRANTY, to the extent permitted by law. |