blob: 6bd3be0725bed331e3417bc49a990d7d80b6eed3 [file] [log] [blame]
Robinson P. Tryon552cfb72008-01-15 22:30:55 +00001.TH SUPERIOTOOL 8 "January 13, 2008"
Uwe Hermann09203572007-10-07 15:26:40 +00002.SH NAME
3superiotool \- Super I/O detection tool
4.SH SYNOPSIS
Robinson P. Tryon552cfb72008-01-15 22:30:55 +00005.B superiotool \fR[\fB\-dlVvh\fR]
Uwe Hermann09203572007-10-07 15:26:40 +00006.SH DESCRIPTION
7.B superiotool
8is a GPL'd user-space utility which can
9.PP
10 * detect which Super I/O chip is soldered onto your mainboard,
11.PP
12 * at which configuration port it's located (usually 0x2e or 0x4e), and
13.PP
14 * dump all register contents of the Super I/O chip, together with the
15 default values as per datasheet (to make comparing the values easy).
16.PP
Stefan Reinauer997afe62008-01-18 15:34:24 +000017It is mainly used for coreboot development purposes (see coreboot.org
18for details on coreboot), but it may also be useful for other things.
Uwe Hermann6dbc0e12007-10-11 18:30:05 +000019.PP
20The list of supported Super I/O chips is available at:
21.br
Stefan Reinauer997afe62008-01-18 15:34:24 +000022.B http://coreboot.org/Superiotool#Supported_devices
Uwe Hermann09203572007-10-07 15:26:40 +000023.SH OPTIONS
24If no command line option is specified,
25.B superiotool
26merely tries to detect the Super I/O chip.
Uwe Hermann59b99d92007-11-29 02:43:50 +000027You must use the
28.B "\-d"
Uwe Hermann09203572007-10-07 15:26:40 +000029option to dump the Super I/O register contents.
30.TP
31.B "\-d, \-\-dump"
32Dump Super I/O registers (if the Super I/O chip is detected and
33.B superiotool
34supports the
35.B "\-\-dump"
Uwe Hermann6dbc0e12007-10-11 18:30:05 +000036option for this chip). The output will look something like this:
37.sp
38.B "$ ./superiotool -d"
39.br
40Found SMSC FDC37N769 (id=0x28, rev=0x01) at 0x3f0
41.br
42Register dump:
43.br
44idx 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11...
45.br
46val 20 90 80 f4 00 00 ff 00 00 00 40 00 0e 28 01 00 00 00...
47.br
48def 28 9c 88 70 00 00 ff 00 00 00 00 00 02 28 NA 00 00 80...
49.sp
50The
51.B idx
52fields contain the register numbers/indexes of the Super I/O, the
53.B val
54fields contain the contents of the respective register as read from the
55Super I/O, and the
56.B def
57fields contain the default values for the respective register, as specified
58in the datasheet.
59.sp
60The numbers in the output are all in hex format, and some special values
61may also occur:
62.BR NA " stands for"
63.I "not available"
64(i.e., the datasheet doesn't specify a default value for the respective
65register),
66.BR RR " means"
67.I reserved
68(the datasheet explicitly marks this register as reserved), and
69.BR MM " means"
70.IR misc ,
71which can mean several things. It's recommended to consult the datasheet for
72detailed information about the
73.BR MM " fields."
Uwe Hermann09203572007-10-07 15:26:40 +000074.TP
Robinson P. Tryon552cfb72008-01-15 22:30:55 +000075.B "\-l, \-\-list-supported"
76List all Super I/O chips recognized by
77.BR superiotool ". The phrase"
78.BR (dump available)
79following a chip name indicates that
80.B superiotool
81supports the
82.B --dump
83option for this chip.
84.TP
Uwe Hermann09203572007-10-07 15:26:40 +000085.B "\-V, \-\-verbose"
86Enable verbose mode. This option can be used together with the
Uwe Hermann74b29b92007-11-17 17:13:52 +000087.BR "\-d" " option."
Uwe Hermann6dbc0e12007-10-11 18:30:05 +000088.sp
89The verbose output will not only list for which type of Super I/O the tool
90is scanning, but also at which configuration port it's probing, and which
91Super I/O initialization sequence is used. If no Super I/O was detected
92in a probing run, the returned output will be shown, as it may be useful
93for figuring out which (currently unrecognized) Super I/O chip this may be.
Uwe Hermann09203572007-10-07 15:26:40 +000094.TP
95.B "\-v, \-\-version"
96Show version information and exit.
97.TP
98.B "\-h, \-\-help"
99Show a help text and exit.
100.SH BUGS
Stefan Reinauer997afe62008-01-18 15:34:24 +0000101Please report any bugs at http://tracker.coreboot.org/trac/coreboot/
102or on the coreboot mailing list (http://coreboot.org/Mailinglist).
Uwe Hermann6dbc0e12007-10-11 18:30:05 +0000103.SH AUTHORS
104Please see the individual source code files and/or the README file.
Uwe Hermann09203572007-10-07 15:26:40 +0000105.SH LICENCE
106.B superiotool
Uwe Hermann6dbc0e12007-10-11 18:30:05 +0000107is covered by the GNU General Public License (GPL), either version 2 of
108the License, or (at your option) any later version.
Uwe Hermann09203572007-10-07 15:26:40 +0000109.SH SEE ALSO
110.BR sensors-detect (8)