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 2010-12-26 16:04

[announce] maxCPU widget - change the max CPU's clock with a TAP!
 
maxcpu is a little home-desktop widget, python writed, that allows you to change the max CPU's clock with a TAP!
This widget works only with the "Enhanced Linux kernel for power users" (alias Titan or Pali Kernel): packages "Enhanced Linux kernel for power users" and "Enhanced Linux kernel for power users (settings)" must be installed.
Changes will not remain after a reboot.
Remember that the intensive use for extended periods of CPU clock frequencies exceeding 600 MHz could be dangerous.


http://emmepole.altervista.org/N900/...t-maxCPU_1.png


Version 0.1.6-2 (not compatible with power-kernel v49) in repository Extras free

Version 0.2.0-0 available in repository Extras-testing

Please, test and rate for karma

Maemo.org Application Download Statistics Beta

Minhaz 2010-12-26 16:42

Re: [announce] maxCPU widget
 
thanks a lot for this...i needed sumthing like this :)

Minhaz 2010-12-26 19:14

Re: [announce] maxCPU widget
 
i cant find dis using either appman or fapman...is it there in the repo? :S

m750 2010-12-26 19:46

Re: [announce] maxCPU widget
 
It is loaded into the repository, but currently does not appear while using appman. I do not know why. Maybe someone can explain it to me.

kolos 2010-12-26 20:21

Re: [announce] maxCPU widget
 
m750, it works great, thanks.

I have one request, if you could share your script for CPU's freq and temperature widget (queen beecon), please?

Minhaz 2010-12-26 20:43

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 904798)
It is loaded into the repository, but currently does not appear while using appman. I do not know why. Maybe someone can explain it to me.

thanks installed through xterm and its working great! :)

Mentalist Traceur 2010-12-26 21:38

Re: [announce] maxCPU widget
 
Does it have "user" as one of its... what do you call them..? Categories, or something? Like, the way software is sorted on the downloads page on this forum in Desktop, Utilities, Other, Science, System, etc...

The N900 app manager doesn't show things in the repos unless one of its categories is 'user'. I thought FApMan had an option to see them or not, but I haven't seen it recently when looking around the settings area. Perhaps it was taken out because too many people thought it was a good idea to install stuff they didn't understand or need or know how to use? *Shrug*

flipalong 2010-12-26 21:44

Re: [announce] maxCPU widget
 
u can download using fapman by clicking the little C at the bottom right when in the download list and clicking on all packages (advanced). then do a search :)
warning dont download anything other than maxcpu or other apps that u specifically know u should download because it can screw up your n900!

flipalong 2010-12-26 21:49

Re: [announce] maxCPU widget
 
and btw thanks for the widget, looks and works great (:

augustthe 2010-12-27 01:22

Re: [announce] maxCPU widget
 
i got a problem when i install maxcpu is not appearing on the desktop i try rebooting nothing

AgogData 2010-12-27 01:36

Re: [announce] maxCPU widget
 
very useful but dangerous, don't ever leave your phone with any1 else but you.
thanks :)

peacekeper 2010-12-27 02:03

Re: [announce] maxCPU widget
 
i downloaded through teh xterm but no icon on my desktop is there anything else i have to do?

m750 2010-12-27 08:15

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by augustthe (Post 904962)
i got a problem when i install maxcpu is not appearing on the desktop i try rebooting nothing

It is not an application, but a home desktop widget... TAP on desktop to insert it!

Quote:

Originally Posted by Mentalist Traceur (Post 904858)
Does it have "user" as one of its... what do you call them..? Categories, or something? Like, the way software is sorted on the downloads page on this forum in Desktop, Utilities, Other, Science, System, etc...

The categories is "system", but probably is not visible unless it is under test. Try to vote for its Karma ...Please :)
http://maemo.org/packages/package_in...axcpu/0.1.3-1/



OT:
Quote:

Originally Posted by kolos (Post 904819)
I have one request, if you could share your script for CPU's freq and temperature widget (queen beecon), please?

I use this script, but I am not the author
Code:

echo CPU: `awk '{print $1/1000" MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq` `cat /sys/class/power_supply/bq27200-0/temp`°C;
first you have to load a module (only the first time)

Code:

sudo gainroot
echo bq27x00_battery >> /etc/modules
modprobe bq27x00_battery

For problem look at:
http://wiki.maemo.org/Kernel_Power

poeddiee 2010-12-27 10:12

Re: [announce] maxCPU widget
 
Quote:

