xref: /netbsd-src/share/man/man4/amdtemp.4 (revision cac8e449158efc7261bebc8657cbb0125a2cfdde)
1.\" $NetBSD: amdtemp.4,v 1.1 2008/04/22 22:37:13 cegger Exp $
2.\"-
3.\" Copyright (c) 2008 Christoph Egger
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD: src/share/man/man4/coretemp.4,v 1.4 2007/10/15 20:00:19 netchild Exp $
28.\"
29.Dd April 22, 2008
30.Dt AMDTEMP 4
31.Os
32.Sh NAME
33.Nm amdtemp
34.Nd AMD CPU on-die digital thermal sensor
35.Sh SYNOPSIS
36.Cd "amdtemp* at pci? dev ? function ?"
37.Sh DESCRIPTION
38The
39.Nm
40driver provides support for the on-die digital thermal sensor present
41on AMD K8, AMD Barcelona, AMD Phenoms and AMD Griffin CPUs.
42.Pp
43These sensors were officially introduced in AMD K8 Revision F processors,
44and provide 0.5 degC accuracy.  Precision was improved in Revision
45G chips, which provide two more bits for 0.25 degC steppings.  Each core
46has two temperature sensors, and there are be up to two cores per CPU socket.
47.Pp
48AMD Barcelona, AMD Phenom and AMD Griffin provide 0.125 degC accuracy
49and provide one temperature sensor for each CPU socket.
50.Pp
51The
52.Nm
53driver reports temperatures through the
54.Xr envsys 4
55API.
56.Bl -column "Sensor    " "Units" "Typical" -offset indent
57.It Sy "Sensor     " Ta Sy "Units" Ta Sy "Typical Use"
58.It Li "CPUN sensor0" Ta "uK" Ta "cpuN temperature"
59.El
60.Sh SEE ALSO
61.Xr envstat 4 ,
62.Xr powerd 8
63.Sh HISTORY
64The
65.Nm
66driver first appeared in
67.Ox 4.4
68named
69.Xr kate 4 .
70And then was ported to
71.Nx 5.0 .
72The driver has been renamed with support for newer AMD CPUs.
73.Sh AUTHORS
74.An -nosplit
75The
76.Nm
77driver was written by
78.An Constantine A. Murenin <cnst@openbsd.org>
79whilst at the University of Waterloo. It was adapted to
80.Nx
81by
82.An Christoph Egger .
83