xref: /netbsd-src/share/man/man4/aibs.4 (revision 7f21db1c0118155e0dd40b75182e30c589d9f63e)
1.\"	$NetBSD: aibs.4,v 1.4 2010/02/09 22:59:41 wiz Exp $
2.\"	$OpenBSD: aibs.4,v 1.4 2009/07/30 06:30:45 jmc Exp $
3.\"
4.\" Copyright (c) 2009 Constantine A. Murenin <cnst+netbsd@bugmail.mojo.ru>
5.\"
6.\" Permission to use, copy, modify, and distribute this software for any
7.\" purpose with or without fee is hereby granted, provided that the above
8.\" copyright notice and this permission notice appear in all copies.
9.\"
10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\"
18.Dd February 8, 2010
19.Dt AIBS 4
20.Os
21.Sh NAME
22.Nm aibs
23.Nd ASUSTeK AI Booster ACPI ATK0110 voltage, temperature, and fan sensor
24.Sh SYNOPSIS
25.Cd "aibs* at acpi?"
26.Sh DESCRIPTION
27The
28.Nm
29driver provides support for the voltage, temperature and fan sensors
30available through the
31.Tn ATK0110
32.Tn ASOC
33.Tn ACPI
34device
35on
36.Tn ASUSTeK
37motherboards.
38The number of sensors of each type,
39as well as the description of each sensor,
40varies according to the motherboard.
41.Pp
42The driver supports an arbitrary set of sensors,
43provides descriptions regarding what each sensor is used for,
44and reports whether each sensor is within the specifications
45as defined by the motherboard manufacturer through
46.Tn ACPI .
47.Pp
48The
49.Nm
50driver supports
51.Xr envsys 4
52sensor states as follows:
53.Bl -bullet
54.It
55Voltage sensors can have a state of
56.Dv valid ,
57.Dv critunder ,
58or
59.Dv critover ;
60temperature sensors can have a state of
61.Dv valid ,
62.Dv warnover ,
63.Dv critover ,
64or
65.Dv invalid ;
66and fan sensors can have a state of
67.Dv valid ,
68.Dv warnunder ,
69or
70.Dv warnover .
71.It
72Temperature sensors that have a reading of 0
73are marked
74.Dv invalid ,
75whereas all other sensors are always assumed valid.
76.It
77Voltage sensors have a lower and an upper limit
78.Dv ( critunder
79and
80.Dv critover ) ,
81temperature sensors have two upper limits
82.Dv ( warnover
83and
84.Dv critover ) ,
85whereas fan sensors may either have only the lower limit
86.Dv ( warnunder ) ,
87or, depending on the
88.Tn DSDT ,
89one lower and one upper limit
90.Dv ( warnunder
91and
92.Dv warnover ) .
93.El
94.Pp
95Sensor values and limits are made available through the
96.Xr envsys 4
97interface,
98and can be monitored with
99.Xr envstat 8 .
100For example, on an ASUS V3-P5G965 barebone:
101.Bd -literal -offset indent
102$ envstat -d aibs0
103                     Current  CritMax  WarnMax  WarnMin  CritMin Unit
104    Vcore Voltage:     1.152    1.600                      0.850    V
105     +3.3 Voltage:     3.312    3.630                      2.970    V
106       +5 Voltage:     5.017    5.500                      4.500    V
107      +12 Voltage:    12.302   13.800                     10.200    V
108  CPU Temperature:    27.000   95.000   80.000                   degC
109   MB Temperature:    58.000   95.000   60.000                   degC
110    CPU FAN Speed:       878              7200      600           RPM
111CHASSIS FAN Speed:         0              7200      700           RPM
112.Ed
113.Pp
114Generally, sensors provided by the
115.Nm
116driver may also be supported by a variety of other drivers,
117such as
118.Xr lm 4
119or
120.Xr itesio 4 .
121The precise collection of
122.Nm
123sensors is comprised of the sensors
124specifically utilised in the motherboard
125design, which may be supported through
126a combination of one or more physical hardware monitoring chips.
127.Pp
128The
129.Nm
130driver, however, provides the following advantages
131when compared to the native hardware monitoring drivers:
132.Bl -bullet
133.It
134Sensor values from
135.Nm
136are expected to be more reliable.
137For example, voltage sensors in many hardware monitoring chips
138can only sense voltage from 0 to 2 or 4 volts, and the excessive
139voltage is removed by the resistors, which may vary with the motherboard
140and with the voltage that is being sensed.
141In
142.Nm ,
143the required resistor factors are provided by
144the motherboard manufacturer through
145.Tn ACPI ;
146in the native drivers, the resistor factors
147are encoded into the driver based on the chip manufacturer's recommendations.
148In essence, sensor values from
149.Nm
150are very likely to be identical to the readings from the
151Hardware Monitor screen in the BIOS.
152.It
153Sensor descriptions from
154.Nm
155are more likely to match the markings on the motherboard.
156.It
157Sensor states are supported by
158.Nm .
159The state is reported based on the acceptable range of values
160for each individual sensor as suggested by the motherboard manufacturer.
161For example, the threshold for the CPU temperature sensor is likely
162to be significantly higher than that for the chassis temperature sensor.
163.It
164Support for newer chips in
165.Nm .
166Newer chips may miss a native driver,
167but should be supported through
168.Nm
169regardless.
170.El
171.Pp
172As a result, sensor readings from the actual
173native hardware monitoring drivers
174are redundant when
175.Nm
176is present, and
177may be ignored as appropriate.
178Whereas on
179.Ox
180the native drivers have to be specifically disabled should
181their presence be judged unnecessary,
182on
183.Dx
184the
185.Xr lm 4
186and
187.Xr it 4
188are not probed provided that
189.Xr acpi 4
190is configured and the system potentially supports
191the hardware monitoring chip through
192.Tn ACPI .
193.Sh SEE ALSO
194.Xr envsys 4 ,
195.Xr envstat 8
196.Sh HISTORY
197The
198.Nm
199driver first appeared in
200.Ox 4.7 ,
201DragonFly 2.4.1
202and
203.Nx 6.0 .
204.Pp
205An earlier version of the driver,
206.Nm aiboost ,
207first appeared in
208.Fx 7.0
209and
210.Nx 5.0 .
211.Sh AUTHORS
212.An -nosplit
213The
214.Nm
215driver was written for
216.Ox ,
217DragonFly
218and
219.Nx
220by
221.An Constantine A. Murenin Aq http://cnst.su/ ,
222Raouf Boutaba Research Group,
223David R. Cheriton School of Computer Science,
224University of Waterloo.
225.Pp
226An earlier version of the driver, named
227.Nm aiboost ,
228was written for
229.Fx
230by
231.An Takanori Watanabe
232and
233adapted to
234.Nx
235by
236.An Juan Romero Pardines .
237