| 1 | .TH ISASET 8 "May 2005" |
|---|
| 2 | .SH "NAME" |
|---|
| 3 | isaset \- set ISA registers |
|---|
| 4 | |
|---|
| 5 | .SH SYNOPSIS |
|---|
| 6 | .B isaset |
|---|
| 7 | .RB [ -y ] |
|---|
| 8 | .I addrreg |
|---|
| 9 | .I datareg |
|---|
| 10 | .I address |
|---|
| 11 | .I value |
|---|
| 12 | .RI [ mask ] |
|---|
| 13 | #for I2C-like access |
|---|
| 14 | .br |
|---|
| 15 | .B isaset |
|---|
| 16 | .RB [ -y ] |
|---|
| 17 | .BI "-f " address |
|---|
| 18 | .I value |
|---|
| 19 | .RI [ mask ] |
|---|
| 20 | #for flat address space |
|---|
| 21 | |
|---|
| 22 | .SH DESCRIPTION |
|---|
| 23 | isaset is a small helper program to set registers visible through the ISA |
|---|
| 24 | bus. |
|---|
| 25 | |
|---|
| 26 | .SH OPTIONS |
|---|
| 27 | .TP |
|---|
| 28 | .B -f |
|---|
| 29 | Enable flat address space mode. |
|---|
| 30 | .TP |
|---|
| 31 | .B -y |
|---|
| 32 | Disable interactive mode. By default, isaset will wait for a confirmation |
|---|
| 33 | from the user before messing with the ISA bus. When this flag is used, it |
|---|
| 34 | will perform the operation directly. This is mainly meant to be used in |
|---|
| 35 | scripts. |
|---|
| 36 | |
|---|
| 37 | .SH OPTIONS (I2C-like access mode) |
|---|
| 38 | Four options must be provided to isaset. \fIaddrreg\fR contains the |
|---|
| 39 | ISA address of the address register for the chip to probe; \fIdatareg\fR |
|---|
| 40 | contains the address of the data register. Both addresses are integers between |
|---|
| 41 | 0x0000 and 0x3FFF. Usually, if the chip's base address is 0x0nn0, the |
|---|
| 42 | address register is at 0x0nn5 and the data register is at 0x0nn6. The most |
|---|
| 43 | common base address for hardware monitoring chips is 0x0290. |
|---|
| 44 | For Super-I/O chips, address register is typically at 0x2E with data |
|---|
| 45 | register at 0x2F. |
|---|
| 46 | The \fIaddress\fR and \fIvalue\fR parameters are two integers between |
|---|
| 47 | 0x00 and 0xFF. isaset will write value \fIvalue\fR to address \fIaddress\fR. |
|---|
| 48 | An optional \fImask\fR can be provided as a fifth parameter, preserving |
|---|
| 49 | unmasked bits at the written location. |
|---|
| 50 | |
|---|
| 51 | .SH OPTIONS (flat address space mode) |
|---|
| 52 | In flat mode, two parameters must |
|---|
| 53 | be provided. \fIaddress\fR contains the ISA address of the register to |
|---|
| 54 | write to; it is an integer between 0x0000 and 0xFFFF. Basically, it is |
|---|
| 55 | the sum of the chip's base address and the chip register's address. isaset |
|---|
| 56 | will write value \fIvalue\fR at this address. |
|---|
| 57 | An optional \fImask\fR can be provided as a third parameter, preserving |
|---|
| 58 | unmasked bits at the written location. |
|---|
| 59 | |
|---|
| 60 | .SH WARNING |
|---|
| 61 | Poking around in ISA data space is extremely dangerous. |
|---|
| 62 | Running isaset with random parameters can cause system |
|---|
| 63 | crashes, data loss, and worse! Be extremely careful when using |
|---|
| 64 | this program. |
|---|
| 65 | |
|---|
| 66 | .SH CONFORMING TO |
|---|
| 67 | lm_sensors-2.x |
|---|
| 68 | |
|---|
| 69 | .SH SEE ALSO |
|---|
| 70 | i2cset(8), isadump(8) |
|---|
| 71 | |
|---|
| 72 | .SH AUTHOR |
|---|
| 73 | Mark D. Studebaker, and the lm_sensors group |
|---|
| 74 | (http://www.lm-sensors.org/) |
|---|
| 75 | .PP |
|---|
| 76 | This manual page was shamelessly ripped from the i2cset and isadump manual |
|---|
| 77 | pages by Jean Delvare. |
|---|