DragonFly kernel List (threaded) for 2007-07
DragonFly BSD
DragonFly kernel List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Intel on-die digital thermal sensor readout support


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Tue, 31 Jul 2007 23:12:20 +0000

I've written a small kernel module to readout the temperatures from CPU cores in recent Intel CPUs (roughly since the P4). It's rough around the edges, and currently uses a hardcoded reference value suitable for newer Core 2 Duo/Quad CPUs, which I'll have to fix someday. At least it works:

virgo# sysctl hw.coretemp
hw.coretemp.polling_rate: 10
hw.coretemp.cpu0: 67
hw.coretemp.cpu1: 62
hw.coretemp.cpu2: 59
hw.coretemp.cpu3: 61

(this example is from a Core 2 Quad Q6600, stock speeds, boxed HSF)

Tarball is at http://leaf.dragonflybsd.org/~tgen/coretemp.tgz , untar into sys/dev/misc/intelcore/. I'm not sure if anyone else finds this useful, if they do, I'll commit it after cleaning it up.

Cheers,
--
        Thomas E. Spanjaard
        tgen@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]