Re: The Debian way for ondemand cpufreq governor

2009-07-15 Thread Dominique Dumont
T o n g mlist4sunt...@yahoo.com writes:

 You need to edit /etc/default/cpufrequtils and read the comments.

 I don't have such file as /etc/default/cpufrequtils*, so nowhere to read 
 the comments from.

Copy one of the sample files in /usr/share/doc/cpufrequtils/examples/
to /etc/default/cpufrequtils and edit at will.

HTH

-- 
Dominique Dumont 
Delivering successful solutions requires giving people what they
need, not what they want. Kurt Bittner

irc:
  domidumont at irc.freenode.net
  ddumont at irc.debian.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-15 Thread Todd A. Jacobs
On Sat, Jul 11, 2009 at 04:46:42PM +, T o n g wrote:

 What's the Debian way to enable ondemand cpufreq governor by default
 (installing as minimum packages as possible)?

If you are running some sort of userland daemon (e.g. laptop-mode) to
manage power, you'll probably have a setting to change under
/etc/default/ to enable your governor of choice. Otherwise, add your
module to /etc/modules and your governor of choice to /etc/sysctl.conf.

-- 
Oh, look: rocks!
-- Doctor Who, Destiny of the Daleks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread Wackojacko

T o n g wrote:

On Sun, 12 Jul 2009 08:21:38 +1000, Alex Samad wrote:


What's the Debian way to enable ondemand cpufreq governor by default
(installing as minimum packages as possible)?

look at this package cpufrequtils and then look in here
/etc/init.d/cpufrequtils


If I don't 'modprobe powernow-k8' manually, this is what I got:

  % aptitude install cpufrequtils
  The following NEW packages will be installed:
cpufrequtils 
  0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.

  Need to get 33.6kB of archives. After unpacking 262kB will be used.
  Setting up cpufrequtils (004-2) ...
  CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, 
governor not available...done.


Doesn't seem to be helping from my point of view... 



You need to edit /etc/default/cpufrequtils and read the comments.

HTH

Wackojacko


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread Andrew Malcolmson
On Sun, Jul 12, 2009 at 11:49 AM, Wackojackowackojack...@ntlworld.com wrote:
 You need to edit /etc/default/cpufrequtils and read the comments.

Actually  /etc/init.d/cpufrequtils

The locatation of this file appears to be changed from an earlier version.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread T o n g
On Sun, 12 Jul 2009 13:11:14 -0400, Andrew Malcolmson wrote:

 You need to edit /etc/default/cpufrequtils and read the comments.

I don't have such file as /etc/default/cpufrequtils*, so nowhere to read 
the comments from.

 Actually  /etc/init.d/cpufrequtils

I took a look at it, but still don't know how not to 'modprobe powernow-
k8' manually.

Any specific hints?

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread Eduardo M KALINOWSKI
T o n g wrote:
 I took a look at it, but still don't know how not to 'modprobe powernow-
 k8' manually.

 Any specific hints?
   

/etc/modules

Just add the module name there.

-- 
micro:
Thinker toys.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-12 Thread T o n g
On Sat, 11 Jul 2009 18:39:54 -0500, Nate Bargmann wrote:

 . . . I have to do 'modprobe powernow-k8' and change the cpufreq
 governor from performance to ondemand each time after I reboot. . .
 
 . . . my preferred package is 'powernowd'. . .  IT
 seems to do a good job of managing the demand governor and I don't
 recall having to do anything special for it to work.

Nope, having installed 'powernowd' and reboot, I still need to 'modprobe 
powernow-k8' manually.

Do you have 'cpufrequtils' installed as well?

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[Solved] The Debian way for ondemand cpufreq governor

2009-07-12 Thread T o n g
On Sun, 12 Jul 2009 20:59:04 +, T o n g wrote:

 . . . I have to do 'modprobe powernow-k8' and change the cpufreq
 governor from performance to ondemand each time after I reboot. . .

