154 lines
3.9 KiB
HTML
154 lines
3.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of ISASET</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>ISASET</H1>
|
|
Section: Maintenance Commands (8)<BR>Updated: April 2011<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
isaset - set ISA registers
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>isaset</B>
|
|
|
|
[<B>-y</B>]
|
|
|
|
[<B>-W</B>|<B>-L</B>]
|
|
|
|
<I>addrreg</I>
|
|
|
|
<I>datareg</I>
|
|
|
|
<I>address</I>
|
|
|
|
<I>value</I>
|
|
|
|
[<I>mask</I>]
|
|
|
|
#for I2C-like access
|
|
<BR>
|
|
|
|
<B>isaset</B>
|
|
|
|
<B>-f</B>
|
|
|
|
[<B>-y</B>]
|
|
|
|
[<B>-W</B>|<B>-L</B>]
|
|
|
|
<I>address</I>
|
|
|
|
<I>value</I>
|
|
|
|
[<I>mask</I>]
|
|
|
|
#for flat address space
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
isaset is a small helper program to set registers visible through the ISA
|
|
bus.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-f</B>
|
|
|
|
<DD>
|
|
Enable flat address space mode.
|
|
<DT id="2"><B>-y</B>
|
|
|
|
<DD>
|
|
Disable interactive mode. By default, isaset will wait for a confirmation
|
|
from the user before messing with the ISA bus. When this flag is used, it
|
|
will perform the operation directly. This is mainly meant to be used in
|
|
scripts.
|
|
<DT id="3"><B>-W</B>
|
|
|
|
<DD>
|
|
Perform a 16-bit write.
|
|
<DT id="4"><B>-L</B>
|
|
|
|
<DD>
|
|
Perform a 32-bit write.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPTIONS (I2C-like access mode)</H2>
|
|
|
|
Four options must be provided to isaset. <I>addrreg</I> contains the
|
|
ISA address of the address register for the chip to probe; <I>datareg</I>
|
|
contains the address of the data register. Both addresses are integers between
|
|
0x0000 and 0x3FFF. Usually, if the chip's base address is 0x0nn0, the
|
|
address register is at 0x0nn5 and the data register is at 0x0nn6. The most
|
|
common base address for hardware monitoring chips is 0x0290.
|
|
For Super-I/O chips, address register is typically at 0x2E with data
|
|
register at 0x2F.
|
|
The <I>address</I> and <I>value</I> parameters are two integers between
|
|
0x00 and 0xFF. isaset will write value <I>value</I> to address <I>address</I>.
|
|
An optional <I>mask</I> can be provided as a fifth parameter, preserving
|
|
unmasked bits at the written location.
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>OPTIONS (flat address space mode)</H2>
|
|
|
|
In flat mode, two parameters must
|
|
be provided. <I>address</I> contains the ISA address of the register to
|
|
write to; it is an integer between 0x0000 and 0xFFFF. Basically, it is
|
|
the sum of the chip's base address and the chip register's address. isaset
|
|
will write value <I>value</I> at this address.
|
|
An optional <I>mask</I> can be provided as a third parameter, preserving
|
|
unmasked bits at the written location.
|
|
<P>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>WARNING</H2>
|
|
|
|
Poking around in ISA data space is extremely dangerous.
|
|
Running isaset with random parameters can cause system
|
|
crashes, data loss, and worse! Be extremely careful when using
|
|
this program.
|
|
<P>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?8+i2cset">i2cset</A>(8), <A HREF="/cgi-bin/man/man2html?8+isadump">isadump</A>(8)
|
|
<P>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Mark D. Studebaker, and the lm_sensors group
|
|
(<A HREF="https://hwmon.wiki.kernel.org/lm_sensors)">https://hwmon.wiki.kernel.org/lm_sensors)</A>
|
|
<P>
|
|
|
|
This manual page was shamelessly ripped from the i2cset and isadump manual
|
|
pages by Jean Delvare.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">OPTIONS (I2C-like access mode)</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">OPTIONS (flat address space mode)</A><DD>
|
|
<DT id="11"><A HREF="#lbAH">WARNING</A><DD>
|
|
<DT id="12"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="13"><A HREF="#lbAJ">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|