View Single Post
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#3410
Originally Posted by titan View Post
I have finally uploaded the new experimental version 0.5 of kernel-power-settings.
It has lots of useful features and should make life easier but it's very different from the old kernel-load script. This version is not fully tested. Only install if you are prepared to reflash!

The file format of /etc/default/kernel-power has changed. Old files can still be loaded but should be converted.
The main script is /usr/sbin/kernel-config
the script can be called with "sudo /usr/sbin/kernel-config ..." or just /usr/sbin/kernel-config.
It can show, load and save settings.
User settings are stored in /home/user/.kernel/ ,
templates (do not modify!) in /usr/share/kernel-power-settings/
The configuration is saved and restored by the Backup program.
You can fine tune the voltage for a particular freq with "kernel-config lock freq voltage dsp".

In addtion to that you can configure options to enable fsck of /home during boot,
or to start USBnet+ssh early and it loads the modules in /etc/modules during boot.

more details when I find some time to elaborate (but it's mostly self-explanatory for power users).
In the meantime please use it with caution or do not upgrade.
Have tried this now and it seams to work great. Everything is put up for a GUI program now. This is how i went about as i had my old settings left.

1. Updated to the ny kernel-power-settings.

2. Checked the new commands by:
kernel-config

3. Did not find the /.kernel folder so created it:
mkdir /home/user/.kernel/

4. Saved my current config by:
kernel-config save

(Checked "kernel-config show" first to be sure it was correct)

4. Copied my files to the /.kernel folder:
cp /etc/default/kernel-power /home/user/.kernel/

5. Sett the new directory as default:
kernel-config setdefault /home/user/.kernel/kernel-power

I also moved my experimental setting file to /home/user/.kernel/ and can load it with "kernel-config load /home/user/.kernel/my-kernel-power".

(Acctually.. i renamed the files default and testing. Hope it don't disturb something. For the record i am also using leaked PR1.2)