KATE(4)
π KATE(4) β the AMD K8 temp sensor page, explained by your favorite Unix bestie
okay so this is from the Kernel Interfaces Manual (section 4, which is like, drivers and kernel stuff, iykyk) and we're talking about kate β the AMD K8 temperature sensor. yes she's named kate. yes she's iconic. let's go π
β¨ NAME β¨
kate β the AMD K8 temperature sensor, fr fr
πΈ SYNOPSIS πΈ
kate* at pci?
that's it. that's the whole vibe check. she attaches at pci? and that asterisk means "one or more of her, depending on how many chips you got" π¦
π₯ DESCRIPTION π₯
The kate driver provides support for the temperature sensors that live inside the AMD K8 family of processors. she's literally just here to tell you how hot your CPU is being. main character energy π
So these sensors were officially introduced with Revision F Family 0Fh processors, and they give you 1 degC accuracy. cute, but the glow-up came with Revision G chips, which added two more bits so you get 0.25 degC steppings. precision queen π
Each core may have two temperature sensors, and there may be up to two cores per package. so the math is mathing in a kinda fun way.
Multiprocessor systems get one instance of kate per each chip. In each instance:
temp0andtemp1are the sensors on the first coretemp2andtemp3are the sensors on the second core
As such, single core chips may have two sensors, and dual-core dual-processor systems may have as many as 8 temperature sensors in total. eight!! she's booked and busy π«Ά
Now here's the little plot twist: since many prior revisions of the chips appear to have valid readings for at least some temperature sensors in the same address space as the aforementioned revisions, the driver may also attach on such older revisions β provided that it finds some sensor readings that appear valid. lowkey lenient of her, honestly.
β οΈ But in such caseskatewould not print the core revision information into thedmesg. so don't come for her when the revision info is missing, she warned you π
Sensor values are made available through the sysctl(8) interface. that's where you go to peek at the numbers π
π¦ SEE ALSO π¦
and the reading list, because she's studious:
- BIOS and Kernel Developer's Guide for AMD NPT Family 0Fh Processors, Publication # 32559, pp. 21β23 and pp. 179β184, July 2007.
- Revision Guide for AMD NPT Family 0Fh Processors, Publication # 33610, February 2008.
like she did the homework. respectfully. πβ¨
π HISTORY π
The kate driver first appeared in OpenBSD 4.4. a legend was born, etc etc π
π AUTHORS π
The kate driver was written by Constantine A. Murenin <cnst@openbsd.org> whilst at the University of Waterloo. ok stan a little bit π
and that's the whole page bestie β every flag, every degree, every sensor accounted for, no cap π
shoutout to the Debian packaging of this page, dated April 23, 2019 β that's the source/version + date energy, mwah π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2008 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms