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

Re: To enable the power management mechanism



> ....
>
>> 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.

Well, in most systems hdparm is the only one needed.  It depends on
the system, :-)  That's why I mentioned both.  And you're right, I
looked for laptop-mode-tools, and both hdparm and sdparm are
recommended dependencies, so I had to install them manually given that
I disabled automatic install of recommended packages, :-)

>
> 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.

cpufrequtils is used to change frequency, or frequency governor on the
fly.  cpufreqd is contantly evaluating the load and battery status in
order to determine which governor and frequency ar more appropriate.
I have both since I like it to be dynamic, but some times I just want
to force things to my liking.  To control cpufreqd, you can configure
/etc/cpufreqd.conf...

laptop-mode can also do similar things to cpufreqd, but I prefer cpufreqd...

>
> 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.
> ;)

cpufrequtils is no daemon, it's a set of applications that allow
control on demand...

> 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.

things might have changed.  I don't have /etc/default/laptop-mode...
The first up front configuration script (there are several) I'm aware
of is /etc/laptop-mode/laptop-mode.conf, and on sqeeze and unstable it
by default comes enabled through the following line:

ENABLE_LAPTOP_MODE_TOOLS=1

So I am not aware of it coming disabled by default in my experience...
 For me it just came enabled at once, :-)  I tweaked some things to mi
liking though...

-- 
Javier.


Reply to: