You are not logged in.

#26 2009-07-08 02:13:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,048
Website

Re: eee 'super hybrid engine' and laptop-mode-tools

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?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

#27 2009-10-24 00:24:01

marcelof
Member
Registered: 2009-01-08
Posts: 6

Re: eee 'super hybrid engine' and laptop-mode-tools

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 smile

Last edited by marcelof (2009-10-24 00:28:57)

Offline

#28 2009-10-24 04:58:17

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: eee 'super hybrid engine' and laptop-mode-tools

marcelof wrote:

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 smile

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

#29 2009-10-24 22:21:39

marcelof
Member
Registered: 2009-01-08
Posts: 6

Re: eee 'super hybrid engine' and laptop-mode-tools

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

#30 2009-10-25 02:39:34

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: eee 'super hybrid engine' and laptop-mode-tools

marcelof wrote:

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

#31 2009-12-30 15:57:23

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: eee 'super hybrid engine' and laptop-mode-tools

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

#32 2010-02-17 22:59:09

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 335
Website

Re: eee 'super hybrid engine' and laptop-mode-tools

This package seems to have been removed from the AUR.
Is it now totally merged with laptop-mode-tools?
Thanks.

Offline

#33 2010-02-18 13:51:52

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: eee 'super hybrid engine' and laptop-mode-tools

Wittfella wrote:

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

#34 2010-02-18 18:02:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: eee 'super hybrid engine' and laptop-mode-tools

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

Offline

#35 2010-02-19 09:25:50

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: eee 'super hybrid engine' and laptop-mode-tools

Just saying: now it is in acpi-eeepc-generic

0x300 performance
0x301 normal
0x302 powersave


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#36 2010-02-19 13:44:32

scio
Member
From: Buffalo, NY
Registered: 2008-08-05
Posts: 366

Re: eee 'super hybrid engine' and laptop-mode-tools

iphitus wrote:

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

#37 2010-07-12 17:55:27

dr3x
Member
Registered: 2010-07-12
Posts: 2

Re: eee 'super hybrid engine' and laptop-mode-tools

Cdh wrote:

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

#38 2010-11-22 05:10:44

khne522
Member
Registered: 2010-11-22
Posts: 2

Re: eee 'super hybrid engine' and laptop-mode-tools

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

#39 2010-11-22 05:55:04

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,366

Re: eee 'super hybrid engine' and laptop-mode-tools

khne522 wrote:

By the way, where do I go again to configure acpi-eeepc-generic (changing gksu to sudo, etc.)?

Edit acpi-eeepc-generic.conf

Offline

#40 2010-11-22 22:28:20

khne522
Member
Registered: 2010-11-22
Posts: 2

Re: eee 'super hybrid engine' and laptop-mode-tools

Thanks for the second.

Sorry. Stupid question.

Regards,

Khne522

Last edited by khne522 (2010-11-22 22:29:51)

Offline

Board footer

Powered by FluxBB