[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: To enable the power management mechanism



On Fri, Sep 24, 2010 at 3:39 PM, Javier Vasquez <j.e.vasquez.v@gmail.com> wrote:
>> Lots of useful info in there Javier. Also worth mentioning, though it
>> doesn't seem you use it, is laptop-mode-tools.
>
> I did include it in the ones I have installed, :-)  The original list
> had it with some words as well, so I thought it was not necessary to
> make additional comments...  See this was my list:
<snip>

Ah, my mistake.

> When you install it, I don't remember if hdparm and sdparm are
> automatically triggered as dependencies, but then if not it's pretty
> good idea to have them installed, so that laptop-mode  can play with
> the HDs speeds...  It can handle as well CPU frequency, but I prefer
> cpufreqd for that purpose.  By default in debian laptop-mode doesn't
> handle CPU frequency, so it coexists pretty well with cpufreqd in
> debian...
>

They are both recommends, and depending on whether you have a modern
sata, thus scsi to the kernel, or older ide drive, you just need
either sdparm or hdparm respectively. At least, I only install sdparm
and things seem to work well on my sata drive. YMMV.

I have never installed cpufreqd, or at least, not intentionally. I
install cpufrequtils, which sets one governor on boot, however if you
wish to switch between different governors based on whether you are on
ac or battery, laptopmode can switch that for you.

But perhaps I am misinformed and cpufrequtils is just another daemon
like cpufreqd... or maybe I am badly misinformed and they are the same
thing. In either case, it's almost a certainty that I'm misinformed.
;)

> One can do several configurations with laptop-mode-tools, cpufreqd,
> and several other power saving stuff.  They should also work out of
> the box (that has been my experience), but if one doesn't have desktop
> environment, one must agree with the idea of doing some tweaks to
> configuration files if necessary, :-)...

The last time I setup laptopmode-tools under squeeze it is disabled by
default and does nothing. You need to edit its conf file in
/etc/deault/laptoop mode and set it to be enabled at boot. And then
yes, there are a great many things to play with, however I've mainly
just used it for spindowns of hd's.


Reply to: