root/lm-sensors/trunk/prog/dump/isaset.8 @ 4157

Revision 4157, 2.3 KB (checked in by ruik, 7 years ago)

Fix the homepage address

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