You are not logged in.
That's a good thing, right?
Any ideas on how I might go about resolving the issues (not conflicts)? Or is it a case of just running with one or the other?
Offline
I was wondering if it'd be a good idea to use the cpufreqd thinguie to set the SHE setting? like adding rules with an exec command for CPU usage ranges, or inserting it with the existing rules.
What happened with the "auto mode"? is there a way to get it by some other setting in the /sys/devices/platform/eeepc dir?
btw, I had troubles to suspend the eeepc 1005HA but finally after a week of struggle I found out it was the wired NIC so remember you have to do a /etc/rc.d/network stop before suspending, doing the proper with the sound card is a good idea too
Last edited by marcelof (2009-10-24 00:28:57)
Offline
I was wondering if it'd be a good idea to use the cpufreqd thinguie to set the SHE setting? like adding rules with an exec command for CPU usage ranges, or inserting it with the existing rules.
What happened with the "auto mode"? is there a way to get it by some other setting in the /sys/devices/platform/eeepc dir?
btw, I had troubles to suspend the eeepc 1005HA but finally after a week of struggle I found out it was the wired NIC so remember you have to do a /etc/rc.d/network stop before suspending, doing the proper with the sound card is a good idea too
cpufreq, speed stepping and superhe are different and separate things, that may be used in combination
- cpufreq scales the cpu frequency
- superhe scales the fsb frequency
Easiest, is to configure and enable both within laptop-mode-tools.
If you're running acpid, laptop-mode-tools will automatically change the superhe and cpufreq settings depending on AC/battery state.
cpufreq has an additional option which allows it to scale cpu frequency depending on system load. This is ondemand and can be enabled in the laptop-mode-tools configuration.
Offline
I know about those various scripts, but I don't like having a lot of scripts running in the background, for me it's better to do it the hard-core way like: echo -n mem > /sys/power/state for suspending. Also the superhe has its own daemon? I want to change its settings based on the system load, not AC/BATTERY status.
Last edited by marcelof (2009-10-24 22:28:35)
Offline
I know about those various scripts, but I don't like having a lot of scripts running in the background, for me it's better to do it the hard-core way like: echo -n mem > /sys/power/state for suspending. Also the superhe has its own daemon? I want to change its settings based on the system load, not AC/BATTERY status.
No, laptop-mode-tools has no persistent daemon, nothing running in background at all. It only runs and then finishes when a power event occurs, it does not run continuously in the background. acpid is the only daemon that runs. It's lightweight and runs it's action script when power events occur, such as AC plugged in, battery low, power switch, etc - you're probably already running it too.
superhe has no capability of changing based on system load, though you could probably make some sort of script, however I don't think it'd really be worth the trouble.
For the "hard core way" see the source of /usr/share/laptop-mode-tools/modules/eee-superhe and it's configuration /etc/laptop-mode/conf.d/eee-superhe.conf - I've documented the options you need to echo and where to echo them.
I suggest that you give laptop-mode-tools a proper look. If you really want power saving, you're better off configuring laptop-mode-tools to handle it for you as there's so many different areas that need to be configured. Sound card, brightness, hdd, cpufreq, radio, etc. It's lightweight, handles it well, and you'll get more reliable power saving than trying to do it yourself.
Oh, and the eee-superhe module I posted in this thread has been merged to the laptop-mode-tools release and is in the repository package now.
Last edited by iphitus (2009-10-25 02:44:37)
Offline
I got the .32 kernel today and the package no longer works (got an error while loading the module), can anyone else confirm this? It works great now that I downgraded the kernel (I think, got the 1005HA just yesterday and haven't tried it much yet). Thanks for providing this power saving app, though!
Offline
This package seems to have been removed from the AUR.
Is it now totally merged with laptop-mode-tools?
Thanks.
Offline
Check it with:
cat /sys/devices/platform/eeepc/cpufv
770 Powersave
769 Normal
768 Performance
Today with 2.6.33-rc8 it is
chris@chriseee> cat /sys/devices/platform/eeepc/cpufv
0x300
chris@chriseee> sudo /etc/acpi/eeepc/acpi-eeepc-generic-toggle-she.sh
chris@chriseee> cat /sys/devices/platform/eeepc/cpufv
0x301
chris@chriseee> sudo /etc/acpi/eeepc/acpi-eeepc-generic-toggle-she.sh
chris@chriseee> cat /sys/devices/platform/eeepc/cpufv
0x302
chris@chriseee>
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Be warned this is a slightly older thread, so some things might not be as relevant.
I'll leave it open though, since it's not _that_ old.
Offline
Just saying: now it is in acpi-eeepc-generic
0x300 performance
0x301 normal
0x302 powersave
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Oh, and the eee-superhe module I posted in this thread has been merged to the laptop-mode-tools release and is in the repository package now.
It also changed to the 0x300 numbers a few kernel versions ago, and since this package doesn't exist anymore it's kind of moot. You still set the values the same way.
Last edited by scio (2010-02-19 13:50:55)
Offline
Just saying: now it is in acpi-eeepc-generic
0x300 performance
0x301 normal
0x302 powersave
Hi, i installed acpi-eeepc-generic, but I dont know if it works. The script itself works fine, "cpufv" reports the right stats, but the NB doesnt slow down, and the battery life doesnt grow up. I mean, I can do everything normal with 0x302 without performance problems, everything runs as fast as with 0x300. I had this problem also earlier, but after sending it with 0x302 to sleepmode, and then returning from it, I had a slower performance, so I think just after that little "sleep" it worked for me. But now with acpi-eeepc-generic and default kernel 2.6.34 it doesnt even work with the sleepmode...and acpi -V says me @ 98% battery 7h left @ idle ( usb suspend, wlan off, cardreader off, eth off, gov powersave and she 0x302, writeback time + sata power management set with powertop )
Offline
Hello,
I recently re-installed acpi-eeepc-generic (after trying eee-control, for which the documentation is non-existant). I am unable to run toggle-she.sh. I get the message that cpufv is not found (alluded to earlier in this forum. There was a fix mentioned yet that is for older kernels. My netbook model is the 1015PEM. Does this definitely mean that there is no support for my netbook model?
By the way, where do I go again to configure acpi-eeepc-generic (changing gksu to sudo, etc.)?
Regards,
Khne522
Offline
By the way, where do I go again to configure acpi-eeepc-generic (changing gksu to sudo, etc.)?
Edit acpi-eeepc-generic.conf
Offline
Thanks for the second.
Sorry. Stupid question.
Regards,
Khne522
Last edited by khne522 (2010-11-22 22:29:51)
Offline