168fb0c66SYONETANI Tomokazu.\" Copyright (c) 2003 Takanori Watanabe. 268fb0c66SYONETANI Tomokazu.\" All rights reserved. 368fb0c66SYONETANI Tomokazu.\" 468fb0c66SYONETANI Tomokazu.\" Redistribution and use in source and binary forms, with or without 568fb0c66SYONETANI Tomokazu.\" modification, are permitted provided that the following conditions 668fb0c66SYONETANI Tomokazu.\" are met: 768fb0c66SYONETANI Tomokazu.\" 1. Redistributions of source code must retain the above copyright 868fb0c66SYONETANI Tomokazu.\" notice, this list of conditions and the following disclaimer. 968fb0c66SYONETANI Tomokazu.\" 2. Redistributions in binary form must reproduce the above copyright 1068fb0c66SYONETANI Tomokazu.\" notice, this list of conditions and the following disclaimer in the 1168fb0c66SYONETANI Tomokazu.\" documentation and/or other materials provided with the distribution. 1268fb0c66SYONETANI Tomokazu.\" 1368fb0c66SYONETANI Tomokazu.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1468fb0c66SYONETANI Tomokazu.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1568fb0c66SYONETANI Tomokazu.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1668fb0c66SYONETANI Tomokazu.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1768fb0c66SYONETANI Tomokazu.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1868fb0c66SYONETANI Tomokazu.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1968fb0c66SYONETANI Tomokazu.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2068fb0c66SYONETANI Tomokazu.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2168fb0c66SYONETANI Tomokazu.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2268fb0c66SYONETANI Tomokazu.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2368fb0c66SYONETANI Tomokazu.\" SUCH DAMAGE. 2468fb0c66SYONETANI Tomokazu.\" 253fe1280fSSascha Wildner.\" $FreeBSD: head/share/man/man4/acpi_thermal.4 167670 2007-03-18 00:57:07Z njl $ 2668fb0c66SYONETANI Tomokazu.\" 27*531566e6SImre Vadász.Dd May 16, 2015 2868fb0c66SYONETANI Tomokazu.Dt ACPI_THERMAL 4 2968fb0c66SYONETANI Tomokazu.Os 3068fb0c66SYONETANI Tomokazu.Sh NAME 3168fb0c66SYONETANI Tomokazu.Nm acpi_thermal 3268fb0c66SYONETANI Tomokazu.Nd ACPI thermal management subsystem 3368fb0c66SYONETANI Tomokazu.Sh SYNOPSIS 3468fb0c66SYONETANI Tomokazu.Cd "device acpi" 3568fb0c66SYONETANI Tomokazu.Sh DESCRIPTION 3668fb0c66SYONETANI TomokazuThe 3768fb0c66SYONETANI Tomokazu.Nm 3868fb0c66SYONETANI Tomokazudriver provides the thermal management features of the ACPI module. 3968fb0c66SYONETANI TomokazuThis driver has a 4068fb0c66SYONETANI Tomokazu.Xr sysctl 8 4106627c8aSSascha Wildnerinterface and a 4206627c8aSSascha Wildner.Xr devd 8 4306627c8aSSascha Wildnernotification interface. 4468fb0c66SYONETANI TomokazuThe sysctls export properties of each ACPI thermal zone object. 4568fb0c66SYONETANI Tomokazu.Pp 4668fb0c66SYONETANI TomokazuThere can be multiple thermal zones in a system. 4768fb0c66SYONETANI TomokazuFor example, each CPU and the enclosure could all be separate thermal 4868fb0c66SYONETANI Tomokazuzones, each with its own setpoints and cooling devices. 4968fb0c66SYONETANI TomokazuThermal zones are numbered sequentially in the order they appear in 5068fb0c66SYONETANI Tomokazuthe AML. 5168fb0c66SYONETANI Tomokazu.Pp 5268fb0c66SYONETANI TomokazuThe 5368fb0c66SYONETANI Tomokazu.Nm 5468fb0c66SYONETANI Tomokazudriver also activates the active cooling system according to 5568fb0c66SYONETANI Tomokazueach thermal zone's setpoints. 562f5aa587SSascha Wildner.Sh SYSCTL VARIABLES 5768fb0c66SYONETANI Tomokazu.Bl -tag -width indent 582f5aa587SSascha Wildner.It Va hw.acpi.thermal.min_runtime 592f5aa587SSascha WildnerNumber of seconds to continue active cooling once started. 602f5aa587SSascha WildnerA new active cooling level will not be selected until this interval expires. 612f5aa587SSascha Wildner.It Va hw.acpi.thermal.polling_rate 622f5aa587SSascha WildnerNumber of seconds between polling the current temperature. 63*531566e6SImre VadászIf set to 0, temperature polling is deactivated. 64*531566e6SImre VadászUse with care, strange hardware-specific issues can occur when a wrong 65*531566e6SImre Vadászvalue is set. 66*531566e6SImre VadászSome systems will always report the same temperature when the polling 67*531566e6SImre Vadászperiod is too low. 68*531566e6SImre VadászAlso ACPI based fan control can stop working when the wrong value is 69*531566e6SImre Vadászset here. 702f5aa587SSascha Wildner.It Va hw.acpi.thermal.user_override 712f5aa587SSascha WildnerIf set to 1, allow user override of various setpoints (below). 722f5aa587SSascha WildnerThe original values for these settings are obtained from the BIOS and 732f5aa587SSascha Wildnersystem overheating and possible damage could occur if changed. 742f5aa587SSascha WildnerDefault is 0 (no override). 7568fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d.active 7668fb0c66SYONETANI TomokazuCurrent active cooling system state. 7768fb0c66SYONETANI TomokazuIf this is non-negative, the appropriate _AC%d object is running. 7868fb0c66SYONETANI TomokazuSet this value to the desired active cooling level to force 7968fb0c66SYONETANI Tomokazuthe corresponding fan object to the appropriate level. 802f5aa587SSascha Wildner.It Va hw.acpi.thermal.tz%d.passive_cooling 812f5aa587SSascha WildnerIf set to 1, passive cooling is enabled. 82507a4eebSSascha Wildner.\"It does cooling without fans using 83507a4eebSSascha Wildner.\".Xr cpufreq 4 84507a4eebSSascha Wildner.\"as the mechanism for controlling CPU speed. 852f5aa587SSascha WildnerDefault is enabled for tz0 where it is available. 8668fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d.thermal_flags 8768fb0c66SYONETANI TomokazuCurrent thermal zone status. 8868fb0c66SYONETANI TomokazuThese are bit-masked values. 8968fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d.temperature 9068fb0c66SYONETANI TomokazuCurrent temperature for this zone. 9168fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d._PSV 9268fb0c66SYONETANI TomokazuTemperature to start passive cooling by throttling down CPU, etc. 932f5aa587SSascha WildnerThis value can be overridden by the user. 9468fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d._HOT 9568fb0c66SYONETANI TomokazuTemperature to start critical suspend to disk (S4). 962f5aa587SSascha WildnerThis value can be overridden by the user. 9768fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d._CRT 9868fb0c66SYONETANI TomokazuTemperature to start critical shutdown (S5). 992f5aa587SSascha WildnerThis value can be overridden by the user. 10068fb0c66SYONETANI Tomokazu.It Va hw.acpi.thermal.tz%d._ACx 10168fb0c66SYONETANI TomokazuTemperatures at which to switch to the corresponding active cooling 10268fb0c66SYONETANI Tomokazulevel. 10368fb0c66SYONETANI TomokazuThe lower the _ACx value, the higher the cooling power. 10468fb0c66SYONETANI Tomokazu.El 10568fb0c66SYONETANI Tomokazu.Pp 106a923455bSConstantine A. MureninAll temperatures are printed in Celsius. 107a923455bSConstantine A. MureninValues can be set in Celsius (by providing a trailing 108a923455bSConstantine A. Murenin.Qq C ) 109a923455bSConstantine A. Mureninor Kelvin (by leaving off any trailing letter). 110a923455bSConstantine A. MureninWhen setting a value by 111a923455bSConstantine A. Murenin.Xr sysctl 8 , 112a923455bSConstantine A. Murenindo not specify a trailing decimal (i.e., 90C instead of 90.0C). 11306627c8aSSascha Wildner.Sh NOTIFIES 11406627c8aSSascha WildnerNotifies are passed to userland via 11506627c8aSSascha Wildner.Xr devd 8 . 11606627c8aSSascha WildnerSee 11706627c8aSSascha Wildner.Pa /etc/devd.conf 11806627c8aSSascha Wildnerand 11906627c8aSSascha Wildner.Xr devd.conf 5 12006627c8aSSascha Wildnerfor examples. 12106627c8aSSascha WildnerThe 12206627c8aSSascha Wildner.Nm 12306627c8aSSascha Wildnerdriver sends events with the following attributes: 12406627c8aSSascha Wildner.Pp 12506627c8aSSascha Wildner.Bl -tag -width "subsystem" -compact 12606627c8aSSascha Wildner.It system 12706627c8aSSascha Wildner.Li ACPI 12806627c8aSSascha Wildner.It subsystem 12906627c8aSSascha Wildner.Li Thermal 13006627c8aSSascha Wildner.It type 13106627c8aSSascha WildnerThe fully qualified thermal zone object path as in the ASL. 13206627c8aSSascha Wildner.It notify 13306627c8aSSascha WildnerAn integer designating the event: 13406627c8aSSascha Wildner.Pp 13506627c8aSSascha Wildner.Bl -tag -width indent -compact 13606627c8aSSascha Wildner.It Li 0x80 13706627c8aSSascha WildnerCurrent temperature has changed. 13806627c8aSSascha Wildner.It Li 0x81 13906627c8aSSascha WildnerOne or more trip points (_ACx, _PSV) have changed. 14006627c8aSSascha Wildner.It Li 0x82 14106627c8aSSascha WildnerOne or more device lists (_ALx, _PSL, _TZD) have changed. 14206627c8aSSascha Wildner.It Li 0xcc 14306627c8aSSascha WildnerNon-standard notify that the system will shutdown if the temperature 14406627c8aSSascha Wildnerstays above _CRT or _HOT for one more poll cycle. 14506627c8aSSascha Wildner.El 14606627c8aSSascha Wildner.El 14768fb0c66SYONETANI Tomokazu.Sh SEE ALSO 14868fb0c66SYONETANI Tomokazu.Xr acpi 4 , 1492f5aa587SSascha Wildner.\".Xr cpufreq 4 , 15068fb0c66SYONETANI Tomokazu.Xr acpidump 8 15168fb0c66SYONETANI Tomokazu.Sh AUTHORS 15268fb0c66SYONETANI Tomokazu.An -nosplit 15368fb0c66SYONETANI Tomokazu.An Michael Smith 15468fb0c66SYONETANI Tomokazu.Pp 15568fb0c66SYONETANI TomokazuThis manual page was written by 15668fb0c66SYONETANI Tomokazu.An Takanori Watanabe . 157