amdtemp(4)

amdtemp4

Device driver for amd processor on-die digital thermal sensor

Usage

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

device amdtemp

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

amdtemp_load="YES"

Overview

The amdtemp driver provides support for the on-die digital thermal sensor present in AMD Family 0Fh, 10h, 11h, 12h, 14h, 15h, 16h, and 17h processors.

For Family 0Fh processors, the amdtemp driver reports each core's temperature through sysctl nodes, named dev.amdtemp.%d.core{0,1}.sensor{0,1}. The driver also creates dev.cpu.%d.temperature in the corresponding CPU device's sysctl tree, displaying the maximum temperature of the two sensors located in each CPU core.

For Family 10h, 11h, 12h, 14h, 15h, 16h, and 17h processors, the driver reports each package's temperature through a sysctl node, named dev.amdtemp.%d.core0.sensor0. The driver also creates dev.cpu.%d.temperature in the corresponding CPU device's sysctl tree, displaying the temperature of the shared sensor located in each CPU package.

Sysctl variables

The following variable is available as both sysctl(8) variable and loader(8) tunable:

dev.amdtemp.%d.sensor_offset

Add the given offset to the temperature of the sensor. Default is 0.

Caveats

For Family 10h and later processors,“ (the reported temperature) is a non-physical temperature measured on an arbitrary scale and it does not represent an actual physical temperature like die or case temperature. Instead, it specifies the processor temperature relative to the point at which the system must supply the maximum cooling for the processor's specified maximum case temperature and maximum thermal power dissipation” according to BIOS and Kernel Developer's Guide (BKDG) for AMD Processors, http://developer.amd.com/resources/developer-guides-manuals/.

Releases

41 releases since FreeBSD 7.3-RELEASE; the text changed 27 times.

  1. 7.3
  2. 7.4
  3. 8.0
  4. 8.1
  5. 8.2
  6. 8.3
  7. 8.4
  8. 9.0
  9. 9.1
  10. 9.2
  11. 9.3
  12. 10.0
  13. 10.1
  14. 10.2
  15. 10.3
  16. 10.4
  17. 11.0
  18. 11.1
  19. 11.2
  20. 11.3
  21. 11.4
  22. 12.0
  23. 12.1
  24. 12.2
  25. 12.3
  26. 12.4
  27. 13.0–13.2
  28. 13.3–16.0

History

The amdtemp driver first appeared in FreeBSD 7.1.

Authors

Rui Paulo ⟨[email protected]⟩ Norikatsu Shigemura ⟨[email protected]⟩ Jung-uk Kim ⟨[email protected]⟩

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.