From owner-acpi-jp@jp.FreeBSD.org Fri Dec 26 17:06:54 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id hBQ86s097127;
	Fri, 26 Dec 2003 17:06:54 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id hBQ86sC97122
	for <acpi-jp@jp.freebsd.org>; Fri, 26 Dec 2003 17:06:54 +0900 (JST)
	(envelope-from takawata@axe-inc.co.jp)
Received: from localhost (localhost [127.0.0.1])
	by axe-inc.co.jp (8.9.3+3.2W/3.7W) with SMTP id RAA05377
	for <acpi-jp@jp.freebsd.org>; Fri, 26 Dec 2003 17:06:53 +0900 (JST)
Message-Id: <200312260806.RAA05377@axe-inc.co.jp>
X-Authentication-Warning: axegw.axe-inc.co.jp: localhost [127.0.0.1] didn't use HELO protocol
To: acpi-jp@jp.FreeBSD.org
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <1663.1072425946.0@tmp.init-main.com>
From: Takanori Watanabe <takawata@axe-inc.co.jp>
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 26 Dec 2003 17:06:53 +0900
X-Sequence: acpi-jp 2938
Subject: [acpi-jp 2938] Thermal management subsystem man page.
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: takawata@axe-inc.co.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+031216

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <1663.1072425946.1@tmp.init-main.com>
Content-Transfer-Encoding: 7bit

I have asked questions frequently on thermal 
management subsystem,especially on the templerature unit.
So I wrote a man page. But, unfotunately I am poor at 
English so please review it.
Thanks.


------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <1663.1072425946.2@tmp.init-main.com>
Content-Transfer-Encoding: 7bit

.\"
.\" Copyright (c) 2003 Takanori Watanabe.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: $
.\"

.Dd July 2, 2001
.Dt ACPI_THERMAL 4
.Os
.Sh NAME
.Nm acpi_thermal
.Nd ACPI Thermal Management Support Subsystem
.Sh SYNOPSIS
.Cd "device acpi"
.Pp
.Sh DESCRIPTION
The
.Nm
driver provides ACPI thermal handling feature as a part of
ACPI module. This module has sysctl interface and devd notification
interface. Sysctls export ACPI objects as is.
The
.Nm
driver also activate active cooling system along with appropriate
acpi object.
.Sh SYSCTLS
.Bl -tag -width indent
.It Va hw.acpi.thermal.tz%d.active
Current active system running state.
.It Va hw.acpi.thermal.tz%d.thermal_flags
Current thermal zone status. This is bit-masked values.
.It Va hw.acpi.thermal.tz%d.temperature
exports _TMP object that means current temperature.
.It Va hw.acpi.thermal.tz%d._PSV
exports _PSV object that means the temperature to start 
passive cooling by throtting down CPU etc..
.It Va hw.acpi.thermal.tz%d._HOT
exports _HOT object that means the temperature to 
start critical suspend to disk 
.It Va hw.acpi.thermal.tz%d._CRT
exports _CRT object that means the temperature to 
start critical shutdown.
.It Va hw.acpi.thermal.tz%d._ACx
exports _ACx objects that objects that means active 
cooling start values. The earlier value means the strengest
active cooling temperature.
.El
All temperature is represents as tenth of Kelvin. For example
300.0K is represented as by the integer 3000. To convert to celcius 
degree, the formula is (x - 2732) / 10.
.Sh NOTIFYS
Notifies are passed as a string beginning with 
"!system=ACPI subsystem=Thermal" the thermal zone instance
is distingushed by ACPI object path in "type=" argument. The notify
value is passed in "notify=" argument.

.Bl -tag -width indent
.It Va 0x80
	Temperature change.
.It Va 0x81
	Trip point change.  
.It Va 0x82
	Device Lists change.  
.El
.Sh SEE ALSO
.Xr acpi 4
.Rs
.%A "Compaq Computer Corporation"
.%A "Intel Corporation"
.%A "Microsoft Corporation"
.%A "Phoenix Technologies Ltd."
.%A "Toshiba Corporation"
.%D August 25, 2003
.%T "Advanced Configuration and Power Interface Specification"
.%O http://acpi.info/spec.htm
.Re
.Sh AUTHORS
.An Michael Smith
This manual page was written by
.Pp
.An Takanori Watanabe

------- =_aaaaaaaaaa0--
