KM(4)

NAME
km - AMD K10 temperature sensor

SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:

device pci
device km

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

    km_load="YES"

DESCRIPTION
The km driver provides support for the temperature sensors available in the AMD Family 10h, 11h, 12h, 14h, 15h and 16h processors.

Each chip reports one temperature sensor. Multiprocessor systems have one instance of km per chip. The highest resolution supported by the driver is 0.125 degC.

Sensor values are made available through the HW_SENSORS sysctl(3) interface, and can be monitored with the systat(1) sensors display, sensorsd(8) and sysctl(8) hw.sensors. For example, with an AMD Phenom X4 9850 Black Edition 2.5GHz Socket AM2+ 125W quad-core processor:

    %sysctl hw.sensors.km0
    hw.sensors.km0.temp0: 60.50 degC

SEE ALSO
systat(1), sysctl(3), amdtemp(4), intro(4), kate(4), pci(4), sensorsd(8), sysctl(8) BIOS and Kernel Developer's Guide for AMD Family 10h Processors, March 26, 2008, Publication # 31116, pp. 236--237 and pp. 243--244. BIOS and Kernel Developer's Guide for AMD Family 11h Processors, July 07, 2008, Publication # 41256, pp. 156--157 and pp. 159--160. BIOS and Kernel Developer's Guide for AMD Family 12h Processors, October 06, 2011, Publication # 41131 Rev 3.02, pp. 303--304 and p. 316. BIOS and Kernel Developer's Guide for AMD Family 14h Models 00h-04h Processors, May 02, 2011, Publication # 43170, pp. 277--278 and pp. 280--282. BIOS and Kernel Developer's Guide for AMD Family 15h Models 00h-0Fh Processors, January 23, 2013, Publication # 42301 Rev 3.14, pp. 374--375 and pp. 293--294. BIOS and Kernel Developer's Guide for AMD Family 15h Models 10h-1Fh Processors, June 04, 2013, Publication # 42300 Rev 3.10, p. 419 and pp. 432--433. BIOS and Kernel Developer's Guide for AMD Family 15h Models 30h-3Fh Processors, June 17, 2014, Publication # 49125 Rev 3.03, p. 440 and pp. 457--458. Preliminary BIOS and Kernel Developer's Guide for AMD Family 16h Models 00h-0Fh Processors, May 30, 2013, Publication # 48751 Rev 3.00, p. 400 and pp. 418--419.

HISTORY
The km driver first appeared in OpenBSD 4.4 and DragonFly 2.5.

AUTHORS
-nosplit The km driver was written for OpenBSD and DragonFly by Constantine A. Murenin <http://cnst.su/>, Raouf Boutaba Research Group, David R. Cheriton School of Computer Science, University of Waterloo.