1bbe4a97dSRui Paulo.\" $NetBSD: aibs.4,v 1.2 2010/02/09 05:37:25 cnst Exp $ 2bbe4a97dSRui Paulo.\" $OpenBSD: aibs.4,v 1.4 2009/07/30 06:30:45 jmc Exp $ 3bbe4a97dSRui Paulo.\" 4bbe4a97dSRui Paulo.\" Copyright (c) 2009/2010 Constantine A. Murenin <cnst++@FreeBSD.org> 5bbe4a97dSRui Paulo.\" 6bbe4a97dSRui Paulo.\" Permission to use, copy, modify, and distribute this software for any 7bbe4a97dSRui Paulo.\" purpose with or without fee is hereby granted, provided that the above 8bbe4a97dSRui Paulo.\" copyright notice and this permission notice appear in all copies. 9bbe4a97dSRui Paulo.\" 10bbe4a97dSRui Paulo.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11bbe4a97dSRui Paulo.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12bbe4a97dSRui Paulo.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13bbe4a97dSRui Paulo.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14bbe4a97dSRui Paulo.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15bbe4a97dSRui Paulo.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16bbe4a97dSRui Paulo.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17bbe4a97dSRui Paulo.\" 18bbe4a97dSRui Paulo.Dd April 4, 2010 19bbe4a97dSRui Paulo.Dt AIBS 4 20bbe4a97dSRui Paulo.Os 21bbe4a97dSRui Paulo.Sh NAME 22bbe4a97dSRui Paulo.Nm aibs 23bbe4a97dSRui Paulo.Nd "ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor" 24bbe4a97dSRui Paulo.Sh SYNOPSIS 25bbe4a97dSRui PauloTo compile this driver into the kernel, 2675ba3011SJohn Baldwinplace the following line in your 27bbe4a97dSRui Paulokernel configuration file: 28bbe4a97dSRui Paulo.Bd -ragged -offset indent 29bbe4a97dSRui Paulo.Cd "device aibs" 30bbe4a97dSRui Paulo.Ed 31bbe4a97dSRui Paulo.Pp 32bbe4a97dSRui PauloAlternatively, to load the driver as a 3375ba3011SJohn Baldwinmodule at boot time, place the following line in 34bbe4a97dSRui Paulo.Xr loader.conf 5 : 35bbe4a97dSRui Paulo.Bd -literal -offset indent 36bbe4a97dSRui Pauloaibs_load="YES" 37bbe4a97dSRui Paulo.Ed 38bbe4a97dSRui Paulo.Sh DESCRIPTION 39bbe4a97dSRui PauloThe 40bbe4a97dSRui Paulo.Nm 41bbe4a97dSRui Paulodriver provides support for the voltage, temperature and fan sensors 42bbe4a97dSRui Pauloavailable through the 43bbe4a97dSRui Paulo.Tn ATK0110 44bbe4a97dSRui Paulo.Tn ASOC 45bbe4a97dSRui Paulo.Tn ACPI 46bbe4a97dSRui Paulodevice 47bbe4a97dSRui Pauloon 48bbe4a97dSRui Paulo.Tn ASUSTeK 49bbe4a97dSRui Paulomotherboards. 50bbe4a97dSRui PauloThe number of sensors of each type, 51bbe4a97dSRui Pauloas well as the description of each sensor, 52bbe4a97dSRui Paulovaries according to the motherboard. 53bbe4a97dSRui Paulo.Pp 54bbe4a97dSRui PauloThe driver supports an arbitrary set of sensors, 55bbe4a97dSRui Pauloprovides descriptions regarding what each sensor is used for, 56bbe4a97dSRui Pauloand reports the current values as well as 57bbe4a97dSRui Paulothe supposed range specifications of each sensor's input 58bbe4a97dSRui Pauloas defined by the motherboard manufacturer through 59bbe4a97dSRui Paulo.Tn ACPI . 60bbe4a97dSRui Paulo.Pp 61bbe4a97dSRui PauloThe range specifications are as follows: 62bbe4a97dSRui Paulo.Bl -bullet 63bbe4a97dSRui Paulo.It 64bbe4a97dSRui PauloVoltage sensors have a lower and an upper range specification. 65bbe4a97dSRui Paulo.It 66bbe4a97dSRui PauloTemperature sensors have two upper specifications. 67bbe4a97dSRui Paulo.It 68bbe4a97dSRui PauloFan sensors may either have only the lower specification, 69bbe4a97dSRui Pauloor, depending on the 70bbe4a97dSRui Paulo.Tn DSDT , 71bbe4a97dSRui Pauloone lower and one upper specification. 72bbe4a97dSRui Paulo.El 73bbe4a97dSRui Paulo.Pp 74bbe4a97dSRui PauloSensor readings and the range specifications are made available through the 75bbe4a97dSRui Paulo.Xr sysctl 3 76bbe4a97dSRui Paulointerface, 77bbe4a97dSRui Pauloand can be monitored with 78bbe4a97dSRui Paulo.Xr sysctl 8 . 79bbe4a97dSRui PauloFor example, on an ASUS V3-P5G965 barebone: 80bbe4a97dSRui Paulo.Bd -literal -offset indent 81bbe4a97dSRui Paulo> sysctl dev.aibs.0.{volt,temp,fan} 82bbe4a97dSRui Paulodev.aibs.0.volt.0: 1192 850 1600 83bbe4a97dSRui Paulodev.aibs.0.volt.1: 3312 2970 3630 84bbe4a97dSRui Paulodev.aibs.0.volt.2: 5017 4500 5500 85bbe4a97dSRui Paulodev.aibs.0.volt.3: 12302 10200 13800 86bbe4a97dSRui Paulodev.aibs.0.temp.0: 28.0C 80.0C 95.0C 87bbe4a97dSRui Paulodev.aibs.0.temp.1: 55.0C 60.0C 95.0C 88bbe4a97dSRui Paulodev.aibs.0.fan.0: 878 600 7200 89bbe4a97dSRui Paulodev.aibs.0.fan.1: 0 700 7200 90bbe4a97dSRui Paulo.Pp 91bbe4a97dSRui Paulo> sysctl -d dev.aibs.0.{volt,temp,fan} 92bbe4a97dSRui Paulodev.aibs.0.volt: 93bbe4a97dSRui Paulodev.aibs.0.volt.0: Vcore Voltage 94bbe4a97dSRui Paulodev.aibs.0.volt.1: +3.3 Voltage 95bbe4a97dSRui Paulodev.aibs.0.volt.2: +5 Voltage 96bbe4a97dSRui Paulodev.aibs.0.volt.3: +12 Voltage 97bbe4a97dSRui Paulodev.aibs.0.temp: 98bbe4a97dSRui Paulodev.aibs.0.temp.0: CPU Temperature 99bbe4a97dSRui Paulodev.aibs.0.temp.1: MB Temperature 100bbe4a97dSRui Paulodev.aibs.0.fan: 101bbe4a97dSRui Paulodev.aibs.0.fan.0: CPU FAN Speed 102bbe4a97dSRui Paulodev.aibs.0.fan.1: CHASSIS FAN Speed 103bbe4a97dSRui Paulo.Ed 104bbe4a97dSRui Paulo.Pp 105bbe4a97dSRui PauloGenerally, sensors provided by the 106bbe4a97dSRui Paulo.Nm 107bbe4a97dSRui Paulodriver may also be supported by certain other drivers or utilities 108bbe4a97dSRui Paulothat access the 109bbe4a97dSRui Paulo.Tn ISA / 110bbe4a97dSRui Paulo.Tn LPC 111bbe4a97dSRui Pauloor 112bbe4a97dSRui Paulo.Tn I2C / 113bbe4a97dSRui Paulo.Tn SMBus 114bbe4a97dSRui Paulodevices directly. 115bbe4a97dSRui PauloThe precise collection of 116bbe4a97dSRui Paulo.Nm 117bbe4a97dSRui Paulosensors is comprised of the sensors 118bbe4a97dSRui Paulospecifically utilised in the motherboard 119bbe4a97dSRui Paulodesign, which may be supported through 120bbe4a97dSRui Pauloa combination of one or more physical hardware monitoring chips. 121bbe4a97dSRui Paulo.Pp 122bbe4a97dSRui PauloThe 123bbe4a97dSRui Paulo.Nm 124bbe4a97dSRui Paulodriver, however, provides the following advantages 125bbe4a97dSRui Paulowhen compared to the native hardware monitoring drivers or other utilities: 126bbe4a97dSRui Paulo.Bl -bullet 127bbe4a97dSRui Paulo.It 128bbe4a97dSRui PauloSensor values from 129bbe4a97dSRui Paulo.Nm 130bbe4a97dSRui Pauloare expected to be more reliable. 131bbe4a97dSRui PauloFor example, voltage sensors in many hardware monitoring chips 132bbe4a97dSRui Paulocan only sense voltage from 0 to 2 or 4 volts, and the excessive 133bbe4a97dSRui Paulovoltage is removed by the resistors, which may vary with the motherboard 134bbe4a97dSRui Pauloand with the voltage that is being sensed. 135bbe4a97dSRui PauloIn 136bbe4a97dSRui Paulo.Nm , 137bbe4a97dSRui Paulothe required resistor factors are provided by 138bbe4a97dSRui Paulothe motherboard manufacturer through 139bbe4a97dSRui Paulo.Tn ACPI ; 140bbe4a97dSRui Pauloin the native drivers, the resistor factors 141bbe4a97dSRui Pauloare encoded into the driver based on the chip manufacturer's recommendations. 142bbe4a97dSRui PauloIn essence, sensor values from 143bbe4a97dSRui Paulo.Nm 144bbe4a97dSRui Pauloare very likely to be identical to the readings from the 145bbe4a97dSRui PauloHardware Monitor screen in the BIOS. 146bbe4a97dSRui Paulo.It 147bbe4a97dSRui PauloSensor descriptions from 148bbe4a97dSRui Paulo.Nm 149bbe4a97dSRui Pauloare more likely to match the markings on the motherboard. 150bbe4a97dSRui Paulo.It 151bbe4a97dSRui PauloSensor range specifications are supported by 152bbe4a97dSRui Paulo.Nm . 153bbe4a97dSRui PauloThe range specification is reported 154bbe4a97dSRui Paulofor each individual sensor as suggested by the motherboard manufacturer. 155bbe4a97dSRui PauloFor example, the threshold for the CPU temperature sensor is likely 156bbe4a97dSRui Pauloto be significantly higher than that for the chassis temperature sensor. 157bbe4a97dSRui Paulo.It 158bbe4a97dSRui PauloSupport for newer chips in 159bbe4a97dSRui Paulo.Nm . 160bbe4a97dSRui PauloNewer chips may miss a native driver, 161bbe4a97dSRui Paulobut should be supported through 162bbe4a97dSRui Paulo.Nm 163bbe4a97dSRui Pauloregardless. 164bbe4a97dSRui Paulo.El 165bbe4a97dSRui Paulo.Sh SEE ALSO 166bbe4a97dSRui Paulo.Xr sysctl 3 , 167bbe4a97dSRui Paulo.Xr acpi 4 , 168bbe4a97dSRui Paulo.Xr sysctl 8 169bbe4a97dSRui Paulo.Sh HISTORY 170bbe4a97dSRui PauloThe 171bbe4a97dSRui Paulo.Nm 172bbe4a97dSRui Paulodriver first appeared in 173bbe4a97dSRui Paulo.Ox 4.7 , 174bbe4a97dSRui Paulo.Dx 2.5 , 175bbe4a97dSRui Paulo.Nx 6.0 176bbe4a97dSRui Pauloand 177bbe4a97dSRui Paulo.Fx 9.0 . 178bbe4a97dSRui Paulo.Pp 179bbe4a97dSRui PauloAn earlier version of the driver, 180bbe4a97dSRui Paulo.Nm acpi_aiboost , 181bbe4a97dSRui Paulofirst appeared in 182bbe4a97dSRui Paulo.Fx 7.0 183bbe4a97dSRui Pauloand 184bbe4a97dSRui Paulo.Nx 5.0 . 185bbe4a97dSRui Paulo.Sh AUTHORS 186bbe4a97dSRui Paulo.An -nosplit 187bbe4a97dSRui PauloThe 188bbe4a97dSRui Paulo.Nm 189bbe4a97dSRui Paulodriver was written for 190bbe4a97dSRui Paulo.Ox , 191bbe4a97dSRui Paulo.Dx , 192bbe4a97dSRui Paulo.Nx 193bbe4a97dSRui Pauloand 194bbe4a97dSRui Paulo.Fx 195bbe4a97dSRui Pauloby 196*6c899950SBaptiste Daroussin.An Constantine A. Murenin Aq Mt cnst@FreeBSD.org , 197bbe4a97dSRui PauloRaouf Boutaba Research Group, 198bbe4a97dSRui PauloDavid R. Cheriton School of Computer Science, 199bbe4a97dSRui PauloUniversity of Waterloo. 200bbe4a97dSRui Paulo.Pp 201bbe4a97dSRui PauloAn earlier version of the driver, named 202bbe4a97dSRui Paulo.Nm acpi_aiboost , 203bbe4a97dSRui Paulowas written for 204bbe4a97dSRui Paulo.Fx 205bbe4a97dSRui Pauloby 206bbe4a97dSRui Paulo.An Takanori Watanabe . 207