maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [announce] maxCPU widget - change the max CPU's clock with a TAP! (https://talk.maemo.org/showthread.php?t=67468)

m750 2011-01-10 18:14

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by gautamr9 (Post 917043)
@m750.. thats the only that is printed... nothing else..

If you see only this printout means that the widget works. I think you have problems with titan's kernel.
Put in x-terminal this command:
cat /etc/sudoers.d/kern*
then post the printout

m750 2011-01-10 18:36

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by CasTTeLLo (Post 916426)
still the same....i'm using window7 theme and a lot of python apps....i oso facing with dependencies problem(i guess)..c here this happen when i enable maemo.org repos and other errors i cant update libsdl-mixer1.2 and python-pyside...

Yes, may be is a dependency issue, but I can not figure out which. :confused: And I not understand why the error message refers to "murrine".

Please try this:
apt-get install python-gobject

If don't go, if you want, put this command in x-terminal:
dpkg -l >> dpgklog.log
and send me everything, I'll try to look at. Maybe send it to me by PM, so we will not dwell in the forum.
If you want, do a list of all your python applications. I'll try to see if they use the GTK libreries.

gautamr9 2011-01-11 01:27

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 917077)
If you see only this printout means that the widget works. I think you have problems with titan's kernel.
Put in x-terminal this command:
cat /etc/sudoers.d/kern*
then post the printout

Code:

user ALL = NOPASSWD: /usr/sbin/kernel-power-deinstall
user ALL = NOPASSWD: /usr/sbin/kernel-config *

edit: corrected typo

m750 2011-01-11 14:43

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
@gautamr9, open x-terminal and as normal user, put this command
sh /usr/sbin/kernel-config limits 250 600
What answer you get?

patrickl 2011-01-16 11:49

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 917029)
Hi guatarm9, the output should be a little bigger..
Please log all.

My output looks like this:
Code:

sh: /usr/sbin/kernel-config: not found
kernel-config limits 125 700

For me the same here that it isn't changing the clocking when I tap on "+"

m750 2011-01-16 12:25

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
@patrickl
Packages "Enhanced Linux kernel for power users" and "Enhanced Linux kernel for power users (settings)" must be installed.

CasTTeLLo 2011-01-16 12:42

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Quote:

Originally Posted by m750 (Post 921487)
@patrickl
Packages "Enhanced Linux kernel for power users" and "Enhanced Linux kernel for power users (settings)" must be installed.

this solved my prob bro...tq so much....thanks for ur help...

patrickl 2011-01-17 00:09

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
now it is working perfectly! THX a lot ;)

m750 2011-01-21 19:14

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi, the package has ended his "quarantine period".
Still needed some rates to be promoted in extras-free.
Please, whoever is using it and found that work fine and without problems, can give a vote of feedback?

http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/maxcpu/0.1.6-2/

(example)
http://img834.imageshack.us/img834/8...shot4lj.th.png


Thanks a lot!

m750 2011-02-06 08:59

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi,
six rates still needed ... Please, don't be shy! :)
Thanks

eL.ectron1k 2011-02-06 14:18

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi!)
Have you got any idea how-to-make it transparent?
Thanks!

m750 2011-02-06 14:30

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi,
I thought about it, but I have not found a way. I think that gtk buttons and gtk labels can not be made transparent... Sorry

sakya 2011-02-06 14:58

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
I have a little problem with this widget.
I set a script using d-bus script that downclocks my N900 when it is locked and restores my default frequencies when unlocked.
The problem is: if I use the widget to change the freq., lock the N900 and then unlock it the widget isn't updated and displays the last freq. set through the widget (not the real one).
Can you please fix this (very little) issue? :)

EDIT: And it would be great to have the possibility to remove the confirm dialog. ;)

m750 2011-02-06 15:05

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hello sakya, I know that the widget does not auto-update.
I could enter the auto-update, but this would increase a bit the CPU consumption.
However, I do a thought for the next release. :)

[EDIT]
Ciao sakya, thanks a lot for your rate!
The confirmation is a bit necessary to prevent accidentally changing.

m750 2011-02-06 21:11

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi sakya, your request of auto-update will be implement in the next release (0.1.7-0). The widget will update at every screen unlock.
The new release will have other little improvements, but will be released only when the actual release (0.1.6-2) will be promoted in extras-free.

sakya 2011-02-07 10:17

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Many thanks. ;)

m750 2011-02-07 18:58

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi, it might be a good idea if the widget ask once, from 600Mhz to 700Mhz, if you want to overclock, and then takes the choice stored until the next reboot?

[EDIT]
I need only two rates in order to promote the package ...:cool:
http://maemo.org/packages/package_in...axcpu/0.1.6-2/

sakya 2011-02-08 10:26

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Yes: asking once until next reboot should be ok. :)
Many thanks.

m750 2011-02-10 22:21

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
New version available in Extras-testing: 0.1.8-1

changelog:
Quote:

* now, after an screen unlock the widget update the displayed frequency
* added more informations in the settings page
* added check of presence of package 'kernel-config-settings'
* changed the confirmation mode: only one time until next reboot/power-off/on
* changed message, Banner instead MsgDialog
Please, test and rate for karma

