|
2010-05-07
, 18:18
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#3502
|
|
2010-05-07
, 18:20
|
Posts: 15 |
Thanked: 1 time |
Joined on Jan 2008
|
#3503
|
|
2010-05-07
, 18:50
|
|
Posts: 1,589 |
Thanked: 720 times |
Joined on Aug 2009
@ Arlington (DFW), Texas
|
#3504
|
ok, let me give you a mini-tutorial (the scripts are so powerful that a full description woiuld take a lot of time to write):
in theory, if you install the new version the old settings should still work and be loaded during boot.
(kernel-config = sudo /usr/sbin/kernel-config, here abbreviated)
shows you the current configuration of the kernel.Code:kernel-config show
If you have loaded an old config, or changed the current settings manually or using ClockfreqUI you can save the current settings with
this will automatically save it in /home/user/.kernel/myconfigCode:kernel-config save myconfig
and create the directory if necessary (replace myconfig with any name you like).
To save it somewhere else (why would you?) use the absolute path.
loads the configuration. if the filename is not absolute (e.g. "./myconfig") it searchesCode:kernel-config load myconfig
for the file in the current dir, /home/user/.kernel and /usr/share/kernel-power-settings/
Without a file name it loads /etc/default/kernel-power, or /usr/share/kernel-power-settings/default
Do NOT modify the files in /usr/share/kernel-power-settings. They are templates.
The template names are: default, lv, ulv, xlv, ideal.
copies the configuration file to /etc/default/kernel-power (or symlinks if it is a template file from /usr/share/kernel-power-settings). If you do not specify a filename, the current settings are saved in /etc/default/kernel-power.Code:kernel-config default myconfig
These settings are then loaded during boot.
sets the limits to [min,max].Code:kernel-config limits 250 600
If you use "-" for a frequency, the current value is used. For example, "kernel-config limits - 850" only changes the upper limit to 850Mhz.
(e.g. 500 48 400)Code:kernel-config lock freq volt dsp
can be used to test voltage and dsp settings with a certain frequency.
it overwrites the current settings for that frequency and locks the CPU
to only that frequency until you run "kernel-config unlock" to unlock it.
The boot sequence:
the kernel settings are only loaded if you had a normal reboot or shutdown
but not after a crash. In that case the file /etc/kernel-power/.notloaded is created
and a GUI app could notify you and ask whether to load the settings again.
The settings will be loaded at the next boot again unless it crashes again.
you can edit the files in /home/user/.kernel/.
here is the content of the default template:
there is a separate file /etc/defaul/kernel-boot for boot options.Code:# minimum frequency to use MINFREQ=250 # maximum frequency to use MAXFREQ=600 # list of frequency configurations: each "frequency:volt,dsprate" FREQS="0:30,90 125:30,90 250:38,180 500:48,360 550:54,400 600:60,430 700:60,430 750:60,430 805:60,430 850:60,500 900:60,500 950:60,500 1000:60,500 1100:72,520 1150:72,520" UP_THRESHOLD=95 SAMPLING_RATE=300000 SMARTREFLEX_VDD1=0 SMARTREFLEX_VDD2=0 IGNORE_NICE_LOAD=0
these two options are highly experimental and may brick your device!
operations before mounting /home:Code:# start USB networking and sshd early during boot EARLY_SSH=0 # fsck of /home partition before mounting? # 1=if necessary, force=always check FSCK_HOME=0
if you have a script (e.g. for repartitiong) called /etc/kernel-power/pre-mount.once
it will be executed once and then moved away.
with FSCK_HOME enabled the /home partition (first ext3 on eMMC) will be fsck on boot.
alternativelyshould check it only during next boot.Code:echo 1 > /etc/kernel-power/force_fsck
disables it only for the next boot.Code:echo 0 > /etc/kernel-power/force_fsck
if you reset or reboot the device during fsck, it will not fsck (only) during the next boot.
all messages are logged to /etc/kernel-power/pre-mount.log
If you know how one could show a fancy LED animation from the shell during fsck contact me.
|
2010-05-07
, 23:08
|
Posts: 1,427 |
Thanked: 2,077 times |
Joined on Aug 2009
@ Sydney
|
#3505
|
|
2010-05-09
, 10:59
|
Posts: 119 |
Thanked: 14 times |
Joined on Nov 2009
|
#3506
|
FYI - I've updated my guide with reference to the latest kernel-power-settings 0.6 as per titan's above post.
I am now using tonism's starving profile and so far so good even at 1.1Ghz. =)
http://talk.maemo.org/showpost.php?p...&postcount=101
|
2010-05-09
, 12:01
|
Posts: 1,729 |
Thanked: 388 times |
Joined on Jan 2010
@ Canada
|
#3507
|
|
2010-05-09
, 12:12
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#3508
|
I can't seem to get the queenbee shortcuts towork. I believe the problem is the password request problem and I'm not linux savy enough to solve it. Been trying all night yesterday but to no avail. is there a clear tutorial available somewhere else?
|
2010-05-09
, 12:14
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#3509
|
|
2010-05-09
, 12:22
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#3510
|
The Following User Says Thank You to AlMehdi For This Useful Post: | ||
|
Maemo-Freak.com
"...and the Freaks shall inherit the Earth."