mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-03 15:55:15 +00:00
Document the new flat address options.
Add a few notes. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2476 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.TH ISADUMP 8 "March 2004"
|
.TH ISADUMP 8 "April 2004"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
isadump \- examine ISA registers
|
isadump \- examine ISA registers
|
||||||
|
|
||||||
@@ -11,13 +11,14 @@ isadump \- examine ISA registers
|
|||||||
.br
|
.br
|
||||||
.B isadump
|
.B isadump
|
||||||
.BI "-f " address
|
.BI "-f " address
|
||||||
|
.RI [ "range " [ "bank " [ bankreg ]]]
|
||||||
(for flat address space)
|
(for flat address space)
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
isadump is a small helper program to examine registers visible through the ISA
|
isadump is a small helper program to examine registers visible through the ISA
|
||||||
bus. It is intended to probe any chip that lives on the ISA bus working with an
|
bus. It is intended to probe any chip that lives on the ISA bus working with an
|
||||||
address register and a data register (I\u2\dC-like access) or a flat 256 bytes
|
address register and a data register (I\u2\dC-like access) or a flat range (of up
|
||||||
range.
|
to 256 bytes).
|
||||||
|
|
||||||
.SH OPTIONS (I\u2\dC-like access mode)
|
.SH OPTIONS (I\u2\dC-like access mode)
|
||||||
At least two options must be provided to isadump. \fIaddrreg\fR contains the
|
At least two options must be provided to isadump. \fIaddrreg\fR contains the
|
||||||
@@ -27,16 +28,44 @@ contains the address of the data register. Both addresses are integers between
|
|||||||
address register is at 0x0nn5 and the data register is at 0x0nn6. The most
|
address register is at 0x0nn5 and the data register is at 0x0nn6. The most
|
||||||
common base address for hardware monitoring chips is 0x0290.
|
common base address for hardware monitoring chips is 0x0290.
|
||||||
.PP
|
.PP
|
||||||
The \fIbank\fR and \fIbankreg\fR parameters are useful on the W83781D and
|
For Super-I/O chips, address register is typically at 0x2E with data
|
||||||
similar chips (at the time of writing, all Winbond and Asus chips).
|
register at 0x2F.
|
||||||
\fIbank\fR is an integer between 0 and 7, and \fIbankreg\fR is an integer
|
.PP
|
||||||
between 0x00 and 0xFF (default value: 0x4E). The W83781D data sheet has more
|
The \fIbank\fR and \fIbankreg\fR parameters are useful on the Winbond chips
|
||||||
information on bank selection.
|
as well as on Super-I/O chips.
|
||||||
|
\fIbank\fR is an integer between 0 and 15, and \fIbankreg\fR is an integer
|
||||||
|
between 0x00 and 0xFF (default value: 0x4E for Winbond chips, 0x07
|
||||||
|
for Super-I/O chips). The W83781D datasheet has more information on bank
|
||||||
|
selection.
|
||||||
|
|
||||||
.SH OPTIONS (flat address space mode)
|
.SH OPTIONS (flat address space mode)
|
||||||
In flat mode (triggered by the \fB-f\fR flag), only one parameter must be
|
In flat mode (triggered by the \fB-f\fR flag), only one parameter is
|
||||||
provided. \fIaddress\fR contains the ISA address of the address register
|
mandatory. \fIaddress\fR contains the ISA address of the chip to probe;
|
||||||
for the chip to probe; it is an integer between 0x0000 and 0xFFFF.
|
it is an integer between 0x0000 and 0xFFFF.
|
||||||
|
If provided, \fIrange\fR is how many bytes should be read (must be a
|
||||||
|
multiple of 16). If the range isn't provided, it defaults to 256 bytes
|
||||||
|
and the address is forcibly aligned on a 256-byte boundary.
|
||||||
|
.PP
|
||||||
|
The \fIbank\fR and \fIbankreg\fR parameters are useful on the National
|
||||||
|
Semiconductor PC87365 and PC87366 Super-I/O chips.
|
||||||
|
\fIbank\fR is an integer between 0 and 15, and \fIbankreg\fR is an integer
|
||||||
|
between 0x00 and 0xFF (default value: 0x09; must fit in the specified
|
||||||
|
range). See the PC87365 datasheet for more information on bank selection.
|
||||||
|
|
||||||
|
.SH NOTES
|
||||||
|
If no bank is specified, no bank change operation is performed.
|
||||||
|
.PP
|
||||||
|
If a bank is specified, the original value is restored before isadump exits.
|
||||||
|
.PP
|
||||||
|
Dumping Super-I/O chips is typically a two-step process. First, you will have
|
||||||
|
to access the main Super-I/O address using a command like:
|
||||||
|
isadump 0x2e 0x2f 0x09.
|
||||||
|
This will select logical device 9 (correct value depend on the chip). At 0x60
|
||||||
|
you will find the logical device address word, for example "ec c0".
|
||||||
|
Then you can use a command like:
|
||||||
|
isadump -f 0xecc0 16.
|
||||||
|
This will dump the logical device registers. The correct range depends on
|
||||||
|
the chip.
|
||||||
|
|
||||||
.SH WARNING
|
.SH WARNING
|
||||||
Poking around in ISA data space is extremely dangerous.
|
Poking around in ISA data space is extremely dangerous.
|
||||||
@@ -52,7 +81,8 @@ i2cdump(8)
|
|||||||
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Frodo Looijaard, Mark D. Studebaker, and the lm_sensors group
|
Frodo Looijaard, Mark D. Studebaker, and the lm_sensors group
|
||||||
http://www.lm-sensors.nu/
|
(http://www.lm-sensors.nu/)
|
||||||
|
.PP
|
||||||
This manual page was originally written by David Z Maze <dmaze@debian.org> for
|
This manual page was originally written by David Z Maze <dmaze@debian.org> for
|
||||||
the Debian GNU/Linux system. It was then reviewed by the lm_sensors team and
|
the Debian GNU/Linux system. It was then reviewed and augmented by the lm_sensors
|
||||||
is now part of the lm_sensors source distribution.
|
team and is now part of the lm_sensors source distribution.
|
||||||
|
Reference in New Issue
Block a user