blob: c47a4a9682568185366718e5496a9b3b8399b447 [file] [log] [blame]
Uwe Hermanncd474af2008-01-18 18:04:28 +00001.TH SUPERIOTOOL 8 "January 18, 2008"
Uwe Hermann09203572007-10-07 15:26:40 +00002.SH NAME
3superiotool \- Super I/O detection tool
4.SH SYNOPSIS
Stefan Reinauer14e22772010-04-27 06:56:47 +00005.B superiotool \fR[\fB\-delVvh\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
Uwe Hermanncd474af2008-01-18 18:04:28 +000020The list of supported Super I/O chips is available at
21.BR http://coreboot.org/Superiotool#Supported_devices ","
22but it can also be viewed by running
23.BR "superiotool -l" "."
Uwe Hermann09203572007-10-07 15:26:40 +000024.SH OPTIONS
25If no command line option is specified,
26.B superiotool
27merely tries to detect the Super I/O chip.
Uwe Hermann59b99d92007-11-29 02:43:50 +000028You must use the
29.B "\-d"
Uwe Hermann09203572007-10-07 15:26:40 +000030option to dump the Super I/O register contents.
31.TP
32.B "\-d, \-\-dump"
33Dump Super I/O registers (if the Super I/O chip is detected and
34.B superiotool
35supports the
36.B "\-\-dump"
Uwe Hermann6dbc0e12007-10-11 18:30:05 +000037option for this chip). The output will look something like this:
38.sp
Uwe Hermanncd474af2008-01-18 18:04:28 +000039.B "$ superiotool -d"
Uwe Hermann6dbc0e12007-10-11 18:30:05 +000040.br
41Found SMSC FDC37N769 (id=0x28, rev=0x01) at 0x3f0
42.br
43Register dump:
44.br
45idx 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11...
46.br
47val 20 90 80 f4 00 00 ff 00 00 00 40 00 0e 28 01 00 00 00...
48.br
49def 28 9c 88 70 00 00 ff 00 00 00 00 00 02 28 NA 00 00 80...
50.sp
51The
52.B idx
53fields contain the register numbers/indexes of the Super I/O, the
54.B val
55fields contain the contents of the respective register as read from the
56Super I/O, and the
57.B def
58fields contain the default values for the respective register, as specified
59in the datasheet.
60.sp
61The numbers in the output are all in hex format, and some special values
62may also occur:
63.BR NA " stands for"
64.I "not available"
65(i.e., the datasheet doesn't specify a default value for the respective
66register),
67.BR RR " means"
68.I reserved
69(the datasheet explicitly marks this register as reserved), and
70.BR MM " means"
71.IR misc ,
72which can mean several things. It's recommended to consult the datasheet for
73detailed information about the
74.BR MM " fields."
Uwe Hermann09203572007-10-07 15:26:40 +000075.TP
Ronald Hoogenboom0be73bb2008-02-25 22:32:41 +000076.B "\-e, \-\-extra-dump"
77Dump extra secondary register contents too, if available. Only in combination
78with the
79.B --dump
Uwe Hermanneec5ff42008-03-01 18:49:39 +000080option. This option will, for instance, dump the environmental controller (EC)
81configuration registers for the ITE IT8716F chip. The format is similar to
Ronald Hoogenboom0be73bb2008-02-25 22:32:41 +000082the output of the
83.B --dump
84option.
85.TP
Robinson P. Tryon552cfb72008-01-15 22:30:55 +000086.B "\-l, \-\-list-supported"
87List all Super I/O chips recognized by
88.BR superiotool ". The phrase"
Uwe Hermanncd474af2008-01-18 18:04:28 +000089.BR "(dump available)"
Robinson P. Tryon552cfb72008-01-15 22:30:55 +000090following a chip name indicates that
91.B superiotool
92supports the
93.B --dump
94option for this chip.
95.TP
Uwe Hermann09203572007-10-07 15:26:40 +000096.B "\-V, \-\-verbose"
97Enable verbose mode. This option can be used together with the
Uwe Hermann74b29b92007-11-17 17:13:52 +000098.BR "\-d" " option."
Uwe Hermann6dbc0e12007-10-11 18:30:05 +000099.sp
100The verbose output will not only list for which type of Super I/O the tool
101is scanning, but also at which configuration port it's probing, and which
102Super I/O initialization sequence is used. If no Super I/O was detected
103in a probing run, the returned output will be shown, as it may be useful
104for figuring out which (currently unrecognized) Super I/O chip this may be.
Uwe Hermann09203572007-10-07 15:26:40 +0000105.TP
106.B "\-v, \-\-version"
107Show version information and exit.
108.TP
109.B "\-h, \-\-help"
110Show a help text and exit.
111.SH BUGS
Martin Roth48a243b2014-12-07 22:25:02 -0700112Please report any bugs on the coreboot mailing list
Uwe Hermanncd474af2008-01-18 18:04:28 +0000113.RB "(" http://coreboot.org/Mailinglist ")."
Uwe Hermann6dbc0e12007-10-11 18:30:05 +0000114.SH AUTHORS
115Please see the individual source code files and/or the README file.
Uwe Hermann09203572007-10-07 15:26:40 +0000116.SH LICENCE
117.B superiotool
Uwe Hermann6dbc0e12007-10-11 18:30:05 +0000118is covered by the GNU General Public License (GPL), either version 2 of
119the License, or (at your option) any later version.
Uwe Hermann09203572007-10-07 15:26:40 +0000120.SH SEE ALSO
121.BR sensors-detect (8)