-
Notifications
You must be signed in to change notification settings - Fork 0
/
lsuio.1
71 lines (71 loc) · 2.33 KB
/
lsuio.1
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
.\" hey, Emacs: -*- nroff -*-
.\" lsuio is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License version 2 as
.\" published by the Free Software Foundation.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; see the file COPYING. If not, write to
.\" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.TH LSUIO 1 "February 22, 2007"
.\" Please update the above date whenever this man page is modified.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins (default)
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
lsuio \- List UIO devices.
.SH SYNOPSIS
.B lsuio
.RI [ options ]
.SH DESCRIPTION
\fBlsuio\fP lists the Userspace IO devices registered in your system.
.PP
.SH OPTIONS
\fBlsuio\fP accepts the following options:
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-v, \-\-verbose
Extended output, also shows custom attributes registered by each device. To be
more precise, it shows any readable attribute in /sys/class/uio/uioX/device/.
It will neither display nor follow symlinks. Subdirectories are ignored.
.TP
.B \-m, \-\-mmap
Test if device memory can be mapped without problems. This is mainly useful for
UIO device driver authors.
.TP
.B \-u \fInum\fB, \-\-uiodev\fI=num\fP
.RI=num
Show one UIO device only.
.TP
.B \-V, \-\-version
Show version of program.
.SH EXAMPLES
In its simplest form, \fBlsuio\fP can be used without options:
.TP
\fBlsuio\fP
Brief list of UIO devices with their standard attributes.
.TP
\fBlsuio -v -m\fP
Verbose list of UIO devices, mmap() test is performed for each device.
.TP
\fBlsuio -v -u 2\fP
Show information for /dev/uio2 only.
.SH SEE ALSO
Kernel UIO docs: Documentation/DocBook/uio-howto.tmpl
.SH AUTHOR
Hans J. Koch <hjk@linutronix.de>.