You are not logged in.
Hello everybody.
I have a problem with Crunchbang and my netbook (Asus 1015PX). I've made a powersaving set up for my PC. First of all, I installed this powersaver script that I saw in this forum, then I installed Jupiter applet (and the jupiter-support-eee), and finally I installed cpufreqd. I think it is all OK when I'm working only with battery.
The temperature rises up, and the netbook gets too hot If I take out the battery. About 54º without doing anything, (42º-43º with battery), and more than 60º if I launch the web browser (without doing anything else, 50º-51º with battery). So it is extrange that with the AC adapter the tempertature increases a lot, isn't?.
I don't know what is happening, but I don't want to have my netbook burnt, so what can I do?. I have to mention that I have changed the kernel, instead of having 2.6.39-486 (I think it is the default), I installed 2.6.39-bpo.2-686-pae because I the Atom n570 has two cores.
Thank you very much for your answers.
PD: I'm sorry if something is written incorrect, but English isn't my mother tongue.
Last edited by startx (2011-12-27 15:03:26)
Offline
It's not strange. Jupiter has a bunch of scripts and daemons, one of which enables the performance CPU frequency scaling governor when on AC. Higher CPU frequency clock = higher temps. What you can do is click on the applet and select the middle mode (not powersave and not maximum performance, I think it's called high performance). This will enable the onedemand freq governor, and cool down your system. You can also look at all the scripts (/etc/init.d/jupiter or something), and edit the file which associates the Maximum performance mode with the performance governor.
Offline
I'm trying it, but I have bad news. I selected the High performance mode. And I'm having the same results. Well I have to say that now I haven't reached 60º when I launch the Web Browser, although it stays at 54º without doing anything (58º with the web browser).
Thanks for the answer.
PS: Before I had the Jupiter applet in Powersave mode although I had the AC connected.
Last edited by startx (2011-12-27 13:41:51)
Offline
Open a terminal and run `sensors`. Take a look at the critical temperature for your CPU. You'll feel a whole lot better about the 60°+ reading. 
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
I
Thanks for the answer.PS: Before I had the Jupiter applet in Powersave mode although I had the AC connected.
I'd like to help you further, but I just don't know what the values for jupiter are. I know I had the problem with overheating on my machine and jupiter, and I did fix it with editing a script, but I don't know which one. Dig into the manpage or /usr/share/doc/jupiter.
Offline
Open a terminal and run `sensors`. Take a look at the critical temperature for your CPU. You'll feel a whole lot better about the 60°+ reading.
Thank you!. Now I am less worried about that, but I still can't understand why the difference between AC connected and with the battery!.
I'd like to help you further, but I just don't know what the values for jupiter are. I know I had the problem with overheating on my machine and jupiter, and I did fix it with editing a script, but I don't know which one. Dig into the manpage or /usr/share/doc/jupiter.
Thank you. I'll search information, and I would try. But I don't really know what I'm going to do, I mean that now the temperature is (form my point of view) high 53º, but I have to say that I'm using the Web browser with 3 tabs so it isn't bad, although I think is hotter than using battery.
Can I ask if installing new kernel releases/version (thinking about 3.xx) will help to reduce this problem?. Or maybe doing a new clean installation and trying only with jupiter applet or, only with the script that I said before?....
Thank you very much for the answer, and attention.
Last edited by startx (2011-12-28 14:45:25)
Offline
Uninstall cpufreqd, and install cpufrequtils if it isn't already installed. Plus, post the output of
locate jupiterOffline
Thank you!. Now I am less worried about that, but I still can't understand why the difference between AC connected and with the battery!
This happens with any laptop, whether you have Jupiter installed or are just using cpufrequtils. When running on battery, the CPU is run at a lower voltage & lower clock rates, so it consumes less power & runs cooler. When running off of AC power, the CPU runs at higher voltages & clock rates, sso it consumes more power and runs hotter. Assuming you don't have a liquid nitrogen cooling system, the same CPU will always run hotter if it's running faster.
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
Uninstall cpufreqd, and install cpufrequtils if it isn't already installed. Plus, post the output of
locate jupiter
Thanks for your answer.
I've unistalled cpufreqd and when execute locate jupiter this is the result:
/etc/default/jupiter-support-eee
/etc/init/jupiter-healthcheck.conf
/etc/pm/power.d/00-jupiter-cpu
/etc/xdg/autostart/jupiter-startup.desktop
/etc/xdg/autostart/jupiter.desktop
/usr/bin/jupiter.exe
/usr/lib/jupiter
/usr/lib/jupiter/kernel
/usr/lib/jupiter/kernel/battery
/usr/lib/jupiter/kernel/power
/usr/lib/jupiter/scripts
/usr/lib/jupiter/scripts/bluetooth
/usr/lib/jupiter/scripts/cpu-control
/usr/lib/jupiter/scripts/jupiter
/usr/lib/jupiter/scripts/notify
/usr/lib/jupiter/scripts/resolutions
/usr/lib/jupiter/scripts/rotate
/usr/lib/jupiter/scripts/state
/usr/lib/jupiter/scripts/touchpad
/usr/lib/jupiter/scripts/vga-out
/usr/lib/jupiter/scripts/wifi
/usr/lib/jupiter/vendors
/usr/lib/jupiter/vendors/ASUSTeK Computer INC.
/usr/lib/jupiter/vendors/ASUSTeK Computer INC./battery
/usr/lib/jupiter/vendors/ASUSTeK Computer INC./cpu-control
/usr/lib/jupiter/vendors/ASUSTeK Computer INC./power
/usr/share/applications/jupiter.desktop
/usr/share/doc/jupiter
/usr/share/doc/jupiter-support-eee
/usr/share/doc/jupiter-support-eee/changelog.gz
/usr/share/doc/jupiter-support-eee/copyright
/usr/share/doc/jupiter/changelog.gz
/usr/share/doc/jupiter/copyright
/usr/share/pixmaps/jupiter
/usr/share/pixmaps/jupiter.png
/usr/share/pixmaps/jupiter/bluetooth.png
/usr/share/pixmaps/jupiter/bolt1.png
/usr/share/pixmaps/jupiter/bolt2.png
/usr/share/pixmaps/jupiter/bolt3.png
/usr/share/pixmaps/jupiter/bolt4.png
/usr/share/pixmaps/jupiter/camera-web.png
/usr/share/pixmaps/jupiter/devices.png
/usr/share/pixmaps/jupiter/display.png
/usr/share/pixmaps/jupiter/gnome-dev-wavelan.png
/usr/share/pixmaps/jupiter/input-tablet.png
/usr/share/pixmaps/jupiter/jupiter.png
/usr/share/pixmaps/jupiter/ondemand.png
/usr/share/pixmaps/jupiter/overclock.png
/usr/share/pixmaps/jupiter/performance.png
/usr/share/pixmaps/jupiter/powersave.png
/usr/share/pixmaps/jupiter/resolution.png
/usr/share/pixmaps/jupiter/rotate.png
/var/jupiter
/var/jupiter/available_resolutions
/var/jupiter/battery
/var/jupiter/cpu_mode
/var/jupiter/power
/var/jupiter/rotation_saved
/var/jupiter/vga_saved
/var/lib/dpkg/info/jupiter-support-eee.conffiles
/var/lib/dpkg/info/jupiter-support-eee.list
/var/lib/dpkg/info/jupiter-support-eee.md5sums
/var/lib/dpkg/info/jupiter-support-eee.postinst
/var/lib/dpkg/info/jupiter.conffiles
/var/lib/dpkg/info/jupiter.list
/var/lib/dpkg/info/jupiter.md5sums
/var/lib/dpkg/info/jupiter.postinstOffline
Paste the outputs of
cat /etc/pm/power.d/00-jupiter-cpu
cat /usr/lib/jupiter/scripts
cat /usr/lib/jupiter/scripts/cpu-controlOffline
Paste the outputs of
cat /etc/pm/power.d/00-jupiter-cpu cat /usr/lib/jupiter/scripts cat /usr/lib/jupiter/scripts/cpu-control
Ok, here is /etc/pm/power.d/00-jupiter-cpu
#!/bin/bash
#
# CPU mode change on power state
#
JUPITER_PATH="/usr/lib/jupiter/scripts"
JUPITER_KERNEL="/usr/lib/jupiter/kernel"
JUPITER_HW="/usr/lib/jupiter/vendors"
JUPITER_VAR="/var/jupiter"
VENDOR=$(dmidecode -s system-manufacturer)
AC_DEVICE=$(ls /sys/class/power_supply | grep AC)
ACPI_AC_PROC=/sys/class/power_supply/$AC_DEVICE/online
function save_ac_state {
if [ ! -d "$JUPITER_VAR" ]; then
mkdir $JUPITER_VAR 2>/dev/null
fi
}
function set_cpu {
if [ -e "$ACPI_AC_PROC" ]; then
if [ "$(cat $ACPI_AC_PROC)" = "1" ]; then
if [ -e "$JUPITER_VAR/power" ]; then
RESTORE_MODE=$(cat $JUPITER_VAR/power)
else
RESTORE_MODE="super"
fi
$JUPITER_PATH/cpu-control $RESTORE_MODE
$JUPITER_KERNEL/power
if [ -e "$JUPITER_HW/$VENDOR/power" ]; then
"$JUPITER_HW/$VENDOR/power"
fi
else
if [ -e "$JUPITER_VAR/battery" ]; then
RESTORE_MODE=$(cat $JUPITER_VAR/battery)
else
RESTORE_MODE="powersave"
fi
$JUPITER_PATH/cpu-control $RESTORE_MODE
$JUPITER_KERNEL/battery
if [ -e "$JUPITER_HW/$VENDOR/battery" ]; then
"$JUPITER_HW/$VENDOR/battery"
fi
fi
else
if [ -e "$JUPITER_VAR/power" ]; then
RESTORE_MODE=$(cat $JUPITER_VAR/power)
else
RESTORE_MODE="super"
fi
$JUPITER_PATH/cpu-control $RESTORE_MODE
$JUPITER_KERNEL/power
if [ -e "$JUPITER_HW/$VENDOR/power" ]; then
"$JUPITER_HW/$VENDOR/power"
fi
fi
}
case "$1" in
*) set_cpu
;;
esacand here /usr/lib/jupiter/scripts/cpu-control
#!/bin/bash
#
# CPU control utility
# Andrew Wyatt
# Generic FSB control utility to shift between modes
#
JUPITER_PATH="/usr/lib/jupiter/scripts"
JUPITER_HW="/usr/lib/jupiter/vendors"
JUPITER_VAR="/var/jupiter"
if [[ "$*" =~ "silent" ]]; then
NO_NOTIFY=1
fi
. $JUPITER_PATH/notify
NICON="/usr/share/pixmaps/jupiter/jupiter.png"
BATSTATE=$($JUPITER_PATH/state)
VENDOR=$(dmidecode -s system-manufacturer)
function cleanup {
if [ -e "$JUPITER_VAR/cpu-control-busy" ]; then
rm -f $JUPITER_VAR/cpu-control-busy 2>/dev/null
fi
}
if [ -e "$JUPITER_VAR/cpu-control-busy" ]; then
countdown="2"
while [ $countdown -gt 0 ]; do
sleep 1
if [ ! -e "$JUPITER_VAR/cpu-control-busy" ]; then
break
fi
countdown=$[$countdown-1]
done
rm -f $JUPITER_VAR/cpu-control-busy
else
touch "$JUPITER_VAR/cpu-control-busy"
fi
if [ -e "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" ]; then
FSB_CPU0=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
fi
function fsb_mode {
FSBTARGET=$1
if [ "$FSBTARGET" = "super" ]; then
RMODE="Maximum Performance"
CPUMODE="performance"
NICON="/usr/share/pixmaps/jupiter/bolt2.png"
fi
if [ "$FSBTARGET" = "high" ]; then
RMODE="High Performance"
CPUMODE="ondemand"
NICON="/usr/share/pixmaps/jupiter/bolt1.png"
fi
if [ "$FSBTARGET" = "powersave" ]; then
RMODE="Power Saving"
CPUMODE="powersave"
NICON="/usr/share/pixmaps/jupiter/bolt4.png"
fi
if [ ! "$CPUMODE" ]; then
CPUMODE="$FSBTARGET"
fi
if [ "$FASTER_POWERSAVE" = "1" ]; then
if [ "$FSBTARGET" = "powersave" ]; then
CPUMODE="ondemand"
fi
fi
cpus=(`ls /sys/devices/system/cpu/ | grep cpu[0-9]`)
cpucount=${#cpus[@]}
for (( i=0; i<cpucount; i++ ));
do
if [ -e "/sys/devices/system/cpu/${cpus[$i]}/cpufreq/scaling_governor" ]; then
echo $CPUMODE > /sys/devices/system/cpu/${cpus[$i]}/cpufreq/scaling_governor
fi
done
notify $"$RMODE Mode" $NICON
if [ ! "$FSBTARGET" = "default" ]; then
echo $FSBTARGET >$JUPITER_VAR/cpu_mode
echo $FSBTARGET >$JUPITER_VAR/$BATSTATE
if [ -e "$JUPITER_HW/$VENDOR/cpu-control" ]; then
"$JUPITER_HW/$VENDOR/cpu-control" $FSBTARGET
fi
fi
}
function fsb_toggle {
FSB_SAVED=$(cat $JUPITER_VAR/cpu_mode)
if [ "$FSB_SAVED" = "super" ]; then
fsb_mode "high"
elif [ "$FSB_SAVED" = "high" ]; then
fsb_mode "powersave"
elif [ "$FSB_SAVED" = "powersave" ]; then
fsb_mode "super"
fi
}
case $1 in
restore)
NO_NOTIFY=1
fsb_mode $FSB_SAVED
;;
super)
fsb_mode "super"
;;
high)
fsb_mode "high"
;;
powersave)
fsb_mode "powersave"
;;
initial)
/etc/pm/power.d/00-jupiter-cpu
;;
vendor)
echo "$VENDOR"
;;
default)
fsb_mode "default"
;;
*)
fsb_toggle
;;
esac
cleanupAnd I don't know if it is necessary but, here is /usr/lib/jupiter/scripts
bluetooth
cpu-control
jupiter
notify
resolutions
rotate
state
touchpad
vga-out
wifiThanks for your help.
Last edited by startx (2011-12-28 16:20:54)
Offline
In /usr/lib/jupiter/scripts/cpu-control edit
if [ "$FSBTARGET" = "super" ]; then
RMODE="Maximum Performance"
CPUMODE="performance"
NICON="/usr/share/pixmaps/jupiter/bolt2.png"
fiTo this:
if [ "$FSBTARGET" = "super" ]; then
RMODE="Maximum Performance"
CPUMODE="ondemand"
NICON="/usr/share/pixmaps/jupiter/bolt2.png"
fiAnd reboot. Other otpions are "powersave" and "conservative". One of those frequency scaling modes will cool down your laptop to your liking. When you're on battery, the system is using the powersave governor.
Offline
In /usr/lib/jupiter/scripts/cpu-control edit
if [ "$FSBTARGET" = "super" ]; then RMODE="Maximum Performance" CPUMODE="performance" NICON="/usr/share/pixmaps/jupiter/bolt2.png" fiTo this:
if [ "$FSBTARGET" = "super" ]; then RMODE="Maximum Performance" CPUMODE="ondemand" NICON="/usr/share/pixmaps/jupiter/bolt2.png" fiAnd reboot. Other otpions are "powersave" and "conservative". One of those frequency scaling modes will cool down your laptop to your liking. When you're on battery, the system is using the powersave governor.
Ok, thanks for your help. Now I'm going to try and I will watch if it goes better.
Thanks.
Last edited by startx (2011-12-28 18:46:22)
Offline
I've been trying, and I have bad news. I'm obtaining the same results. When I was writing the post above, my computer was about 46º, (I wrote that using only the battery), more or less, but now it's over 56º.
What else can I do?.
Thank you very much for your answers and help.
EDIT: I've been thinking. When I only use the battery, I don't know how to say, but may be de HDD reduces its velocity or something?. I can feel the netbook noisier when I use the AC adapter. I don't know if this could mean anything.
Last edited by startx (2011-12-28 22:18:16)
Offline
Ahhh, I forgot about that. Try to run:
sudo hdparm -B254 /dev/sdawhen you plug the power in. If it reduces the heat, we'll set it up permanently.
Plus, do you even have cpufrequtils installed?
apt-cache policy cpufrequtilsLast edited by el_koraco (2011-12-29 01:01:38)
Offline
Ahhh, I forgot about that. Try to run:
sudo hdparm -B254 /dev/sdawhen you plug the power in. If it reduces the heat, we'll set it up permanently.
Plus, do you even have cpufrequtils installed?
apt-cache policy cpufrequtils
Sorry for being late in my answer.
I've tried what you said:
hdparm -B254 /dev/sda
/dev/sda:
setting Advanced Power Management level to 0xfe (254)
APM_level = 254But I'm still on 54º (that's better, but doing almost the same on battery I got 50º-51º as maximum, and here is 54º as minimum). May be, I'm going to do "reset". What do you think if I remove Jupiter, the script that I mentioned and I do everything again?.
Well I'm sure that I've cpufrequtils installed, but (I've translated into English the output of apt-cache policy cpufrequtils):
cpufrequtils:
Installed: 007-1
Candidate: 007-1
Version table:
*** 007-1 0
100 http://ftp.debian.org/debian/ squeeze/main i386 Packages
100 /var/lib/dpkg/statusLast edited by startx (2011-12-29 20:48:35)
Offline
Plug in the AC and do
sudo cpufreq-set -g powersaveRun it for a while and give me the results.
Offline
my netbook usually idles at about mid 50s when its running, i didnt think it was anything to worry about? my main laptop can hit 90+ when im playing games sometimes
Offline
Depending on your mobo and chipset, 90+ may be pushing it. What does sensors report for your CPU's critical temp?
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
May I interject something, please? I and I suppose everyone else with an ASUS 701, for example, complained about the excess heat not because 50°C was hot but because the little netbook was poorly insulated. It was actually hot to the touch. My 1015PEM, otoh, normally runs at about 65°C but it's not noticeable because it's much more properly insulated -- both could max out around 90°C, not that I'd ever want to see that. What I'm saying is that the excess heat issue may be something that can't be solved [unless el_koraco does that] without going inside and adding a bit of insulating material. Just saying. 
Offline
Netbooks shouldn't run so hot. As you can see, the OP has only started reporting problems after installing Jupiter. I had the same problem, so I removed Jupiter, as battery life is of little consequence for me. Machines with AMD chipsets run hotter in general, Atoms with intel graphics should be pretty cool. #! by default comes without cpufrequtils, which usually lowers temps significantly. Asus's IceCool (TM) technology is pretty nice though.
Offline
My experience with Jupiter isn't even worth mentioning. Personally, I'd toss it as there are better, more effective means of controlling the issues he has and it seems you've pretty much covered them all.
EDIT -- what about that little script hardran3 wrote awhile back? Might it work?
Last edited by dubois (2011-12-30 15:11:01)
Offline
Plug in the AC and do
sudo cpufreq-set -g powersaveRun it for a while and give me the results.
Thanks you. If I've tried it and I have to say that seems to go better.
EDIT -- what about that little script hardran3 wrote awhile back? Might it work?
I've also installed this script (just after installing #!, however I also have tried to work without this script) and it really works well.
Thanks everybody.
Last edited by startx (2011-12-30 15:33:11)
Offline
My experience with Jupiter isn't even worth mentioning. Personally, I'd toss it as there are better, more effective means of controlling the issues he has and it seems you've pretty much covered them all.
Jupiter is awesome, its author is one of the most knowledgeable people working on userspace power management in GNU/Linux. Jupiter just isn't designed for Debian, the only .deb is an ancient one made for the never-to-be-realized Aurora OS. Also, since it's written in the eeevil C# and requires Mono, there's been little contribution to the project.
@startx
You can try to remove Jupiter and see how things fare. I'm not sure what kind of power savings you're gonna get with it on #!. Reinstalling it is never a problem really.
Offline
^ Thanks for the clarification -- yeah, me and debian go way back so now I know it wasn't me or the little app. And I always thought fewt did better work than that! 
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.