Author Topic: LXDE 2010.10; Power management on HP NX9005 Laptop.  (Read 3421 times)

Offline BJF

  • Hero Member
  • *****
  • Posts: 591
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #30 on: December 12, 2010, 05:06:11 PM »
Who's a clever girl then? We are chatting with the cpu running at 663Mhz, the temperature is now 46, and the fan is stopped. My attempt at ondemand and conservative produced results mirroring yours. So when Tex resets your package meter we'll be all set for fixing this proper-like.  ;D
J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #31 on: December 12, 2010, 05:40:29 PM »
Who's a clever girl then? We are chatting with the cpu running at 663Mhz, the temperature is now 46, and the fan is stopped.

Hurrah !!!

Quote
My attempt at ondemand and conservative produced results mirroring yours.

Ok. 

Quote
So when Tex resets your package meter we'll be all set for fixing this proper-like.  ;D

LOL !!

My package meter ? XD

He might not even wait until then if the thing can be done. As you have probably noticed I filled in the form with the links to new packages. :)
What I still don't know is what we have a "cpufreqd" package which is of no use withouth a special kernel patch meant to make it work. (This is what is written in the description, and also as I had not read the description when I tried it first, I could see that trying to start it just resulted in a message stating that it was not enabled in the kernel... but this was some time ago and I didn't try it again yet). Ok this might be a detail...
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #32 on: December 12, 2010, 05:47:34 PM »
PS: until the governors "ondemand" and "conservative" work, you may want to switch between powersave and performance once a while, according to what you are doing. Maybe would you even want to give "userspace" a try, and see how to use it (I don't know how to use it exactly as I usually prefer methods that make it go by itself)
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline BJF

  • Hero Member
  • *****
  • Posts: 591
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #33 on: December 12, 2010, 10:42:58 PM »
I have news! After setting my cpufreq to powersave, written to you, Melodie, with the results, and hibernating the machine with a lid-close to go into town, I have returned and restarted it. Out of curiosity I did:

code# su root cpufreq-info

Et voila! It is changed automagically after the hibernation to ondemand, which is curious indeed. At this moment the fan is still off and the cpu at 46. I think I can be happy with this situation however it happens. I will try the process on my wife's Compaq C300 and report the results there for additional information. FYI, the fan will start as the cpu approaches 50 and blow gently for about 10 seconds, then stop. I can feel the exhaust air dropping in temperature a bit slower than the indicated temperature drops.  Overall your help has transformed the machine into a very different beast. Merci beaucoup.
J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #34 on: December 13, 2010, 01:03:01 AM »
Hi,

This switch throught hibernation that you meet with is bizarre.

I just had a look at cpufreqd, and it starts ok. I don't meet with problem anymore with it. I had a look at /etc/cpufreq.conf, seems interesting. And there have been a few changes with new versions since our version.
http://www.linux.it/~malattia/wiki/index.php/Cpufreqd

our version is
Quote from: rpm -qil cpufreqd
Version     : 2.3.4                             Vendor: (none)
Release     : 1pclos2010                    Build Date: dim. 28 mars 2010 13:54:
21 CEST
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline BJF

  • Hero Member
  • *****
  • Posts: 591
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #35 on: December 13, 2010, 03:18:40 AM »
Melodie: Sorry to advise, but cpufreq has reverted to Performance after a reboot, and I cannot shift it on my machine to anything else. It just defaults back. So on my wife's machine too.

Tex? Oh, Tex???
J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #36 on: December 13, 2010, 06:08:10 AM »
Melodie: Sorry to advise, but cpufreq has reverted to Performance after a reboot, and I cannot shift it on my machine to anything else. It just defaults back. So on my wife's machine too.

Tex? Oh, Tex???


Hi BJF,

The relevant forum for software trouble is where I put the other post. It would be nice of you if you did a full report after the post I put there. (cpufreq : some governors don't work)You could give the type cpu of your machines for instance, it's given by the command "cat /proc/cpuinfo".

FYI: Here, after reboot, it has reverted to performance, but if I type as root "cpufreq-set -g powersave", then cpufreq-info shows that it is powersave that is in use.

Haven't you forgotten to put the right "-g" option, or something like that ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online Yankee

  • Hero Member
  • *****
  • Posts: 1485
  • In theory, theory=practice, in practice ???
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #37 on: December 13, 2010, 08:47:32 AM »

Hi,

BJF, have you ever looked at LXDE's autostart ?

Looking ahead.   Nice thread.


Patrick013

ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #38 on: December 13, 2010, 09:21:40 AM »
Hi,
BJF, have you ever looked at LXDE's autostart ?
Looking ahead.   Nice thread.
Patrick013

Hi patrick,

If you are talking about cpufreq, it's a service. As such it doesn't have to be started by the desktop manager. (It's in the init scripts, started during the boot)

Code: [Select]
# chkconfig | grep cpufreq
cpufreq        0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt 7:arrêt

Sorry to give it in French, but I can't get the shell to talk English, and be it with "LANG=LC_ALL" or with "LANG=C" it doesn't work. I don't know how to set this variable.

level 0 stopped
level 1 stopped

and so on... works in levels 2 3 4 5 stops in levels 6 and 7. All normal.


melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online Yankee

  • Hero Member
  • *****
  • Posts: 1485
  • In theory, theory=practice, in practice ???
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #39 on: December 13, 2010, 09:39:36 AM »
Hi,
BJF, have you ever looked at LXDE's autostart ?
Looking ahead.   Nice thread.
Patrick013

If you are talking about cpufreq, it's a service. As such it doesn't have to be started by the desktop manager. (It's in the init scripts, started during the boot)



I see, so we've got it started, but it sounds like it will not start or stay at the right setting from reading the
thread here.   Well it sounds like you're just one step away from resolving that.

Thanks,

Patrick013
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #40 on: December 13, 2010, 11:07:28 AM »
Hi,
BJF, have you ever looked at LXDE's autostart ?
Looking ahead.   Nice thread.
Patrick013

If you are talking about cpufreq, it's a service. As such it doesn't have to be started by the desktop manager. (It's in the init scripts, started during the boot)



I see, so we've got it started, but it sounds like it will not start or stay at the right setting from reading the
thread here.   Well it sounds like you're just one step away from resolving that.

Thanks,

Patrick013


Yes, one package meter close. ;D ;D

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline BJF

  • Hero Member
  • *****
  • Posts: 591
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #41 on: December 13, 2010, 08:45:29 PM »
Would Tex advance you one out of your next quota. On account, as it were.  ;)
J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.

Offline BJF

  • Hero Member
  • *****
  • Posts: 591
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #42 on: December 19, 2010, 03:28:41 AM »
Melodie: Some days down the road as it were, I have regularly done cpufreq-set -g powersave as root and the results have varied from retaining the powersave setting until a reboot to a current acceptance of ondemand as a kind of default that seems to survive maybe a couple of reboots. Most of the time I Hibernate, which brings back the setting the machine had when it went sleepy-byes. Simplest-put, the machine duplicates the erratic results you described with a default to performance unless I Hibernate it, where the current setting persists through several wake-ups but may, sometimes, default. Ondemand seems to be the more durable setting on my laptop.
J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #43 on: December 19, 2010, 11:29:09 AM »
Melodie: Some days down the road as it were, I have regularly done cpufreq-set -g powersave as root and the results have varied from retaining the powersave setting until a reboot to a current acceptance of ondemand as a kind of default that seems to survive maybe a couple of reboots. Most of the time I Hibernate, which brings back the setting the machine had when it went sleepy-byes. Simplest-put, the machine duplicates the erratic results you described with a default to performance unless I Hibernate it, where the current setting persists through several wake-ups but may, sometimes, default. Ondemand seems to be the more durable setting on my laptop.


Hi,

An update is available in testing section. What has been updated, seems to be cpufreq-utils, but not the cpufreq script, unless I didn't understand everything:
(Update) cpufreq-utils and cpufreq script

Maybe would you want to give it a try ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline BJF

  • Hero Member
  • *****
  • Posts: 591
Re: LXDE 2010.10; Power management on HP NX9005 Laptop.
« Reply #44 on: December 19, 2010, 05:15:25 PM »
I've never sought out anything from Test before. The scary stuff lives there. Some directions in layperson's terms please.
J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.