forked from missinglinkelectronics/libuio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
lsuio.texi
204 lines (162 loc) · 5.83 KB
/
lsuio.texi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
\input texinfo @c -*-texinfo-*-
@c This file uses the @command command introduced in Texinfo 4.0.
@c %**start of header
@setfilename lsuio.info
@settitle lsuio.
@finalout
@setchapternewpage odd
@c %**end of header
@set VERSION 0.2.6
@ifinfo
This file documents the @command{lsoio} command which lists all UIO devices.
Copyright (C) 2011-2013 Benedikt Spranger
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
@ignore
Permission is granted to process this file through TeX and print the
results, provided the printed document carries copying permission
notice identical to this one except for the removal of this paragraph
(this paragraph not being relevant to the printed manual).
@end ignore
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation approved
by the Foundation.
@end ifinfo
@titlepage
@title lsuio
@subtitle list all UIO devices
@subtitle for lsuio Version @value{VERSION}
@author by Hans-Jürgen Koch, Benedikt Spranger
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 2011 Benedikt Spranger
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation
approved by the Author.
@end titlepage
@c All the nodes can be updated using the EMACS command
@c texinfo-every-node-update, which is normally bound to C-c C-u C-e.
@c node-name, next, previous, up
@node Top, Instructions, (dir), (dir)
@ifinfo
This file documents the @command{lsuio} command.
@end ifinfo
@c All the menus can be updated with the EMACS command
@c texinfo-all-menus-update, which is normally bound to C-c C-u C-a.
@menu
* Instructions:: How to read this manual.
* Copying:: How you can copy and share @command{lsuio}.
* Overview:: Preliminary information.
* Sample:: Sample output from @command{lsuio}.
* Invoking lsuio:: How to run @command{lsuio}.
* Problems:: Reporting bugs.
* Concept Index:: Index of concepts.
@end menu
@node Instructions, Copying, Top, Top
@chapter How to Read This Manual
@cindex reading
@cindex manual, how to read
@cindex how to read
START:
To read this manual, begin at the beginning, reading from left to right
and top to bottom, until you get to the end. Then stop. You may pause
for a beer anywhere in the middle as well, if you wish. (Please note,
however, that The King strongly advises against heavy use of
prescription pharmaceuticals, based on his extensive personal and
professional experience.)
you are drunk sice START?
please replay at START...
the self-security due to infinity is intended!
please review your X-drunk status!
@node Copying, Overview, Instructions, Top
@chapter Copying
@include lgpl21.texi
@node Overview, Sample, Copying, Top
@chapter Overview
@cindex greetings
@cindex overview
The @command{lsuio} lists all UIO Devices in a system.
@node Sample, Invoking lsuio, Overview, Top
@chapter Sample Output
@cindex sample
Here are some realistic examples of running @command{lsuio}.
This is the output of the command @samp{lsuio}:
@example
Name : FlexCard PCI
Version: 0.0.1
DevId : 254:0
DevNode: /dev/uio0
@end example
This is the output of the command @samp{lsuio --help}:
@example
Usage: lsuio [OPTION...]
list uio devices.
-a, --access open and close all devices
-v, --verbose Print more information
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Report bugs to https://github.com/linutronix/libuio/issues.
@end example
@node Invoking lsuio, Problems, Sample, Top
@chapter Invoking @command{lsuio}
@cindex invoking
@cindex version
@cindex options
@cindex usage
@cindex help
@cindex getting help
The format for running the @command{lsuio} program is:
@example
lsuio @var{option} @dots{}
@end example
@code{lsuio} supports the following options:
@c Formatting copied from the Texinfo 4.0 manual.
@table @code
@item --access
@itemx -a
Perform a uio_open() and uio_close() on each UIO device.
@item --verbose
@itemx -v
Print more information.
@item --help
@itemx -?
Print an informative help message describing the options and then exit
successfully.
@item --usage
Briefly list the options.
@item --version
@itemx -V
Print the version number of @command{lsuio} on the standard output
and then exit successfully.
@end table
@node Problems, Concept Index, Invoking lsuio, Top
@chapter Reporting Bugs
@cindex bugs
@cindex problems
If you find a bug in @command{lsuio}, please report it on
https://github.com/linutronix/libuio/issues.
Include the version number, which you can find by running
@w{@samp{lsuio --version}}. Also include in your report the output that the
program produced and the output you expected.@refill
@node Concept Index, , Problems, Top
@unnumbered Concept Index
@cindex tail recursion
@printindex cp
@shortcontents
@contents
@bye