You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/iio_attr.1.in
+46-9Lines changed: 46 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -50,25 +50,51 @@ iio_attr \- list IIO devices, and read/write device attributes
50
50
.Ioptions
51
51
]
52
52
-C [attr]
53
+
.br
54
+
.Biio_attr
55
+
-S <arg>
56
+
.br
57
+
.Biio_attr
58
+
-h
59
+
53
60
.SH DESCRIPTION
54
61
.Biio_attr
55
62
is a utility for displaying information about local or remote IIO devices.
56
63
By providing an optional value,
57
64
.Biio_attr
58
65
will attempt to write the new value to the attribute.
59
66
60
-
.SH OPTIONS
67
+
.SH COMMANDS
68
+
.TP
69
+
The iio_attr utility has a few main options, which control what the main utility of the application is.
70
+
.TP
71
+
.B\-d,\-\-device-attr
72
+
Read and Write IIO device attributes
73
+
.TP
74
+
.B\-c\-\-channel-attr
75
+
Read and Write IIO channel attributes
76
+
.TP
77
+
.B\-B\-\-buffer-attr
78
+
Read and Write IIO Buffer attributes
79
+
.TP
80
+
.B\-C\-\-context-attr
81
+
Read and Write IIO Context attributes
82
+
.TP
83
+
.B\-D\-\-debug-attr
84
+
Read and Write IIO Debug attributes
85
+
.TP
86
+
.B\-S,\-\-Scan
87
+
Scan for available IIO contexts, optional arg of specific backend(s) 'ip', 'usb' or 'ip:usb'. If no argument is given, it checks all that are availble.
61
88
.TP
62
89
.B\-h,\-\-help
63
90
Tells
64
91
.Iiio_attr
65
92
to display some help, and then quit.
66
-
.TP
67
-
.B\-I,\-\-ignore-case
68
-
When pattern matching devices, channels or attributes, ignore case
93
+
94
+
.SH OPTIONS
69
95
.TP
70
96
.B\-a,\-\-auto
71
-
Look around for devices (locally, and usb), and if there is only one device
97
+
Look around for devices (locally, ip, and usb), and if there is only one device
72
98
found, connect to it.
73
99
.TP
74
100
.B\-u,\-\-uri
@@ -77,14 +103,19 @@ The Uniform Resource Identifier
77
103
for connecting to devices, can be one of:
78
104
.RS
79
105
.IPip:[address]
80
-
network address, either numeric (192.168.0.1) or network hostname
106
+
network address, either numeric (192.168.0.1) or network hostname (pluto.local)
81
107
.IPip:
82
108
blank, if compiled with zeroconf support, will find an IIO device on network
83
109
.IPusb:[device:port:instance]
84
110
normally returned from
85
111
.Biio_info-s
86
-
.IPserial:[port]
87
-
.IPlocal
112
+
or
113
+
.Biio_attr-S
114
+
.IPusb:
115
+
blank, if there is only one IIO device plugged into USB, find it, and attach to it.
116
+
.IPserial:[port],[baud],[config]
117
+
serial configuration, serial:/dev/ttyUSB0,115200,8n1 115200 baud, 8 data bits, no partity, one stop bit
118
+
.IPlocal:
88
119
with no address part
89
120
.RE
90
121
.TP
@@ -96,7 +127,13 @@ Filters channels by output channels only
96
127
.TP
97
128
.B\-s,\-\-scan-channel
98
129
Filters channels by scan channels only
99
-
130
+
.TP
131
+
.B\-I,\-\-ignore-case
132
+
When pattern matching devices, channels or attributes, ignore case
133
+
.TP
134
+
.B\-g,\-\-generate-code<arg>
135
+
Generate small C or python snippets that emulate what you are doing on the command line. Argument is a file name 'foo.c' or 'foo.py'
136
+
.TP
100
137
.SH RETURN VALUE
101
138
If the specified device is not found, a non-zero exit code is returned.
0 commit comments