Attached is an update for the power management guide. Changes: - rewrote sleep state chapter - new section on graphics cards (ATI PowerPlay) - added ncpufreqd - added conservative governor - rewrote USB section - other stuff @brix: Can you skim over the sleep state chapter, please? http://www.stud.uni-karlsruhe.de/~uxhz/gentoo/power-management/en.html#doc_chap7 @nelchael: Is the description for ncpufreqd ok?
Created attachment 68999 [details, diff] power-management-guide.diff
FYI, I've tried to update section about hibernation - see bug 105822.
The guide talks about standby (S1) - this just complicates things, imho. Does S1 really give you any benefits? I suggest leaving it out, letting the user concentrate on the more important and useful S3 and S4. Looks to me like the section on suspend2-sources is incomplete. It lacks instructions for setting up kernel command line parameters. Otherwise, from a quick glance, the update looks good.
(In reply to comment #0) > @nelchael: Is the description for ncpufreqd ok? Looks good.
Created attachment 69005 [details, diff] power-management-guide.diff Thanks for the input. I merged Jan's changes from bug #105822 - thanks for that - added information for suspend2 kernel parameters and reduced the instructions for standby. S3 is indeed more useful.
*** Bug 105822 has been marked as a duplicate of this bug. ***
*** Bug 104267 has been marked as a duplicate of this bug. ***
Bug 104267 contained some minor suggestions which should be integrated as well (if they aren't already, I haven't checked, sorry :-) )...
Created attachment 69725 [details] Software suspend how-to I didn't know there was a page about this already :-/ But here it is nevertheless, a short how-to on enabling and using software suspend. I hope it helps.
The information from bug #104267 is already included. I decided not to remove speedfreq, but mention that it is package.mask'ed and people should switch to cpufreqd (or what they prefer). @Vegard: Thanks for the input. I'll integrate the warning about not switching the kernel image as well as shutting down samba and netmount. The latter can be done easily with the hibernate-script, which I prefer to creating another runlevel. Maintaining several runlevels is error-prone without inheritance.
(In reply to comment #9) > Created an attachment (id=69725) [edit] > Software suspend how-to a) Editting kernel's .config is evil, IMHO, as you can break dependencies (AFAIK) b) `make all` for kernel compilation is not required c) Comments inside <pre>s needs proper <comment> and parenthesis d) Have a look at sys-power/hibernate-script
Created attachment 69742 [details, diff] power-management-guide.diff Changes as outlined in comment #10. Also added information on hibernate-cleanup and adding suspend2ui_fbsplash to an initrd image. See http://www.stud.uni-karlsruhe.de/~uxhz/gentoo/power-management/pmg-0922-1002.diff for differences to attachment #69005 [details, diff]
/etc/init.d/hibernate-cleanup is only useful with Software Suspend 2.
(In reply to comment #13) > /etc/init.d/hibernate-cleanup is only useful with Software Suspend 2. Please disregard this commment. Recent versions supports swsusp and pmdisk as well. Attachment #69742 [details, diff] looks good to me.
What's holding back the update, everyone busy? :-/
updated the power-management-guide but the bug is still open cause there is an how-to into it
someone thinks software suspend howto must be added in gentoo documentation? (software suspend howto is in attachment)
Thanks for updating the guide, Stefano. (In reply to comment #17) > someone thinks software suspend howto must be added in gentoo documentation? > (software suspend howto is in attachment) Software suspend is already covered in the PMG, see commment #10 as well.
ok close the bug then in CVS thanks