You are not logged in.
Pages: 1
I'm running Gnome, which needs upower, which needs pm-utils. However, power.d is quite assuming: why does it disable all power saving when on AC? (It also doesn't enable all suggestions from powertop.)
So: how can I disable power.d from ever running? Best would be to completely disable all actions that are taken on AC/battery changes. I know that I could delete the files from /usr/lib/pm-utils/power.d, but that would violate package management.
Offline
I noticed that so pm-utils doesn't seem to be actively developed.
At least the sched_powersave script is outdated (/sys/devices/system/cpu/sched_*_power_savings does not exist anymore). I guess I'll file a bug.
Offline
There's two ways to disable the various hooks from running:
1) Putting a file on /etc/pm/config.d/config with for example:
# disable this hooks from running
HOOK_BLACKLIST="hal-cd-pooling laptop-mode pcie-aspm readahead wireless xfs_buffer"
HOOK_BLACKLIST="00logging 00powersave 01grub 11netcfg 48bluetooth 90clock 94cpufreq 95led 98video-quirk-db-handler 99video"
2) Or like it says on the man page putting empty files with the same name on the folders /etc/power.d and sleep.d.
All the code that runs seems to ne on /usr/lib/pm-utils.
Offline
Thanks for your answer. I didn't know about this.
I tried to find the man page, but gave up after a few tries. I do realize now that I could have found them with pacman -Ql pm-utils.
Thanks again, CC
Offline
I guess pm-utils is a great idea if it were easier and better to configure (and up to date regarding powertop). IMHO, a commented config file that controls its behaviour should always be placed into /etc.
I'll get in contact with the pm-utils developers and try to actually implement some of my ideas. It could be worthwhile for people to not having to configure powersaving stuff themselves, except for a few knobs.
Last edited by ccom (2012-01-27 10:09:05)
Offline
Pages: 1