Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TIP: Get more control as (as a USER) of your mobile CPU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Wed Apr 05, 2006 3:19 am    Post subject: TIP: Get more control as (as a USER) of your mobile CPU Reply with quote

I found a post in the forums regarding kpowersave being in portage. I then followed a guide I found at:
http://thread.gmane.org/gmane.linux.power-management.powersave/290
which was posted in this thread:
https://forums.gentoo.org/viewtopic-p-3230555.html

The overlay was hard for me to find (bing at the bottom of the page and all :P ) so I decided to write a guide on here to make it work.

Changes made to the overlay on gmane:
1) updated the ebuilds to match current versions
2) a patch for powersave which substitutes the "ondemand" governor for the "conservative" governor by enabling USE="conservative"


Here I have a script to download and install the overlay which I have hosted on my [url=http:www.neucode.org/]website[/url]

You can get the overlay here if you want to install the overlay manually.
Code:

#!/bin/bash
mkdir -p /usr/local/portage
echo "PORTDIR_OVERLAY=\"${PORTDIR_OVERLAY} /usr/local/portage\"" >> /etc/make.conf
cd /usr/local/portage
wget http://www.neucode.org/overlays/powersave_overlay.tar.bz2
tar jxfv powersave_overlay.tar.bz2
echo "sys-power/powersave conservative" #only if you want my patch for the conservative governor
emerge -av powersave kpowersave


You may have to unmask some of the packages first:

Code:

# echo "sys-power/kpowersave" >> /etc/portage/package.keywords
# echo "sys-power/powersave" >> /etc/portage/package.keywords

_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum