lkml.org 
[lkml]   [2009]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [lm-sensors] coretemp support for Core i5 CPU
Hi Robert,

On Sun, 20 Sep 2009 01:47:43 -0600, Robert Hancock wrote:
> Trying to load the coretemp driver for CPU temperature monitoring on a
> Core i5 750 CPU gives:
>
> coretemp: Unknown CPU model 1e
> coretemp: Unknown CPU model 1e
> coretemp: Unknown CPU model 1e
> coretemp: Unknown CPU model 1e
>
> Looks like this model needs to be added to the list in
> drivers/hwmon/coretemp.c. Though this doesn't really seem like a very
> good approach as we'll keep having to update this driver whenever a new
> CPU model gets released. Intel has a CPUID field that indicates if the
> thermal sensor is supported: "The processor supports a digital thermal
> sensor if CPUID.06H.EAX[0] = 1." We should likely be using this instead
> of hard-coded CPU model checks..

Supporting the digital thermal sensor is one thing, but it is totally
insufficient. If you look at the coretemp driver, you'll see we need to
figure out a number of calibration values which are model-dependent. So
we will need to check this part before adding support for new CPU
models anyway.

--
Jean Delvare
http://khali.linux-fr.org/wishlist.html


\
 
 \ /
  Last update: 2009-09-20 21:25    [W:0.054 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site