SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-21 19:20:43

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Trayfreq for SliTaz ?

It took me quite a while, to find out, how in AV-Linux the LXDE plugin to select the CPUs frequency works - its not the LXDE cpufreq plugin, its Trayfreq

https://wiki.archlinux.org/index.php/Trayfreq

http://downloads.sourceforge.net/trayfreq/trayfreq-0.2.x-dev2.tar.gz

depends on : cpufrequtils and libacpi

so libacpi is also not available

http://www.ngolde.de/libacpi.html

it would be really nice, to have it

Thomas

Offline

#2 2012-12-22 18:35:26

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: Trayfreq for SliTaz ?

Hi kultex ...

i've compiled the source. works well on my acer.

taryfrec starts after following this thread:

http://doc.slitaz.org/en:guides:cpu-frequency

Don't need to do anything with libacpi ....

https://www.box.com/s/1kmro6r19rztlqfd69w5

[attachment=19889,860]

Offline

#3 2012-12-22 20:49:17

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Trayfreq for SliTaz ?

Nice work HMA

Offline

#4 2012-12-25 14:36:42

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Trayfreq for SliTaz ?

HMA,

thanks you tested and nice to see, that it works

to make a tazpkg, you have to use tazwok

http://hg.slitaz.org/tazwok/raw-file/tip/doc/tazwok.en.html

http://doc.slitaz.org/en:guides:tazwoktips

but there is another possibility - maybe tazpkg convert will create a working tazpkg out of a deb

Thomas

Offline

#5 2012-12-26 13:26:09

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Trayfreq for SliTaz ?

HMA sorry - did you edit your post?

because what I remeber you asked me, how to get out a tazpkg?

ok, the tazpkg is available from the box.com link....

Offline

#6 2012-12-26 17:46:52

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: Trayfreq for SliTaz ?

Hi kultex,

yup, i edited the post after i ve made the tazpkg package. Because trayfreq have only a couple of files i made the package "by hand" (german saying) ... thx for the hint about tazwok. But i am not shure ... can i configure/make/make install a cource code direct to a tazpkg??

About trayfreq:... its just under development ... and it seems it is a little bit bugy. The icon switching dont work well if i change the governor or the battery change from charging to discharge ...

Offline

#7 2012-12-27 12:47:24

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Trayfreq for SliTaz ?

so I think, that its the missing libacpi packge, because I have tested it with AV Linux on all mz machines and no problems

https://aur.archlinux.org/packages.php?ID=26999

Offline

#8 2012-12-27 18:12:09

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Trayfreq for SliTaz ?

I installed your trayfreq tazpkg

2012-12-27 17:47:39 - Installed - trayfreq (0.2) - bd50c35e95203e8cbe5d80f3297f1f62

but it seems not to work

I have no /usr/bin/trayfreq, no no /usr/sbin/trayfreq, no /usr/share/trayfreq

her is a libacpi tazpkg - you could try

also not possible to upload tazpkgs...

Offline

#9 2012-12-27 18:54:09

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: Trayfreq for SliTaz ?

Hi kultex ...

in the 0.1.6.3 version the binarys are in /usr/bin/ but in the 0.2.x version trayfreq stores the binary in /usr/local/bin and /usr/local/share/trayfreq

I have already tried out it with a libacpi.so ... well, i don't know if this lib file are the right on, i grabbed them from another distro ... but i couldn't determine a difference...

Offline

#10 2012-12-27 21:20:23

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Trayfreq for SliTaz ?

I had to run - so here the tazpkg

can you try if it is getting better

http://www.filedropper.com/libacpi0-02-4

Offline

#11 2012-12-29 18:03:10

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: Trayfreq for SliTaz ?

Hi kultex ...

ok ... i've compiled trayfreq again with other permissions and also now the binary is in /usr/bin/

It seems to work now, but trayfreq need to run as root.

I've installed sudo and made a entry in the /etc/sudoers file:

root    ALL=(ALL) ALL

michael    ALL= (root)NOPASSWD: /usr/bin/trayfreq

So it is possible to launch trayfreq as root in the autostart.sh without using a password:

# Start TrayFrequence

sudo trayfreq &

https://www.box.com/s/1kmro6r19rztlqfd69w5

Offline

#12 2012-12-30 18:37:34

aniguenni
Member
Registered: 2011-12-18
Posts: 153

Re: Trayfreq for SliTaz ?

Hi kultex,

hi HMA

very interesting util, thank you guys very much for this. i thought, my lifebook does change the freq automaticly when set in bios? but it doesn't.

after installing this quite nice utility, slitaz does it well ;-)

how can i modify the cpufreq icon to get these nice icons to see when add cpufreq frontened to the panel to get this utility as an applet and not as a tray?

another question: how to modify the battery monitor to get diff. battery icons showed instead of the very dark barkgraph?

Offline

#13 2012-12-30 21:52:53

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: Trayfreq for SliTaz ?

Hi aniguenni...

you're welcome ...to get displayed the battery-icon also the cpu-icon, you have to add a notificationspanel (System Tray) in lxpanel and then you can remove the battery monitor also the cpufreq frontend.

Hmmmm i think it is not possible to let cpufreq-frontend show the trayfreq icons. But maybe kultex knows much more about such things ... smile

Offline

#14 2013-01-01 16:35:26

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Trayfreq for SliTaz ?

Hi aniguenni,

I have to dissppoint you, but I have no experience with trayfreq and as trayfreq tells its tray and not an applet.

an as you describe, that you thought, that your notebook does change the freq automaticly when set in bios, thats the reality for most SliTaz users.

No - you just enable the OS, that the freqency can be scaled.

But most distributions are doing this now - the default governer is in almost all distributions ondemand. I think, its really necessary, that it will be included in 5.0

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]