i got a problem when i install maxcpu is not appearing on the desktop i try rebooting nothing
Quote:

It is not an application, but a home desktop widget... TAP on desktop to insert it!
same problem here.!
but maxcpu doesn't even appear in die list for desktopwidgets... I looked for the the maxcpu.desktop-file, but it is correctly installed and I reinstalled the whole widget a few times...
it won't appear in die list... and it isn't already insert anywhere...

also when I tried to install the .deb with the standart app-manager it says that maxcpu isn't kompatibel... so I installed it via x-term.
but I have the power-kernel, this can't be the problem...

do you have any ideas what's the problem?!
thanks!

m750 2010-12-27 11:40

Re: [announce] maxCPU widget
 
Please, open x-terminal and put this command:
Code:

root
python /usr/lib/hildon-desktop/maxcpu.py

Do you retrive any errors?
yes: post the log
no: go back to the desktop (without closing x-terminal). You must see the widget (look at all that your destkop)

poeddiee 2010-12-27 11:58

Re: [announce] maxCPU widget
 
thanks for your help! but I get an error:

Code:

Nokia-N900:~# python /usr/lib/hildon-desktop/maxcpu.py
Traceback (most recent call last):
File "/usr/lib/hildon-desktop/maxcpu.py", line 6, in <module>
import hildondesktop
ImportError: No module named hildondesktop

I hope you can find a solution :)

geneven 2010-12-27 12:00

Re: [announce] maxCPU widget
 
Sorry to ask this, but why would I want my max cpu posted on my desktop?

It seemed to work fine for me.

m750 2010-12-27 12:12

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by poeddiee (Post 905208)
thanks for your help! but I get an error:

Code:

import hildondesktop
ImportError: No module named hildondesktop


from x-terminal, type
Code:

root
apt-get install python2.5-hildondesktop


m750 2010-12-27 12:16

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by geneven (Post 905211)
Sorry to ask this, but why would I want my max cpu posted on my desktop?

It seemed to work fine for me.

If you don't need this widget, simply don't use it! :confused:

poeddiee 2010-12-27 12:18

Re: [announce] maxCPU widget
 
yeah thank you so much, it finally works!

but I had to type

Code:

apt-get install python-hildondesktop
otherwise I get any error... but now it works fine, great widget, thanks a lot!!! :D

edit: argh but when I clode x-term the widget disappears, too... how can I insert the widget permantly?!

sorry for all the work you have with me =)

m750 2010-12-27 12:35

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by poeddiee (Post 905221)
yeah thank you so much, it finally works!
edit: argh but when I clode x-term the widget disappears, too... how can I insert the widget permantly?!

Now you can place the widget on the desktop, as well as all desktop widget

augustthe 2010-12-27 13:49

Re: [announce] maxCPU widget
 
it works now:) i just install maemo-python-device-env and reinstall maxcpu now it appear in the desktop:D

m750 2010-12-27 13:55

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by augustthe (Post 905295)
it works now:) i just install maemo-python-device-env and reinstall maxcpu now it appear in the desktop:D

Good for you. :)
I take it that the python libraries are installed on n900

m750 2011-01-09 10:01

Re: [announce] maxCPU widget
 
Now the widget is in the right category and soon should be visible with appman (need more votes for his Karma, or will be available only after the Epiphany :) )

Thanks to @Mentalist Traceur and especially thanks a lot to @fgs: grazie Floriano per tutte le informazioni utili!

---------
[EDIT]
New version available in extras-testing with small fixes, changes and improvements.
I ask to try it and vote for him so that he can go to "Extras Fremantle free"
Thanks! :)

CasTTeLLo 2011-01-09 12:08

Re: [announce] maxCPU widget
 
just for sure, this wiget will work with power kernel v46 or not???

gabby131 2011-01-09 12:20

Re: [announce] maxCPU widget
 
@m750

-although this app may not be that useful for me, i found this to be awesome! Installed and it works great!!!

-i have my own kernel settings to load @boot (500-1000mhz) and this widget does not touch my settings.

-vote cast.....:) thanks for this one :D

m750 2011-01-09 12:53

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by CasTTeLLo (Post 915723)
just for sure, this wiget will work with power kernel v46 or not???

yes, this app work with power kernel v46

CasTTeLLo 2011-01-09 13:55

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 915767)
yes, this app work with power kernel v46

thanks...one more question, how does it work?? for me i have to change from qcpu first then the widget working....can i change directly using maxcpu? or i missed something? when i click plus button the popup ask yes or no and when i hit yes, the power kernel doesnt change...pls xplain...tq