bigears5000 2011-02-11 13:12

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Just updated to latest version, and it's broken my kernel power. I have uninstalled, loaded kernel power, but my phone has reverted to stock kernel. Sorry about lack of info. I'm on my lunchbreak and just wanted to quickley post that I'm having problems.
EDIT: After a second re-boot, my kernel power is working again. I am just a bit worried about re-installing the max cpu widget again now though. Has anyone else had this problem, or was I just unlucky?

m750 2011-02-11 18:23

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hello,
I hope and believe it has been only one case, because the widget does not interfere with the kernel. Compared to the previous version, it use the dbus to get information about screen unlocking and use the maemo's banner.
Let me know.

bigears5000 2011-02-11 18:30

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Ok. I will give it another go this weekened, and post the result. Perhaps my phone was having an off moment!

bigears5000 2011-02-12 09:17

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Ok. So I have re-installed the widget, and straight away got the error "Kernel-power-settings" not loaded, even though I thought I had. Anyway, at some point, the settings must have got uninstalled somehow. Reinstalled kernel power settings and everything is now fine. Sorry I thought it was the widget.

m750 2011-02-12 09:25

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Don't worry mate. I just added the version 0.1.8-2, but there are no major changes, just an adjustment in the 'control' file for Debian.

Please, look if you notice difference in the battery consumption.

Maxime 2011-02-12 12:14

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi guys, I got a problem with maxcpu's widget not showing in the widget list (but it does on the desktop when ran from the CLI).

Some info:
  • When run from the CLI it works proper (both as root and user):
Code:

[1|root@Nokia-N900|~]python /usr/lib/hildon-desktop/maxcpu.py                                         
kernel-config limits 250 700
kernel-config limits 250 600

  • I tried using both the stable and testing versions of the app.
  • OMWeather's widget does show up in the widget list.

I hope that's enough info :)

m750 2011-02-12 12:27

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi, new applications sometimes do not appear immediately, try rebooting.

But if you want, check for file maxcpu.desktop
try in x-teminal

Code:

ls -l /usr/share/applications/hildon-home

Maxime 2011-02-12 12:46

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Hi, I forgot to mention but I already rebooted a few times.

maxcpu.desktop does exist in /usr/share/applications/hildon-home, the permissions are the same as the other files in there.

I just found out that after updating the access time on the maxcpu.desktop file makes it show up in the widget list. As I click on maxcpu in the widget list, the widget list closes but the maxcpu widget doesn't get added to my desktop. After this maxcpu disappears from the list again, until I change the access time again.

Very odd...

m750 2011-02-12 13:34

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Yes, very odd... I've never heard of similar problems...

Try to edit the file maxcpu.desktop, and modify it, should be:
Code:

[Desktop Entry]
Name=maxCPU
Comment=fast change of CPU clock
Type=python
X-Path=maxcpu.py
X-Multiple=True

delete the blank lines at the top of file
delete line: name[c]=maxcpu
one blank lines at end of file.

But I don't think this is the problem.

I also try to update your system:
x-teminal:
root
Code:

apt-get clean
apt-get autoclean
apt-get autoremove
apt-get update
apt-get upgrade


Maxime 2011-02-12 13:46

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
As expected editing the .desktop file didn't work. Updating my phone didn't help either (nothing to update).

I'll try downgrading everything to stable tonight (currently running testing), I doubt that will help but it's worth a shot.

Thank you for your help so far :)

Maxime 2011-02-12 17:10

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Downgrading didn't seem to help either. So I went with making a shortcut that runs the command to launch the widget, it works but obviously I'd like to get to the root of this problem :).

devdsp 2011-02-12 18:54

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Got same prob as Maxime

m750 2011-02-13 14:15

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Maybe I understood the problem, but I did not understand why only some sufferers and I don't know how and when I have inadvertently deleted the first line in the file:

/usr/lib/Hildon-desktop/maxcpu.py

The firs line, should be: #!/usr/bin/python

Code:

#!/usr/bin/python
# maxCPU

Who has this problem can try editing the file, or download the new version (0.1.8-3) I'm releasing in extras-testing.

Weedalot 2011-02-13 16:47

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
do i need the power kernal for this? and does it do the " Calculating voltages" and "OverClock UnderClock depending on temp?"

m750 2011-02-13 19:37

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Quote:

Originally Posted by Weedalot (Post 945101)
do i need the power kernal for this? and does it do the " Calculating voltages" and "OverClock UnderClock depending on temp?"

Yes, you need power kernel.
No, it does not do. The widget changed only the frequency. You should set your power kernel settings profile.

jonathanp 2011-02-14 02:25

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
also had the same problem with the widget not showing up

changed the path in maxcpu.desktop as below

X-Path=/usr/lib/hildon-desktop/maxcpu.py

now the widget shows up

m750 2011-02-14 09:53

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Thanks.
But I do not understand why only some people have this problem and why, since the file .desktop structure is standard.

jonathanp 2011-02-14 12:17

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
I'm using the v46 kernel but its the bleeding edge version if that makes a difference

m750 2011-02-14 18:09

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
No, for me it is independent of the kernel, some n900 have something different in the OS, perhaps due to the various customizations.

[EDIT] released version 0.1.8-4 with full path in the .desktop file. Thanks again @jonathanp for your information.

CasTTeLLo 2011-02-17 00:51

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
Been corrected or not yet??

m750 2011-02-17 19:14

Re: [announce] maxCPU widget - change the max CPU's clock with a TAP!
 
The file has been modified. It should tell me who had the problem, if it persists or not.


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

vBulletin® Version 3.8.8