Comment 40 for bug 235119

Revision history for this message
Bigfoot77210 (bigfoot77210) wrote :

Hi, coretemp doesn't seems to work with Atom N270 processors.
However, I get it run by changing the line 419 of its source code from:
   (c->x86_model == 0x16) || (c->x86_model == 0x17) {
to
   (c->x86_model == 0x16) || (c->x86_model == 0x17) || (c->x86_model == 0x1C))) {

I attached my new coretemp source file and the changes.

I don't know how to use "git", I'm sorry. Here is what it would look like…

coretemp changesline 413
 for_each_online_cpu(i) {
  struct cpuinfo_x86 *c = &cpu_data(i);

−− /* check if family 6, models 0xe, 0xf, 0x16, 0x17 */
++ /* check if family 6, models 0xe, 0xf, 0x16, 0x17, 0x28 */
   if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
      !((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
-- (c->x86_model == 0x16) || (c->x86_model == 0x17))) {
++ (c->x86_model == 0x16) || (c->x86_model == 0x17) || (c->x86_model == 0x28))) {