Add a manpage for superiotool (trivial).
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 7 Oct 2007 15:26:40 +0000 (15:26 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 7 Oct 2007 15:26:40 +0000 (15:26 +0000)
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2832 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/superiotool/Makefile
util/superiotool/superiotool.8 [new file with mode: 0644]

index 1491075e7f86ebe2d4c3ec43fdecd16939c9fb0c..e8ba2586825f2a15ff2a87afd7928b9fe5d91835 100644 (file)
@@ -37,6 +37,8 @@ $(PROGRAM): $(OBJS) superiotool.h
 
 install: $(PROGRAM)
        $(INSTALL) $(PROGRAM) $(PREFIX)/bin
+       mkdir -p $(PREFIX)/share/man/man8
+       $(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
 
 clean:
        rm -f $(PROGRAM) *.o
diff --git a/util/superiotool/superiotool.8 b/util/superiotool/superiotool.8
new file mode 100644 (file)
index 0000000..f81ebbe
--- /dev/null
@@ -0,0 +1,58 @@
+.TH SUPERIOTOOL 8 "October 7, 2007"
+.SH NAME
+superiotool \- Super I/O detection tool
+.SH SYNOPSIS
+.B superiotool \fR[\fB\-dDVvh\fR] 
+.SH DESCRIPTION
+.B superiotool
+is a GPL'd user-space utility which can
+.PP
+ * detect which Super I/O chip is soldered onto your mainboard,
+.PP
+ * at which configuration port it's located (usually 0x2e or 0x4e), and
+.PP
+ * dump all register contents of the Super I/O chip, together with the
+   default values as per datasheet (to make comparing the values easy).
+.PP
+It is mainly used for LinuxBIOS development purposes (see linuxbios.org
+for details on LinuxBIOS), but it may also be useful for other things.
+.SH OPTIONS
+If no command line option is specified,
+.B superiotool
+merely tries to detect the Super I/O chip.
+You must use either the
+.BR "\-d" " or the " "\-D"
+option to dump the Super I/O register contents.
+.TP
+.B "\-d, \-\-dump"
+Dump Super I/O registers (if the Super I/O chip is detected and
+.B superiotool
+supports the
+.B "\-\-dump"
+option for this chip).
+.TP
+.B "\-D, \-\-dump-readable"
+Dump Super I/O registers in human-readable format (if the Super I/O chip
+is detected and
+.B superiotool
+supports the
+.B "\-\-dump-readable"
+option for this chip).
+.TP
+.B "\-V, \-\-verbose"
+Enable verbose mode. This option can be used together with the
+.BR "\-d" " or " "\-D" " option".
+.TP
+.B "\-v, \-\-version"
+Show version information and exit.
+.TP
+.B "\-h, \-\-help"
+Show a help text and exit.
+.SH BUGS
+Please report any bugs at http://tracker.linuxbios.org/trac/LinuxBIOS/
+or on the LinuxBIOS mailing list (http://linuxbios.org/Mailinglist).
+.SH LICENCE
+.B superiotool
+is covered by the GNU General Public License (GPL), version 2 or later.
+.SH SEE ALSO
+.BR sensors-detect (8)