You are not logged in.

#1 2009-12-05 19:39:52

vajorie
Member
Registered: 2009-03-12
Posts: 66

[NOT SOLVED] Acer D250 - where to get CPU temp info

I was wondering where to get CPU temp info other than acpi and lm-sensors...

laptop: acer aspire one aod250-1613 ("d250"), intel atom n280, bios v1.22, arch up-to-date, kernel 2.6.31

problem with lm-sensors: even though it is supposed to have support for Atom ( http://www.lm-sensors.org/changeset/5773 ) via coretemp ( http://bugzilla.kernel.org/show_bug.cgi?id=11161 ), it does not find any sensors. emailed lm-sensors people + sent a message to kernel dev, hoping for an answer.

problem with acpi: including all the temp files ("thermal") I found under /proc/acpi and acpi -V, it reports cpu temp unrealistically as always 26C or 27C even when laptop is very hot. Confirmed with one more D250 user here: http://bbs.archlinux.org/viewtopic.php?id=86124

tried solutions: Apart from trying to make lm-sensors work (tried modprobing all sorts of modules, then emailed their list reporting the problem: http://lists.lm-sensors.org/pipermail/l … 27432.html ), I spent a lot of time looking around in /proc/ and /sys/ for a file that would have a realistic cpu temp in it to no avail. also emailed linux-acpi email list http://www.spinics.net/lists/linux-acpi/msg26078.html but I'll probably not get an answer.

behavior in windows: I downloaded HWMonitor (does not work in wine properly) from here: http://www.cpuid.com/hwmonitor.php It shows two temperature sources: acpi (which reports, as in Linux, the temp wrongly), and "Atom" (which correctly reports the temperature). So there is some sort of sensor in this laptop that is capable and able to show the temp properly...

contact with acer: no help there.

Any ideas what to do?

edit: updated with some links

EDIT:

I solved this [new update: I did not solve it as it turns out, see below] by downloading the coretemp.o module source file from kernel 2.6.32, putting it under a folder named Downloads, and compiling it with the command:

make -C /lib/modules/2.6.31-ARCH/build M=/home/user/Downloads modules

I then tried the module out using

sudo insmod coretemp.ko

It worked, so I moved the coretemp.ko file here:

/lib/modules/2.6.31-ARCH/updates/drivers/hwmon/coretemp.ko

The "updates/drivers" folder was already there, but I think it was created by the scripts of compat-wireless.

I then ran

sudo depmod -a

and placed the module's name in my /etc/rc.conf file

MODULES=(!snd-pcsp coretemp acpi-cpufreq !p4-clockmod ...)

If the coretemp module cannot be loaded after a reboot, take a look at compat-wireless scripts which create a /lib/modules/2.6.31-ARCH/updates/drivers/ folder --either the kernel automatically ignores modules with same name as those under ...../updates/ forlder, or it was compat-wireless scripts that did that. I don't know, try smile

The temperature value is now readable by

sensors

as well as through the file

/sys/class/hwmon/hwmon1/device/temp1_input

and

/sys/class/hwmon/hwmon2/device/temp1_input

Last edited by vajorie (2009-12-20 07:27:19)

Offline

#2 2009-12-05 21:19:31

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: [NOT SOLVED] Acer D250 - where to get CPU temp info

lm_sensors works with kernel26-lts.
Unfortionately, sensors have been broken on Atom for a while in newer kernels sad
I miss my quiet fanless (most of the time) system...

Offline

#3 2009-12-05 23:55:32

vajorie
Member
Registered: 2009-03-12
Posts: 66

Re: [NOT SOLVED] Acer D250 - where to get CPU temp info

schuay wrote:

lm_sensors works with kernel26-lts.
Unfortionately, sensors have been broken on Atom for a while in newer kernels sad
I miss my quiet fanless (most of the time) system...

Isn't lts something like 2.6.27? That's a long time for it to be broken sad

Offline

#4 2009-12-10 20:22:33

haikuhacker
Member
Registered: 2009-11-28
Posts: 39

Re: [NOT SOLVED] Acer D250 - where to get CPU temp info

Its actually been broken since 2.6.30 but a bug that was fixed in 2.6.31 allowed lm_sensors to work anyway.
http://hansdegoede.livejournal.com/7932.html
so you should be able to use 2.6.29 or even 2.6.30
this post might also help
http://bbs.archlinux.org/viewtopic.php? … 06#p670406

Last edited by haikuhacker (2009-12-10 20:35:54)


Salix-13.37-64-XFCE/Spectrwm Archbang/Razor-QT
Intel® Atom™ Processor D510
NVIDIA® GeForce™ 6200

Offline

#5 2009-12-20 07:24:12

vajorie
Member
Registered: 2009-03-12
Posts: 66

Re: [NOT SOLVED] Acer D250 - where to get CPU temp info

it turns out that I couldn't solve this yet. funny enough, coretemp gets $ sensors to show *hdd* temperature... not the cpu. checked with hwmon utility that runs in windows.

I have no idea what to do, where to email, whom to ask... any ideas?

sensors output fyi:

coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +37.0°C  (crit = +90.0°C)                  

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +36.0°C  (crit = +90.0°C)                  

acpitz-virtual-0
Adapter: Virtual device
temp1:       +26.8°C  (crit = +100.0°C)

note to self: max cpu temp above is reported correctly, even though measurement is not cpu's temp...

Last edited by vajorie (2009-12-20 07:36:00)

Offline

Board footer

Powered by FluxBB