The simple solution is to install 'cpufrequtils', then *reboot* 
(cpufrequtils enables CPUFreq at boot time if the correct cpu
driver is found).

 . . . my preferred package is 'powernowd'. . .  IT seems to do a good
 job of managing the demand governor and I don't recall having to do
 anything special for it to work.
 
 Nope, having installed 'powernowd' and reboot, I still need to 'modprobe
 powernow-k8' manually.
 
 Do you have 'cpufrequtils' installed as well?

Yep, the magic is 'cpufrequtils', not 'powernowd'.

So the Debian way to enable ondemand cpufreq governor by default 
(installing as minimum packages as possible) is (merely) installing 
'cpufrequtils'.

cheers

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



The Debian way for ondemand cpufreq governor

2009-07-11 Thread T o n g
Hi,

I am able to use the 2.6 kernel ondemand cpufreq governor, but I just 
noticed that I have to do 'modprobe powernow-k8' and change the cpufreq 
governor from performance to ondemand each time after I reboot. 

What's the Debian way to enable ondemand cpufreq governor by default 
(installing as minimum packages as possible)?

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-11 Thread Alex Samad
On Sat, Jul 11, 2009 at 04:46:42PM +, T o n g wrote:
 Hi,
 
 I am able to use the 2.6 kernel ondemand cpufreq governor, but I just 
 noticed that I have to do 'modprobe powernow-k8' and change the cpufreq 
 governor from performance to ondemand each time after I reboot. 
 
 What's the Debian way to enable ondemand cpufreq governor by default 
 (installing as minimum packages as possible)?

look at this package cpufrequtils and then look in here
/etc/init.d/cpufrequtils

 
 Thanks
 

-- 
The garden is in mourning;
The rain falls cool among the flowers.
Summer shivers quietly
On its way towards its end.

Golden leaf after leaf
Falls from the tall acacia.
Summer smiles, astonished, feeble,
In this dying dream of a garden.

For a long while, yet, in the roses,
She will linger on, yearning for peace,
And slowly
Close her weary eyes.
-- Hermann Hesse, September


signature.asc
Description: Digital signature


Re: The Debian way for ondemand cpufreq governor

2009-07-11 Thread Nate Bargmann
* T o n g mlist4sunt...@yahoo.com [2009 Jul 11 11:48 -0500]:
 Hi,
 
 I am able to use the 2.6 kernel ondemand cpufreq governor, but I just 
 noticed that I have to do 'modprobe powernow-k8' and change the cpufreq 
 governor from performance to ondemand each time after I reboot. 
 
 What's the Debian way to enable ondemand cpufreq governor by default 
 (installing as minimum packages as possible)?

I don't know about the Debian Way but my preferred package is
'powernowd' which, despite its name, works very well with the Pentium M
CPU in my T41.  It also works well with the Pentium III in my T23.  IT
seems to do a good job of managing the demand governor and I don't
recall having to do anything special for it to work.

- Nate 

-- 

The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true.

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-11 Thread T o n g
On Sun, 12 Jul 2009 08:21:38 +1000, Alex Samad wrote:

 What's the Debian way to enable ondemand cpufreq governor by default
 (installing as minimum packages as possible)?
 
 look at this package cpufrequtils and then look in here
 /etc/init.d/cpufrequtils

If I don't 'modprobe powernow-k8' manually, this is what I got:

  % aptitude install cpufrequtils
  The following NEW packages will be installed:
cpufrequtils 
  0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
  Need to get 33.6kB of archives. After unpacking 262kB will be used.
  Setting up cpufrequtils (004-2) ...
  CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, 
governor not available...done.

Doesn't seem to be helping from my point of view... 

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: The Debian way for ondemand cpufreq governor

2009-07-11 Thread Roberto De Oliveira
  CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled,
 governor not available...done.

Did you the governor kernel module?. You can find this modules with:
'modprobe -l cpufreq\*'. If you want to load these modules
automatically, just add their names to /etc/modules.

-- 
Saludos,
Roberto De Oliveira


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org