Notices


Reply
Thread Tools
Posts: 195 | Thanked: 16 times | Joined on Feb 2010 @ Switzerland
#501
Originally Posted by techie View Post
Is that how it is in your code.There shouldn't be any space between "t" and "k", its "tklock...."
when i look in the settings of the widgets in match rule.. there isn`t a space between t - and - klock. its like this `tklock_mode_ind
Attached Images
 
__________________
(n900 _Switzerland)
 
Posts: 165 | Thanked: 78 times | Joined on Jun 2010
#502
Originally Posted by PipoXtreme View Post
.. I set the "top" clock as ideal with 250 - 850 and it works - but when I lock and unlock my phone there is a set the clock back to 250 - 500 why this guys.. thx for your feedbacks...
Originally Posted by techie View Post
Seems that the dbus signal for unlocking is missed and not captured by the widget, .....
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.

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
 

The Following User Says Thank You to sacal For This Useful 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:
Posts: 195 | Thanked: 16 times | Joined on Feb 2010 @ Switzerland
#504
Originally Posted by techie View Post

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.
There can be my problem...
__________________
(n900 _Switzerland)
 
Posts: 195 | Thanked: 16 times | Joined on Feb 2010 @ Switzerland
#505
Originally Posted by PipoXtreme View Post
There can be my problem...
Any news about my problem ?!
__________________
(n900 _Switzerland)
 
Posts: 165 | Thanked: 78 times | Joined on Jun 2010
#506
Techie and Pipo

I have attached a zip with my working version of overclock and underclock. They seam exactly the same as the original files but if you check sizes you will see the difference.

After replacing this files Pipo's max freq problem after unlocking should be solved. At least with me it did.

As for the Stock or Ideal profiles imho they shouldn't be changed when lock happens. It's like automatic or manual mode. Selecting Stock or Ideal should be like manual mode - only changed manualy.
Attached Files
File Type: zip OCCP-test.zip (500 Bytes, 96 views)
 

The Following User Says Thank You to sacal For This Useful Post:
Posts: 195 | Thanked: 16 times | Joined on Feb 2010 @ Switzerland
#507
Originally Posted by sacal View Post
Techie and Pipo

I have attached a zip with my working version of overclock and underclock. They seam exactly the same as the original files but if you check sizes you will see the difference.

After replacing this files Pipo's max freq problem after unlocking should be solved. At least with me it did.

As for the Stock or Ideal profiles imho they shouldn't be changed when lock happens. It's like automatic or manual mode. Selecting Stock or Ideal should be like manual mode - only changed manualy.
It works - Great sacal.... thx for that...
__________________
(n900 _Switzerland)
 
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#508
Thanks
Originally Posted by sacal View Post
As for the Stock or Ideal profiles imho they shouldn't be changed when lock happens. It's like automatic or manual mode. Selecting Stock or Ideal should be like manual mode - only changed manualy.
If this is what you want then it can be simply achieved by disabling dbus monitor in settings.No change in coding required
__________________
With Linux-powered N900..ANYTHING is possible
 

The Following User Says Thank You to techie For This Useful Post:
Posts: 165 | Thanked: 78 times | Joined on Jun 2010
#509
Originally Posted by techie View Post
Thanks

If this is what you want then it can be simply achieved by disabling dbus monitor in settings.No change in coding required
But then even when default profile (blue temperature) is active the underclock function will be disabled.

I think underclock function should only be executed (as the overclock in timer update) when - "$QBW_REMEMBER_ME" != fixed - which means when default profile (blue temperature) is active.

But that's my opinion so don't worry about it.
I will try to do it myself. It will be necessary to add another if.
I just hope qbw can handle some more bytes of code in instancecmd.

Thanks
 
Posts: 89 | Thanked: 27 times | Joined on Dec 2009 @ The Netherlands
#510
A very nice widget, but I still have some trouble with it. My N900 runs normally at 250-850. When I lock/unlock the screen my N900 runs at 250-750...

It would be great if the widget can reconise wich profile you use and turns the button with that settings on. Now it's always the blue temperature button who's on after a unlock or reboot.

Thank you at all:-)
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:54.