Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Overclock profile loaded from desktop widget

    Reply
    Ridd92 | # 1 | 2015-08-04, 14:44 | Report

    Hi there all

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

    Originally Posted by
    (...)
    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:

    Originally Posted by
    #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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    peterleinchen | # 2 | 2015-08-04, 17:57 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to peterleinchen For This Useful Post:
    juiceme

     
    Ridd92 | # 3 | 2015-08-05, 07:07 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    peterleinchen | # 4 | 2015-08-06, 20:22 | Report

    Yep.

    Just put that content in a file under
    /etc/dbus-scripts.d/call (or name it like you like)
    Originally Posted by
    # 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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout