HP notebook and Slackware-current: temperature seems a bit high [SOLVED]
Hi all,
As of late I've been "feeling" my HP Dv6663's temperature quite high. Slackware's installed from stock (no kernel recompiling) and I've upgraded to -current. Code:
root@predator:~# uname -a Code:
root@predator:~# cat /proc/cpuinfo Code:
root@predator:~# ls /proc/acpi/thermal_zone/ Any ideas and help will be greatly appreciated! Thanks in advance! |
Hi
since no-one has replied let me start the ball rolling You appear to have a portable I suggest you install lm-sensors...you can also INSTALL the front end gkrellm run Code:
sensors-detect 2) try Code:
cat /proc/acpi/thermal_zone/THRM/temperature you could also check if you could use smaller apps in liew of Open office? etc |
1 Attachment(s)
aus9,
Thanks for the reply! I have followed your lead and installed lm_sensors-3.0.3 and Gkrellm. As root I typed sensors-detect and it detected a Intel Core family thermal sensor (driver 'coretemp') and it said I should add the following lines to /etc/rc.d/rc.local: Code:
# Chip drivers Code:
# /etc/rc.d/rc.local restart Now I'm off looking for some extra plugins. I still haven't found anything under /proc/acpi/thermal_zone, as you may see here, or below, on the attached thumbnails. My system is, indeed a laptop, and I couldn't get used to "lighter" WM like XFCE, mainly because I think it is too similar to Gnome - which I really tried (more than once!) and did not liked. Also since I didn't like KDE 4.x, I still run KDE 3.5.x. But I think I'll give LXDE a try. Again I thank your help! Gustavo |
hi
can't see the first image but can see your attachment. ok try Code:
su not all boards have sensors some have sensors for fans but not temps Your bios is the best place to look first...if you can see temps and fan speeds you should get there. |
1 Attachment(s)
aus9,
I checked BIOS and have not found temps or fan speeds. Also I can only make gkrellm list core temps after I restart (as root) /etc/rc.d/rc.local. This file does not loads on boot depite being on /etc/rc.d and is executable (chmod +x), but this is another issue. So I restart rc.local and on gkrellm I go Configurations > Builtins > Sensors > Temperatures and check coretemp@0/temp1 and coretemp@1/temp1, see attached image. Then gkrellm shows CPU's core temps, but still no fan speed. Going through the notebook's manual I found that there is a fan mounted on the processor. Finally something that's bugging me is that there is nothing under /proc/acpi/thermal_zone. Gustavo |
Check with lsmod if module thermal is loaded. If not, load it with modprobe.
Also, are you using cpu frequency scaling? It is quite important for laptops. Load acpi-cpufreq and cpufreq-ondemand modules (you should uncomment those in /etc/rc.d/rc.modules). Then install cpufrequtils or add next lines to /etc/rc.d/rc.local : Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
1 Attachment(s)
kukibl,
Thanks for your insights too! I had already edited /etc/rc.d/rc.modules and uncommented the lines to enable thermal, acpi-cpufreq and cpufreq-ondemand. Now I installed cpufrequtils I downloaded from SlackBuild.org, and it offered two news commands: cpufreq-info and cpufreq-set. I checked and cpufreq-info gave me this: Code:
root@predator:~# cpufreq-info So I figure all is good here! At the moment, gkrellm is showing both CPUs to be under 45 C, as you can see on the attached image. I guess now I need a plugin for gkrellm monitor my processor fan. Off digging one! Thanks so far, Gustavo |
In general, I don't use cpufrequtils, I prefer manual way (I gave you an example in my previous post).
Anyway, for general use, cpufreq-set is quite easy: Code:
#cpufreq-set -c[core number] -g[name of the governor] Code:
#cpufreq-set -c 0 -g ondemand |
kukibl,
I just added the lines to /etc/rc.d/rc.local: Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor Thanks so far, Gustavo |
I am not sure if cpufrequtils are more permanent solution. As I wrote, I don't use them. You should check if there is rc.cpufreq in /etc/rc.d (since you installed cpufrequtils from SlackBuilds) and make it executable.
I saw you started new thread concerning rc.local problem. It should work, unless you did some modifications to /etc/rc.d/rc.M file or permissions. Check ones again if rc.local has executable permission and is everything all right in rc.M file (find line that is concerning rc.local). Also, maybe you should write command with full path. For example: /sbin/cp some-file some-other-file. |
hi
In addition I forgot to mention there is a tweak file called /etc/sensors.conf Also when running sensors-detect with root powers .....hopefully you get to a line or 2 to put in /etc/modules and I think you need to type yes (in full rather than y)? |
kukibl,
I'm not using cpufreq-set, but from time to time I check CPUs frequency with cpufreq-info. When idle CPU frequencies are 800MHz and core temps vary 35 ~ 45 C. When compiling (a big package, say wine) CPU frequencies jump to 2.20GHz and core temps escalate to 50 ~ 60 C. And I'm pretty satisfied with this! However, I found no /etc/rc.d/rc.cpufreq. I managed to solve the /etc/rc.d/rc.local issue as well, writing the command with full path name, replacing the "." for "/bin/sh" when starting some services and calling rc.local at /etc/rc.d/rc.M. aus9, After running Code:
# sensors-detect Code:
modprobe coretemp Cheers, Gustavo |
All times are GMT -5. The time now is 01:51 AM. |