View Single Post
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#503
Originally Posted by sacal View Post
Just let me try to help.

Techie i think the files overclock and underclock are coded as dos files and not linux files. When i try to execute in xterm:
sudo /usr/local/bin/overclock

i got an syntax error: end of file unexpected

Replacing the 0D 0A chars at the end of each line of the overclock and underclock files with only 0A solves the problem.
Thanks for the feedback.As I mentioned in my post I am a linux beginner so any suggestions are welcome.
Code:
sudo /usr/local/bin/overclock
Running this never gave me a syntax error (and still doesn't), although I use rootsh instead of sudo as it doesn't work for me.As for changing values, can you tell me how you are doing it,I have no idea

One other suggestion, if i may, is to only execute underclock if:
"$QBW_REMEMBER_ME" != fixed
so that underclock isn't executed if the stock or ideal profiles are active

By the way thanks for this widget - i liked it
I think you may be confused here.Underclock is executed only when you lock the phone not while using it.My reasoning is that you don't need a speedy phone if its just gonna be sitting idle.When stock or ideal is selected it would prevent the overclock script from executing.Underclock will always execute when device gets locked.
__________________
With Linux-powered N900..ANYTHING is possible
 

The Following User Says Thank You to techie For This Useful Post: