KM(4) BSD Kernel Interfaces Manual KM(4)NAMEkm — 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 and 11h 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) inter‐
face, 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 ALSOsystat(1), sysctl(3), intro(4), kate(4), pci(4), sensorsd(8), sysctl(8)
BIOS and Kernel Developer's Guide for AMD Family 10h Processors,
Publication # 31116, pp. 236--237 and pp. 243--244, March 26, 2008.
BIOS and Kernel Developer's Guide for AMD Family 11h Processors,
Publication # 41256, pp. 156--157 and pp. 159--160, July 07, 2008.
HISTORY
The km driver first appeared in OpenBSD 4.4 and DragonFly 2.5.
AUTHORS
The km driver was written for OpenBSD and DragonFly by Constantine A.
Murenin ⟨http://cnst.su/⟩, Raouf Boutaba Research Group, David R. Cheri‐
ton School of Computer Science, University of Waterloo.
BSD February 12, 2010 BSD