Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106878 - Update for the Power Management Guide (new version 1.25)
Summary: Update for the Power Management Guide (new version 1.25)
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Stefano Pacella (RETIRED)
URL:
Whiteboard:
Keywords:
: 104267 105822 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-22 04:20 UTC by Dennis Nienhüser (RETIRED)
Modified: 2005-11-02 08:15 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
power-management-guide.diff (power-management-guide.diff,26.60 KB, patch)
2005-09-22 04:21 UTC, Dennis Nienhüser (RETIRED)
Details | Diff
power-management-guide.diff (power-management-guide.diff,26.62 KB, patch)
2005-09-22 06:26 UTC, Dennis Nienhüser (RETIRED)
Details | Diff
Software suspend how-to (swsusp-howto.xml,4.56 KB, text/plain)
2005-10-02 07:08 UTC, Vegard Nossum
Details
power-management-guide.diff (power-management-guide.diff,28.19 KB, patch)
2005-10-02 11:41 UTC, Dennis Nienhüser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Nienhüser (RETIRED) gentoo-dev 2005-09-22 04:20:35 UTC
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?
Comment 1 Dennis Nienhüser (RETIRED) gentoo-dev 2005-09-22 04:21:31 UTC
Created attachment 68999 [details, diff]
power-management-guide.diff
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2005-09-22 04:23:00 UTC
FYI, I've tried to update section about hibernation - see bug 105822. 
Comment 3 Henrik Brix Andersen 2005-09-22 04:34:20 UTC
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.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-09-22 06:17:29 UTC
(In reply to comment #0)
> @nelchael: Is the description for ncpufreqd ok?

Looks good.
Comment 5 Dennis Nienhüser (RETIRED) gentoo-dev 2005-09-22 06:26:41 UTC
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.
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2005-09-22 07:39:43 UTC
*** Bug 105822 has been marked as a duplicate of this bug. ***
Comment 7 Jan Kundrát (RETIRED) gentoo-dev 2005-10-02 06:57:07 UTC
*** Bug 104267 has been marked as a duplicate of this bug. ***
Comment 8 Jan Kundrát (RETIRED) gentoo-dev 2005-10-02 06:58:21 UTC
Bug 104267 contained some minor suggestions which should be integrated as well 
(if they aren't already, I haven't checked, sorry :-) )... 
Comment 9 Vegard Nossum 2005-10-02 07:08:06 UTC
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.
Comment 10 Dennis Nienhüser (RETIRED) gentoo-dev 2005-10-02 08:31:53 UTC
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. 
Comment 11 Jan Kundrát (RETIRED) gentoo-dev 2005-10-02 09:25:26 UTC
 (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   
Comment 12 Dennis Nienhüser (RETIRED) gentoo-dev 2005-10-02 11:41:21 UTC
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]
Comment 13 Henrik Brix Andersen 2005-10-03 02:15:07 UTC
/etc/init.d/hibernate-cleanup is only useful with Software Suspend 2.
Comment 14 Henrik Brix Andersen 2005-10-03 09:23:52 UTC
(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.
Comment 15 Dennis Nienhüser (RETIRED) gentoo-dev 2005-10-22 02:02:11 UTC
What's holding back the update, everyone busy? :-/ 
Comment 16 Stefano Pacella (RETIRED) gentoo-dev 2005-10-28 07:53:17 UTC
updated the power-management-guide
but the bug is still open cause there is an how-to into it
Comment 17 Stefano Pacella (RETIRED) gentoo-dev 2005-11-02 06:31:03 UTC
someone thinks software suspend howto must be added in gentoo documentation?
(software suspend howto is in attachment)
Comment 18 Dennis Nienhüser (RETIRED) gentoo-dev 2005-11-02 08:04:21 UTC
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. 
 
Comment 19 Stefano Pacella (RETIRED) gentoo-dev 2005-11-02 08:15:58 UTC
ok
close the bug then
in CVS thanks