Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 20:35:32 +0000
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        "Gelsema, P (Patrick)" <gelsemap@superhero.nl>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: CFT: k8temp driver
Message-ID:  <D504C0DD-01CD-42F9-B71B-264F613CC1F8@FreeBSD.org>
In-Reply-To: <1678.10.202.77.197.1202678830.squirrel@webmail.superhero.nl>
References:  <A611E395-3531-4026-B8B3-5EFA72BA48E1@FreeBSD.org> <1678.10.202.77.197.1202678830.squirrel@webmail.superhero.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 10, 2008, at 9:27 PM, Gelsema, P (Patrick) wrote:

> On Sun, February 10, 2008 16:59, Rui Paulo wrote:
>> Hi,
>> Some AMD systems have two thermal sensors on both cores. I wrote a
>> simple driver to access these temperatures, but I don't have a system
>> to test. If anyone has a AMD K8 system, I would love if you could  
>> test
>> the k8temp driver that I wrote based on the Linux one.
>>
>> Get it at:
>> 	http://people.freebsd.org/~rpaulo/k8temp.tgz
>>
>> Compile/test with:
>> 	$ tar xzvf k8temp.tgz && cd k8temp
>> 	$ make SYSDIR=/path/to/src/sys
>> 	# kldload ./k8temp.ko
>>
>
> hulk# uname -a
> FreeBSD hulk.superhero.nl 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24  
> 18:52:08
> CET 2007     admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC   
> amd64
>
> hw.machine: amd64
> hw.model: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
> hw.ncpu: 2
>
> hulk# sysctl -a | grep k8temp
> k8temp0: <AMD K8 Thermal Sensors> on hostb3
> k8temp0: 16 20 11 7
> dev.k8temp.0.%desc: AMD K8 Thermal Sensors
> dev.k8temp.0.%driver: k8temp
> dev.k8temp.0.%parent: hostb3
> dev.k8temp.0.sensor0.core0: 19
> dev.k8temp.0.sensor0.core1: 21
> dev.k8temp.0.sensor1.core0: 19
> dev.k8temp.0.sensor1.core1: 19
>
> Rgds,
>
> Patrick


Thanks for testing!

Regards.
--
Rui Paulo







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D504C0DD-01CD-42F9-B71B-264F613CC1F8>