CFT: k8temp driver
Кузнецов Александр
kuzmich at rostov.ru
Tue Feb 12 12:57:35 PST 2008
Thomas Hurst <tom.hurst at clara.net> wrote:
>>Maybe it's revision dependent. The data sheet is here:
>>http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf
Thanks!
Here is small patch for my processor:
278c278
< temp = ((temp >> 16) & 0xff) - K8TEMP_MINTEMP;
---
> temp = (((temp >> 14) & 0xfff) - K8TEMP_MINTEMP) / 4;
kuzmich# grep 'CPU:' /var/run/dmesg.boot
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (1004.64-MHz 686-class
CPU)
kuzmich# sysctl -a | grep k8temp
dev.k8temp.0.%desc: AMD K8 Thermal Sensors
dev.k8temp.0.%driver: k8temp
dev.k8temp.0.%parent: hostb3
dev.k8temp.0.sensor0.core0: 67
dev.k8temp.0.sensor0.core1: 56
dev.k8temp.0.sensor1.core0: 67
dev.k8temp.0.sensor1.core1: 67
kuzmich#
67C seems more correct then 30-35C before patch
Many thanks to Rui Paulo for initial driver!
More information about the freebsd-amd64
mailing list