http://forums.gentoo.org/viewtopic-p-2926121.html#2926121 Quote: Hello, I am following this guide http://www.gentoo.org/doc/en/power-management-guide.xml And have created the hdparm suspend timeout script and added it to my runlevel. As the next step I have emerged laptop-mode-tools and editing the conf file I found /etc/laptop-mode/laptop-mode.conf Code: # Idle timeout values. (hdparm -S) # Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 5 seconds fo$ # and for AC with laptop mode on. LM_AC_HD_IDLE_TIMEOUT_SECONDS=5 LM_BATT_HD_IDLE_TIMEOUT_SECONDS=5 NOLM_HD_IDLE_TIMEOUT_SECONDS=7200 Is the hdparm script in the guide really neccessary? Code: #!/sbin/runscript depend() { after hdparm } start() { ebegin "Activating Power Management for Hard Drives" hdparm -q -S12 /dev/hda eend $? } stop () { ebegin "Deactivating Power Management for Hard Drives" hdparm -q -S253 /dev/hda eend $? } Why is it there as a required step if it isn't? Thanks Things follow on sequentially in the guide, and when alternatives exist it often tells you by saying "do this OR do that", here it tells you to make this init script then tells you to go on to install laptop-mode-tools (which already has this functionality built into it). Reproducible: Always Steps to Reproduce: Expected Results: Be more explicit in saying they are alternatives if laptop-mode-tools *isn't* installed.
Thanks for the suggestion, I'll reword it to be more clear in the next upate.
Amir, I'm working on an updated version of the guide and rewrote parts of the section about hard disk pm. It should be more structured now. Please have a quick look at it: http://dev.gentoo.org/~earthwings/pmg/power-management-guide.html#doc_chap5
This has been fixed in the newly revised and expanded power management guide thanks to bug #122017; please see http://www.gentoo.org/doc/en/power-management-guide.xml. Thanks for addressing this issue.