2008-01-18 19:04:28 +01:00
|
|
|
.TH SUPERIOTOOL 8 "January 18, 2008"
|
2007-10-07 17:26:40 +02:00
|
|
|
.SH NAME
|
|
|
|
superiotool \- Super I/O detection tool
|
|
|
|
.SH SYNOPSIS
|
2010-04-27 08:56:47 +02:00
|
|
|
.B superiotool \fR[\fB\-delVvh\fR]
|
2007-10-07 17:26:40 +02:00
|
|
|
.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
|
2008-01-18 16:34:24 +01:00
|
|
|
It is mainly used for coreboot development purposes (see coreboot.org
|
|
|
|
for details on coreboot), but it may also be useful for other things.
|
2007-10-11 20:30:05 +02:00
|
|
|
.PP
|
2008-01-18 19:04:28 +01:00
|
|
|
The list of supported Super I/O chips is available at
|
2017-06-05 12:33:23 +02:00
|
|
|
.BR https://coreboot.org/Superiotool#Supported_devices ","
|
2008-01-18 19:04:28 +01:00
|
|
|
but it can also be viewed by running
|
|
|
|
.BR "superiotool -l" "."
|
2007-10-07 17:26:40 +02:00
|
|
|
.SH OPTIONS
|
|
|
|
If no command line option is specified,
|
|
|
|
.B superiotool
|
|
|
|
merely tries to detect the Super I/O chip.
|
2007-11-29 03:43:50 +01:00
|
|
|
You must use the
|
|
|
|
.B "\-d"
|
2007-10-07 17:26:40 +02:00
|
|
|
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"
|
2007-10-11 20:30:05 +02:00
|
|
|
option for this chip). The output will look something like this:
|
|
|
|
.sp
|
2008-01-18 19:04:28 +01:00
|
|
|
.B "$ superiotool -d"
|
2007-10-11 20:30:05 +02:00
|
|
|
.br
|
|
|
|
Found SMSC FDC37N769 (id=0x28, rev=0x01) at 0x3f0
|
|
|
|
.br
|
|
|
|
Register dump:
|
|
|
|
.br
|
|
|
|
idx 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11...
|
|
|
|
.br
|
|
|
|
val 20 90 80 f4 00 00 ff 00 00 00 40 00 0e 28 01 00 00 00...
|
|
|
|
.br
|
|
|
|
def 28 9c 88 70 00 00 ff 00 00 00 00 00 02 28 NA 00 00 80...
|
|
|
|
.sp
|
|
|
|
The
|
|
|
|
.B idx
|
|
|
|
fields contain the register numbers/indexes of the Super I/O, the
|
|
|
|
.B val
|
|
|
|
fields contain the contents of the respective register as read from the
|
|
|
|
Super I/O, and the
|
|
|
|
.B def
|
|
|
|
fields contain the default values for the respective register, as specified
|
|
|
|
in the datasheet.
|
|
|
|
.sp
|
|
|
|
The numbers in the output are all in hex format, and some special values
|
|
|
|
may also occur:
|
|
|
|
.BR NA " stands for"
|
|
|
|
.I "not available"
|
|
|
|
(i.e., the datasheet doesn't specify a default value for the respective
|
|
|
|
register),
|
|
|
|
.BR RR " means"
|
|
|
|
.I reserved
|
|
|
|
(the datasheet explicitly marks this register as reserved), and
|
|
|
|
.BR MM " means"
|
|
|
|
.IR misc ,
|
|
|
|
which can mean several things. It's recommended to consult the datasheet for
|
|
|
|
detailed information about the
|
|
|
|
.BR MM " fields."
|
2007-10-07 17:26:40 +02:00
|
|
|
.TP
|
2008-02-25 23:32:41 +01:00
|
|
|
.B "\-e, \-\-extra-dump"
|
|
|
|
Dump extra secondary register contents too, if available. Only in combination
|
|
|
|
with the
|
|
|
|
.B --dump
|
2008-03-01 19:49:39 +01:00
|
|
|
option. This option will, for instance, dump the environmental controller (EC)
|
|
|
|
configuration registers for the ITE IT8716F chip. The format is similar to
|
2008-02-25 23:32:41 +01:00
|
|
|
the output of the
|
|
|
|
.B --dump
|
|
|
|
option.
|
|
|
|
.TP
|
2008-01-15 23:30:55 +01:00
|
|
|
.B "\-l, \-\-list-supported"
|
|
|
|
List all Super I/O chips recognized by
|
|
|
|
.BR superiotool ". The phrase"
|
2008-01-18 19:04:28 +01:00
|
|
|
.BR "(dump available)"
|
2008-01-15 23:30:55 +01:00
|
|
|
following a chip name indicates that
|
|
|
|
.B superiotool
|
|
|
|
supports the
|
|
|
|
.B --dump
|
|
|
|
option for this chip.
|
|
|
|
.TP
|
2007-10-07 17:26:40 +02:00
|
|
|
.B "\-V, \-\-verbose"
|
|
|
|
Enable verbose mode. This option can be used together with the
|
2007-11-17 18:13:52 +01:00
|
|
|
.BR "\-d" " option."
|
2007-10-11 20:30:05 +02:00
|
|
|
.sp
|
|
|
|
The verbose output will not only list for which type of Super I/O the tool
|
|
|
|
is scanning, but also at which configuration port it's probing, and which
|
|
|
|
Super I/O initialization sequence is used. If no Super I/O was detected
|
|
|
|
in a probing run, the returned output will be shown, as it may be useful
|
|
|
|
for figuring out which (currently unrecognized) Super I/O chip this may be.
|
2007-10-07 17:26:40 +02:00
|
|
|
.TP
|
|
|
|
.B "\-v, \-\-version"
|
|
|
|
Show version information and exit.
|
|
|
|
.TP
|
|
|
|
.B "\-h, \-\-help"
|
|
|
|
Show a help text and exit.
|
|
|
|
.SH BUGS
|
2014-12-08 06:25:02 +01:00
|
|
|
Please report any bugs on the coreboot mailing list
|
2017-06-05 12:33:23 +02:00
|
|
|
.RB "(" https://coreboot.org/Mailinglist ")."
|
2007-10-11 20:30:05 +02:00
|
|
|
.SH AUTHORS
|
|
|
|
Please see the individual source code files and/or the README file.
|
2007-10-07 17:26:40 +02:00
|
|
|
.SH LICENCE
|
|
|
|
.B superiotool
|
2007-10-11 20:30:05 +02:00
|
|
|
is covered by the GNU General Public License (GPL), either version 2 of
|
|
|
|
the License, or (at your option) any later version.
|
2007-10-07 17:26:40 +02:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR sensors-detect (8)
|