Active Topics

 


Reply
Thread Tools
Posts: 188 | Thanked: 223 times | Joined on Apr 2013 @ Poland
#1
Hi there all

I'm running my n900 fixed at 950mhz, to be more specific:

(...)
MINFREQ=950
MAXFREQ=950
FREQS="950:58,270"
SMARTREFLEX VDD1=1
SMARTREFLEX VDDD2=1
(...)
First of all, supposingly smart reflex works only with freqs up to 900Mhz.

Im running mine n900 for several weeks with this profile, no random reboots everything working fine even with starving voltage profile. DSP Freq is set low, cause I have lot .avi movies converted so higher dsp is not needed. If so, I have another profile with higher dsp.

Im using Desktop Command Execution Widget and with one wodget I can change max, min and avoid freqs (This is very usefull, since after calling min cpu freq goes down to 125mhz due to nokias "We want to".

So I can reload settings always after calling, but it doesnt load whole overclock profile saved in /home/user/.kernel/.

Is there a way by using widget created by DCEW to load whole profile from /home/user/.kernel/ ?

Mine most used profile looks like that:

#kernel configuration file....
MINFREQ=950
MAXFREQ=950
FREQS="950:58,270"
SMARTREFLEX VDD1=1
SMARTREFLEX VDDD2=1
GOVENOR=ondemand
IGNORE_NICE_LOAD=1
UP_THRESHHOLD=100 #(Value here is pointless since Im using only one frequency)#
SAMPLING_RATE=333333
POWERSAVE_BIAS=0
SO I like to be able to load those setts with one click, not running xterm everytime after calling.

Is it possible?
 
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#2
erm...
???

Just create a profile file under /home/user/.kernel with all your settings and call it within DECW like
sudo kernel-config load myProfile?

With either sudser (not recommended) for resolving the password issue or an entry in /etc/sudoers.d/.

That were only pointers. If you need the whole solution (no spoon-feeding ) ask once more.

--
And to extend your use case: there is also a solution to have this done automatically with dbus-scripts.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 188 | Thanked: 223 times | Joined on Apr 2013 @ Poland
#3
Originally Posted by peterleinchen View Post
erm...
???

Just create a profile file under /home/user/.kernel with all your settings and call it within DECW like
sudo kernel-config load myProfile?

With either sudser (not recommended) for resolving the password issue or an entry in /etc/sudoers.d/.

That were only pointers. If you need the whole solution (no spoon-feeding ) ask once more.

--
And to extend your use case: there is also a solution to have this done automatically with dbus-scripts.
Yep, its working! I mean the sudo kernel-config load myProfile. Ok

How to do it with dbus scripts? Easy way?
 
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#4
Yep.

Just put that content in a file under
/etc/dbus-scripts.d/call (or name it like you like)
# This file was generated by dbus-scripts-settings
# If you edit it by hand you might confuse the program,
# and you might lose your changes next time the program runs.

#:call_start
/opt/scripts/call_start.sh * * com.nokia.mce.signal sig_call_state_ind active normal

#:call_end
/opt/scripts/call_end.sh * * com.nokia.mce.signal sig_call_state_ind none normal
First line/script sets on call getting activated.
And second on call ended.

Possibly you may like to install package dbus-scripts-settings.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:42.