13d3afab1SImre Vadasz.\" $OpenBSD: km.4,v 1.9 2013/07/16 16:05:49 schwarze Exp $ 239990074SConstantine A. Murenin.\" 3909d094eSSascha Wildner.\" Copyright (c) 2008/2010 Constantine A. Murenin <cnst+dfly@bugmail.mojo.ru> 439990074SConstantine A. Murenin.\" 539990074SConstantine A. Murenin.\" Permission to use, copy, modify, and distribute this software for any 639990074SConstantine A. Murenin.\" purpose with or without fee is hereby granted, provided that the above 739990074SConstantine A. Murenin.\" copyright notice and this permission notice appear in all copies. 839990074SConstantine A. Murenin.\" 939990074SConstantine A. Murenin.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1039990074SConstantine A. Murenin.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1139990074SConstantine A. Murenin.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1239990074SConstantine A. Murenin.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1339990074SConstantine A. Murenin.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1439990074SConstantine A. Murenin.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1539990074SConstantine A. Murenin.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1639990074SConstantine A. Murenin.\" 170f7e851bSSascha Wildner.Dd August 2, 2020 1839990074SConstantine A. Murenin.Dt KM 4 1939990074SConstantine A. Murenin.Os 2039990074SConstantine A. Murenin.Sh NAME 2139990074SConstantine A. Murenin.Nm km 2239990074SConstantine A. Murenin.Nd AMD K10 temperature sensor 2339990074SConstantine A. Murenin.Sh SYNOPSIS 2439990074SConstantine A. MureninTo compile this driver into the kernel, 2539990074SConstantine A. Mureninplace the following lines in your 2639990074SConstantine A. Mureninkernel configuration file: 2739990074SConstantine A. Murenin.Bd -ragged -offset indent 283d348ee9SConstantine A. Murenin.Cd "device pci" 2939990074SConstantine A. Murenin.Cd "device km" 3039990074SConstantine A. Murenin.Ed 3139990074SConstantine A. Murenin.Pp 3239990074SConstantine A. MureninAlternatively, to load the driver as a 333d348ee9SConstantine A. Mureninmodule at boot time, place the following line in 3439990074SConstantine A. Murenin.Xr loader.conf 5 : 3539990074SConstantine A. Murenin.Bd -literal -offset indent 3639990074SConstantine A. Mureninkm_load="YES" 3739990074SConstantine A. Murenin.Ed 3839990074SConstantine A. Murenin.Sh DESCRIPTION 3939990074SConstantine A. MureninThe 4039990074SConstantine A. Murenin.Nm 4139990074SConstantine A. Murenindriver provides support for the temperature sensors available in the 4277887bbeSImre VadaszAMD Family 10h, 11h, 12h, 14h, 15h and 16h processors. 4339990074SConstantine A. Murenin.Pp 4439990074SConstantine A. MureninEach chip reports one temperature sensor. 4539990074SConstantine A. MureninMultiprocessor systems have one instance of 4639990074SConstantine A. Murenin.Nm 4739990074SConstantine A. Mureninper chip. 4839990074SConstantine A. MureninThe highest resolution supported by the driver is 0.125 degC. 4939990074SConstantine A. Murenin.Pp 5039990074SConstantine A. MureninSensor values are made available through the 5139990074SConstantine A. Murenin.Dv HW_SENSORS 5239990074SConstantine A. Murenin.Xr sysctl 3 5339990074SConstantine A. Murenininterface, 5439990074SConstantine A. Mureninand can be monitored with the 5539990074SConstantine A. Murenin.Xr systat 1 5639990074SConstantine A. Murenin.Ar sensors 5739990074SConstantine A. Murenindisplay, 5839990074SConstantine A. Murenin.Xr sensorsd 8 5939990074SConstantine A. Mureninand 6039990074SConstantine A. Murenin.Xr sysctl 8 6139990074SConstantine A. Murenin.Ar hw.sensors . 6239990074SConstantine A. MureninFor example, with an 6339990074SConstantine A. Murenin.Tn AMD 6439990074SConstantine A. Murenin.Tn Phenom X4 6539990074SConstantine A. Murenin9850 Black Edition 2.5GHz 6639990074SConstantine A. Murenin.Tn Socket AM2+ 6739990074SConstantine A. Murenin125W quad-core processor: 6839990074SConstantine A. Murenin.Bd -literal -offset indent 6939990074SConstantine A. Murenin%sysctl hw.sensors.km0 7039990074SConstantine A. Mureninhw.sensors.km0.temp0: 60.50 degC 7139990074SConstantine A. Murenin.Ed 7239990074SConstantine A. Murenin.Sh SEE ALSO 7339990074SConstantine A. Murenin.Xr systat 1 , 7439990074SConstantine A. Murenin.Xr sysctl 3 , 75*fa91d8bfSSascha Wildner.Xr amdtemp 4 , 7639990074SConstantine A. Murenin.Xr intro 4 , 7739990074SConstantine A. Murenin.Xr kate 4 , 7839990074SConstantine A. Murenin.Xr pci 4 , 7939990074SConstantine A. Murenin.Xr sensorsd 8 , 8039990074SConstantine A. Murenin.Xr sysctl 8 8139990074SConstantine A. Murenin.Rs 8239990074SConstantine A. Murenin.%T "BIOS and Kernel Developer's Guide for AMD Family 10h Processors" 8339990074SConstantine A. Murenin.%D March 26, 2008 8439990074SConstantine A. Murenin.%R Publication # 31116 8539990074SConstantine A. Murenin.%P pp. 236--237 and pp. 243--244 8639990074SConstantine A. Murenin.Re 8739990074SConstantine A. Murenin.Rs 8839990074SConstantine A. Murenin.%T "BIOS and Kernel Developer's Guide for AMD Family 11h Processors" 8939990074SConstantine A. Murenin.%D July 07, 2008 9039990074SConstantine A. Murenin.%R Publication # 41256 9139990074SConstantine A. Murenin.%P pp. 156--157 and pp. 159--160 923d3afab1SImre Vadasz.Re 933d3afab1SImre Vadasz.Rs 9477887bbeSImre Vadasz.%T "BIOS and Kernel Developer's Guide for AMD Family 12h Processors" 9577887bbeSImre Vadasz.%D October 06, 2011 9677887bbeSImre Vadasz.%R Publication # 41131 Rev 3.02 9777887bbeSImre Vadasz.%P pp. 303--304 and p. 316 9877887bbeSImre Vadasz.Re 9977887bbeSImre Vadasz.Rs 1003d3afab1SImre Vadasz.%T "BIOS and Kernel Developer's Guide for AMD Family 14h Models 00h-04h Processors" 1013d3afab1SImre Vadasz.%D May 02, 2011 1023d3afab1SImre Vadasz.%R Publication # 43170 1033d3afab1SImre Vadasz.%P pp. 277--278 and pp. 280--282 10455676870SImre Vadasz.Re 10555676870SImre Vadasz.Rs 10668420e59SSascha Wildner.%T "BIOS and Kernel Developer's Guide for AMD Family 15h Models 00h-0Fh Processors" 10755676870SImre Vadasz.%D January 23, 2013 10855676870SImre Vadasz.%R Publication # 42301 Rev 3.14 10955676870SImre Vadasz.%P pp. 374--375 and pp. 293--294 11055676870SImre Vadasz.Re 11155676870SImre Vadasz.Rs 11268420e59SSascha Wildner.%T "BIOS and Kernel Developer's Guide for AMD Family 15h Models 10h-1Fh Processors" 11355676870SImre Vadasz.%D June 04, 2013 11455676870SImre Vadasz.%R Publication # 42300 Rev 3.10 11555676870SImre Vadasz.%P p. 419 and pp. 432--433 11655676870SImre Vadasz.Re 11755676870SImre Vadasz.Rs 11868420e59SSascha Wildner.%T "BIOS and Kernel Developer's Guide for AMD Family 15h Models 30h-3Fh Processors" 11955676870SImre Vadasz.%D June 17, 2014 12055676870SImre Vadasz.%R Publication # 49125 Rev 3.03 12155676870SImre Vadasz.%P p. 440 and pp. 457--458 12255676870SImre Vadasz.Re 12355676870SImre Vadasz.Rs 12468420e59SSascha Wildner.%T "Preliminary BIOS and Kernel Developer's Guide for AMD Family 16h Models 00h-0Fh Processors" 12555676870SImre Vadasz.%D May 30, 2013 12655676870SImre Vadasz.%R Publication # 48751 Rev 3.00 12755676870SImre Vadasz.%P p. 400 and pp. 418--419 12839990074SConstantine A. Murenin.Re 12939990074SConstantine A. Murenin.Sh HISTORY 13039990074SConstantine A. MureninThe 13139990074SConstantine A. Murenin.Nm 13239990074SConstantine A. Murenindriver first appeared in 13339990074SConstantine A. Murenin.Ox 4.4 13439990074SConstantine A. Mureninand 13584010a4bSSascha Wildner.Dx 2.5 . 13639990074SConstantine A. Murenin.Sh AUTHORS 1373d3afab1SImre Vadasz.An -nosplit 13839990074SConstantine A. MureninThe 13939990074SConstantine A. Murenin.Nm 14039990074SConstantine A. Murenindriver was written for 14139990074SConstantine A. Murenin.Ox 14239990074SConstantine A. Mureninand 14339990074SConstantine A. Murenin.Dx 14439990074SConstantine A. Mureninby 145909d094eSSascha Wildner.An Constantine A. Murenin Aq Lk http://cnst.su/ , 14639990074SConstantine A. MureninRaouf Boutaba Research Group, 14739990074SConstantine A. MureninDavid R. Cheriton School of Computer Science, 14839990074SConstantine A. MureninUniversity of Waterloo. 149