m750 2011-01-09 14:19

Re: [announce] maxCPU widget
 
QCPU not needed.
Please, open x-terminal and put this command:
Code:

python /usr/lib/hildon-desktop/maxcpu.py
Go back to the desktop (without closing x-terminal). You must see a new widget (look at all that your destkop).
Try to change frequency with "+" button and confirm with "yes".
Go back to x-terminal and post output, please.

CasTTeLLo 2011-01-09 14:29

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 915845)
QCPU not needed.
Please, open x-terminal and put this command:
Code:

python /usr/lib/hildon-desktop/maxcpu.py
Go back to the desktop (without closing x-terminal). You must see a new widget (look at all that your destkop).
Try to change frequency with "+" button and confirm with "yes".
Go back to x-terminal and post output, please.

Code:

/home/user # python /usr/lib/hildon-desktop/maxcpu.py
/usr/lib/hildon-desktop/maxcpu.py:15: GtkWarning: Unable to locate theme engine in module_path: "murrine",
  testo = gtk.Label(" No Titan ")


m750 2011-01-09 15:21

Re: [announce] maxCPU widget
 
in x-terminal:
Code:

root
dpkg -l | grep gtk2-eng

and post the output

CasTTeLLo 2011-01-09 15:41

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 915889)
in x-terminal:
Code:

root
dpkg -l | grep gtk2-eng

and post the output

Code:

/home/user # dpkg -l | grep gtk2-eng
ii  gtk2-engines-sapwood                                3.1.1-10+0m5                        Pixbuf-based theme for GTK+ 2.x
/home/user #


m750 2011-01-09 16:26

Re: [announce] maxCPU widget
 
@CasTTeLLo
I think maybe you have some problems with some dependencies or in environment variables (theme related). Which theme do you use?
Do you have other applications python writed?

I can't anything else to do, at least for now, sorry.
Maybe try this in x-terminal:
Code:

root
apt-get update
apt-get install -f
apt-get install --reinstall gtk2-engines-sapwood


CasTTeLLo 2011-01-10 00:06

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 915924)
@CasTTeLLo
I think maybe you have some problems with some dependencies or in environment variables (theme related). Which theme do you use?
Do you have other applications python writed?

I can't anything else to do, at least for now, sorry.
Maybe try this in x-terminal:
Code:

root
apt-get update
apt-get install -f
apt-get install --reinstall gtk2-engines-sapwood


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...

Dany-69 2011-01-10 00:15

Re: [announce] maxCPU widget
 
MMMMMM ! XD
Is the first time i see your 3d :D

Bingley Joe 2011-01-10 06:01

Re: [announce] maxCPU widget
 
This is a great widget.

I'd love for it to have the option of stepping through my various kernel presets as well (ie: ideal, lv, ulv, default, etc.)

gautamr9 2011-01-10 10:22

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by m750 (Post 915845)
QCPU not needed.
Please, open x-terminal and put this command:
Code:

python /usr/lib/hildon-desktop/maxcpu.py
Go back to the desktop (without closing x-terminal). You must see a new widget (look at all that your destkop).
Try to change frequency with "+" button and confirm with "yes".
Go back to x-terminal and post output, please.

Quote:

Originally Posted by CasTTeLLo (Post 915828)
thanks...one more question, how does it work?? for me i have to change from qcpu first then the widget working....can i change directly using maxcpu? or i missed something? when i click plus button the popup ask yes or no and when i hit yes, the power kernel doesnt change...pls xplain...tq


This is the output i am getting when i try what you mentioned. Im facing the same problem as casttello.

Code:

kernel-config limits 250 700

m750 2011-01-10 17:12

Re: [announce] maxCPU widget
 
Quote:

Originally Posted by gautamr9 (Post 916681)
Code:

kernel-config limits 250 700

Hi guatarm9, the output should be a little bigger..
Please log all.

Hi, @Bingley Joe
Thank you for your compliment. I can do whatever you want, but then would no longer be a handy widget.

gautamr9 2011-01-10 17:29

Re: [announce] maxCPU widget
 
@m750.. thats the only that is printed... nothing else..

D4rKlar 2011-01-10 17:47

Re: [announce] maxCPU widget
 
Tested, it works :D

Thank you mate! Karma on its way,

Kind Regards,
D4rKlar


All times are GMT. The time now is 09:11.

vBulletin® Version 3.8.8