xref: /dflybsd-src/share/man/man4/aibs.4 (revision e26f83da5f747f88dbb3ae935cc417542e7dd81a)
1ca767207SThomas Nikolajsen.\"	$OpenBSD: aibs.4,v 1.4 2009/07/30 06:30:45 jmc Exp $
2ca767207SThomas Nikolajsen.\"
3ca767207SThomas Nikolajsen.\" Copyright (c) 2009 Constantine A. Murenin <cnst+dfly@bugmail.mojo.ru>
4ca767207SThomas Nikolajsen.\"
5ca767207SThomas Nikolajsen.\" Permission to use, copy, modify, and distribute this software for any
6ca767207SThomas Nikolajsen.\" purpose with or without fee is hereby granted, provided that the above
7ca767207SThomas Nikolajsen.\" copyright notice and this permission notice appear in all copies.
8ca767207SThomas Nikolajsen.\"
9ca767207SThomas Nikolajsen.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10ca767207SThomas Nikolajsen.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11ca767207SThomas Nikolajsen.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12ca767207SThomas Nikolajsen.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13ca767207SThomas Nikolajsen.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14ca767207SThomas Nikolajsen.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15ca767207SThomas Nikolajsen.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16ca767207SThomas Nikolajsen.\"
175799247dSConstantine A. Murenin.Dd February 9, 2010
18ca767207SThomas Nikolajsen.Dt AIBS 4
19ca767207SThomas Nikolajsen.Os
20ca767207SThomas Nikolajsen.Sh NAME
21ca767207SThomas Nikolajsen.Nm aibs
22ca767207SThomas Nikolajsen.Nd "ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor"
23ca767207SThomas Nikolajsen.Sh SYNOPSIS
24ca767207SThomas NikolajsenTo compile this driver into the kernel,
25ca767207SThomas Nikolajsenplace the following lines in your
26ca767207SThomas Nikolajsenkernel configuration file:
27ca767207SThomas Nikolajsen.Bd -ragged -offset indent
28ca767207SThomas Nikolajsen.Cd "device acpi"
29ca767207SThomas Nikolajsen.Cd "device aibs"
30ca767207SThomas Nikolajsen.Ed
31ca767207SThomas Nikolajsen.Pp
32ca767207SThomas NikolajsenAlternatively, to load the driver as a
33ca767207SThomas Nikolajsenmodule at boot time, place the following lines in
34ca767207SThomas Nikolajsen.Xr loader.conf 5 :
35ca767207SThomas Nikolajsen.Bd -literal -offset indent
36ca767207SThomas Nikolajsenacpi_load="YES"
37ca767207SThomas Nikolajsenaibs_load="YES"
38ca767207SThomas Nikolajsen.Ed
39ca767207SThomas Nikolajsen.Sh DESCRIPTION
40ca767207SThomas NikolajsenThe
41ca767207SThomas Nikolajsen.Nm
42ca767207SThomas Nikolajsendriver provides support for the voltage, temperature and fan sensors
43ca767207SThomas Nikolajsenavailable through the
445799247dSConstantine A. Murenin.Tn ATK0110
455799247dSConstantine A. Murenin.Tn ASOC
465799247dSConstantine A. Murenin.Tn ACPI
47ca767207SThomas Nikolajsendevice
485799247dSConstantine A. Mureninon
495799247dSConstantine A. Murenin.Tn ASUSTeK
505799247dSConstantine A. Mureninmotherboards.
51ca767207SThomas NikolajsenThe number of sensors of each type,
52ca767207SThomas Nikolajsenas well as the description of each sensor,
53ca767207SThomas Nikolajsenvaries according to the motherboard.
54ca767207SThomas Nikolajsen.Pp
55ca767207SThomas NikolajsenThe driver supports an arbitrary set of sensors,
56ca767207SThomas Nikolajsenprovides descriptions regarding what each sensor is used for,
57ca767207SThomas Nikolajsenand reports whether each sensor is within the specifications
585799247dSConstantine A. Mureninas defined by the motherboard manufacturer through
595799247dSConstantine A. Murenin.Tn ACPI .
60ca767207SThomas Nikolajsen.Pp
61ca767207SThomas NikolajsenThe
62ca767207SThomas Nikolajsen.Nm
63ca767207SThomas Nikolajsendriver supports sensor states as follows:
645799247dSConstantine A. Murenin.Bl -bullet
655799247dSConstantine A. Murenin.It
665799247dSConstantine A. MureninTemperature sensors can have a state of
67ca767207SThomas Nikolajsen.Dv OK ,
68ca767207SThomas Nikolajsen.Dv WARN ,
69ca767207SThomas Nikolajsen.Dv CRIT
70ca767207SThomas Nikolajsenor
71ca767207SThomas Nikolajsen.Dv UNKNOWN ;
72ca767207SThomas Nikolajsenfan and voltage sensors can have a state of
73ca767207SThomas Nikolajsen.Dv OK
74ca767207SThomas Nikolajsenor
75ca767207SThomas Nikolajsen.Dv WARN
76ca767207SThomas Nikolajsenonly.
775799247dSConstantine A. Murenin.It
78ca767207SThomas NikolajsenTemperature sensors that have a reading of 0
795799247dSConstantine A. Mureninare marked
805799247dSConstantine A. Murenin.Dv invalid
815799247dSConstantine A. Mureninand their state is set to
82ca767207SThomas Nikolajsen.Dv UNKNOWN ,
83ca767207SThomas Nikolajsenwhereas all other sensors are always assumed valid.
845799247dSConstantine A. Murenin.It
85ca767207SThomas NikolajsenTemperature sensors have two upper limits
86ca767207SThomas Nikolajsen.Dv ( WARN
87ca767207SThomas Nikolajsenand
88ca767207SThomas Nikolajsen.Dv CRIT ) ,
895799247dSConstantine A. Mureninfan sensors may have either only the lower limit,
905799247dSConstantine A. Mureninor, depending on the
915799247dSConstantine A. Murenin.Tn DSDT ,
92ca767207SThomas Nikolajsenone lower and one upper limit,
93ca767207SThomas Nikolajsenand voltage sensors always have a lower and an upper limit.
945799247dSConstantine A. Murenin.El
95ca767207SThomas Nikolajsen.Pp
96ca767207SThomas NikolajsenSensor values are made available through the
97ca767207SThomas Nikolajsen.Dv HW_SENSORS
98ca767207SThomas Nikolajsen.Xr sysctl 3
99ca767207SThomas Nikolajseninterface,
100ca767207SThomas Nikolajsenand can be monitored with the
101ca767207SThomas Nikolajsen.Xr systat 1
102ca767207SThomas Nikolajsen.Ar sensors
103ca767207SThomas Nikolajsendisplay,
104ca767207SThomas Nikolajsen.Xr sensorsd 8
105ca767207SThomas Nikolajsenand
106ca767207SThomas Nikolajsen.Xr sysctl 8
107ca767207SThomas Nikolajsen.Ar hw.sensors .
108ca767207SThomas NikolajsenFor example, on an Asus Stricker Extreme motherboard:
109ca767207SThomas Nikolajsen.Bd -literal -offset indent
110ca767207SThomas Nikolajsen$ sysctl hw.sensors.aibs0
111ca767207SThomas Nikolajsenhw.sensors.aibs0.temp0=31.00 degC (CPU Temperature), OK
112ca767207SThomas Nikolajsenhw.sensors.aibs0.temp1=43.00 degC (MB Temperature), OK
113ca767207SThomas Nikolajsenhw.sensors.aibs0.fan0=2490 RPM (CPU FAN Speed), OK
114ca767207SThomas Nikolajsenhw.sensors.aibs0.fan1=0 RPM (CHASSIS FAN Speed), WARNING
115ca767207SThomas Nikolajsenhw.sensors.aibs0.fan2=0 RPM (OPT1 FAN Speed), WARNING
116ca767207SThomas Nikolajsenhw.sensors.aibs0.fan3=0 RPM (OPT2 FAN Speed), WARNING
117ca767207SThomas Nikolajsenhw.sensors.aibs0.fan4=0 RPM (OPT3 FAN Speed), WARNING
118ca767207SThomas Nikolajsenhw.sensors.aibs0.fan5=0 RPM (OPT4 FAN Speed), WARNING
119ca767207SThomas Nikolajsenhw.sensors.aibs0.fan6=0 RPM (OPT5 FAN Speed), WARNING
120ca767207SThomas Nikolajsenhw.sensors.aibs0.fan7=0 RPM (PWR FAN Speed), WARNING
121ca767207SThomas Nikolajsenhw.sensors.aibs0.volt0=1.26 VDC (Vcore Voltage), OK
122ca767207SThomas Nikolajsenhw.sensors.aibs0.volt1=3.25 VDC ( +3.3 Voltage), OK
123ca767207SThomas Nikolajsenhw.sensors.aibs0.volt2=4.95 VDC ( +5.0 Voltage), OK
124ca767207SThomas Nikolajsenhw.sensors.aibs0.volt3=11.78 VDC (+12.0 Voltage), OK
125ca767207SThomas Nikolajsenhw.sensors.aibs0.volt4=1.23 VDC (1.2VHT Voltage), OK
126ca767207SThomas Nikolajsenhw.sensors.aibs0.volt5=1.50 VDC (SB CORE Voltage), OK
127ca767207SThomas Nikolajsenhw.sensors.aibs0.volt6=1.25 VDC (CPU VTT Voltage), OK
128ca767207SThomas Nikolajsenhw.sensors.aibs0.volt7=0.93 VDC (DDR2 TERM Voltage), OK
129ca767207SThomas Nikolajsenhw.sensors.aibs0.volt8=1.23 VDC (NB CORE Voltage), OK
130ca767207SThomas Nikolajsenhw.sensors.aibs0.volt9=1.87 VDC (MEMORY Voltage), OK
131ca767207SThomas Nikolajsen.Ed
132ca767207SThomas Nikolajsen.Pp
133ca767207SThomas NikolajsenGenerally, sensors provided by the
134ca767207SThomas Nikolajsen.Nm
135ca767207SThomas Nikolajsendriver may also be supported by a variety of other drivers,
136ca767207SThomas Nikolajsensuch as
137ca767207SThomas Nikolajsen.Xr lm 4
138ca767207SThomas Nikolajsenor
139ca767207SThomas Nikolajsen.Xr it 4 .
140ca767207SThomas NikolajsenThe precise collection of
141ca767207SThomas Nikolajsen.Nm
142ca767207SThomas Nikolajsensensors is comprised of the sensors
143ca767207SThomas Nikolajsenspecifically utilised in the motherboard
144ca767207SThomas Nikolajsendesign, which may be supported through
145ca767207SThomas Nikolajsena combination of one or more physical hardware monitoring chips.
146ca767207SThomas Nikolajsen.Pp
147ca767207SThomas NikolajsenThe
148ca767207SThomas Nikolajsen.Nm
149ca767207SThomas Nikolajsendriver, however, provides the following advantages
150ca767207SThomas Nikolajsenwhen compared to the native hardware monitoring drivers:
151ca767207SThomas Nikolajsen.Bl -bullet
152ca767207SThomas Nikolajsen.It
153ca767207SThomas NikolajsenSensor values from
154ca767207SThomas Nikolajsen.Nm
155ca767207SThomas Nikolajsenare expected to be more reliable.
156ca767207SThomas NikolajsenFor example, voltage sensors in many hardware monitoring chips
157ca767207SThomas Nikolajsencan only sense voltage from 0 to 2 or 4 volts, and the excessive
158ca767207SThomas Nikolajsenvoltage is removed by the resistors, which may vary with the motherboard
159ca767207SThomas Nikolajsenand with the voltage that is being sensed.
160ca767207SThomas NikolajsenIn
161ca767207SThomas Nikolajsen.Nm ,
162ca767207SThomas Nikolajsenthe required resistor factors are provided by
1635799247dSConstantine A. Mureninthe motherboard manufacturer through
1645799247dSConstantine A. Murenin.Tn ACPI ;
165ca767207SThomas Nikolajsenin the native drivers, the resistor factors
166ca767207SThomas Nikolajsenare encoded into the driver based on the chip manufacturer's recommendations.
167ca767207SThomas NikolajsenIn essence, sensor values from
168ca767207SThomas Nikolajsen.Nm
169ca767207SThomas Nikolajsenare very likely to be identical to the readings from the
170ca767207SThomas NikolajsenHardware Monitor screen in the BIOS.
171ca767207SThomas Nikolajsen.It
172ca767207SThomas NikolajsenSensor descriptions from
173ca767207SThomas Nikolajsen.Nm
174ca767207SThomas Nikolajsenare more likely to match the markings on the motherboard.
175ca767207SThomas Nikolajsen.It
176ca767207SThomas NikolajsenSensor status is supported by
177ca767207SThomas Nikolajsen.Nm .
178ca767207SThomas NikolajsenThe status is reported based on the acceptable range of values
179ca767207SThomas Nikolajsenfor each individual sensor as suggested by the motherboard manufacturer.
180ca767207SThomas NikolajsenFor example, the threshold for the CPU temperature sensor is likely
181ca767207SThomas Nikolajsento be significantly higher than that for the chassis temperature sensor.
182ca767207SThomas Nikolajsen.It
183ca767207SThomas NikolajsenSupport for newer chips in
184ca767207SThomas Nikolajsen.Nm .
185ca767207SThomas NikolajsenNewer chips may miss a native driver,
186ca767207SThomas Nikolajsenbut should be supported through
187ca767207SThomas Nikolajsen.Nm
188ca767207SThomas Nikolajsenregardless.
189ca767207SThomas Nikolajsen.El
190ca767207SThomas Nikolajsen.Pp
191ca767207SThomas NikolajsenAs a result, sensor readings from the actual
192ca767207SThomas Nikolajsennative hardware monitoring drivers
193ca767207SThomas Nikolajsenare redundant when
194ca767207SThomas Nikolajsen.Nm
195ca767207SThomas Nikolajsenis present, and
196ca767207SThomas Nikolajsenmay be ignored as appropriate.
197ca767207SThomas NikolajsenWhereas on
198ca767207SThomas Nikolajsen.Ox
199ca767207SThomas Nikolajsenthe native drivers have to be specifically disabled should
200ca767207SThomas Nikolajsentheir presence be judged unnecessary,
201ca767207SThomas Nikolajsenon
202ca767207SThomas Nikolajsen.Dx
203ca767207SThomas Nikolajsenthe
204ca767207SThomas Nikolajsen.Xr lm 4
205ca767207SThomas Nikolajsenand
206ca767207SThomas Nikolajsen.Xr it 4
207ca767207SThomas Nikolajsenare not probed provided that
208ca767207SThomas Nikolajsen.Xr acpi 4
209ca767207SThomas Nikolajsenis configured and the system potentially supports
2105799247dSConstantine A. Mureninthe hardware monitoring chip through
2115799247dSConstantine A. Murenin.Tn ACPI .
212ca767207SThomas Nikolajsen.Sh SEE ALSO
213ca767207SThomas Nikolajsen.Xr systat 1 ,
214ca767207SThomas Nikolajsen.Xr sysctl 3 ,
215ca767207SThomas Nikolajsen.Xr acpi 4 ,
216ca767207SThomas Nikolajsen.Xr intro 4 ,
217ca767207SThomas Nikolajsen.Xr sensorsd 8 ,
218ca767207SThomas Nikolajsen.Xr sysctl 8
219ca767207SThomas Nikolajsen.Sh HISTORY
220ca767207SThomas NikolajsenThe
221ca767207SThomas Nikolajsen.Nm
222ca767207SThomas Nikolajsendriver first appeared in
223ca767207SThomas Nikolajsen.Ox 4.7
224ca767207SThomas Nikolajsenand
225ca767207SThomas Nikolajsen.Dx 2.5 .
226ca767207SThomas Nikolajsen.Sh AUTHORS
227ca767207SThomas NikolajsenThe
228ca767207SThomas Nikolajsen.Nm
229ca767207SThomas Nikolajsendriver was written for
230ca767207SThomas Nikolajsen.Ox
231ca767207SThomas Nikolajsenand
232ca767207SThomas Nikolajsen.Dx
233ca767207SThomas Nikolajsenby
234*e26f83daSSascha Wildner.An Constantine A. Murenin Aq Lk http://cnst.su/ ,
2355799247dSConstantine A. MureninRaouf Boutaba Research Group,
236ca767207SThomas NikolajsenDavid R. Cheriton School of Computer Science,
237ca767207SThomas NikolajsenUniversity of Waterloo.
238