Francois Fleuret wrote: > It seems to work. > > However, the situation seems more than fuzzy. Is there a clear reason > why this fix is needed ? I could not even figure out what script > puts the power management level to 128. The script /etc/init.d/hdparm > does not and /etc/acpi/*/90-hdparm.sh seem to to take > /etc/laptop-mode/laptop-mode.conf into account as expected ...
I think the reason that we have this issue is because the value that the power management value that is set is directly programmed to the hard drive. When the machine suspends or hibernates the drive is powered off and the value is lost. When the machine is powered back up again the drive is loaded with it's default value, which appears in this case is 128. At this point LTM needs to be recalled (which the script you tried does) so it can reapply the power management value to the drive again. At some point LTM will hopefully ship with the pm-util hook (the script) and this will all be transparent to users. -- Regards, Sheridan Hutchinson sheri...@shezza.org
signature.asc
Description: OpenPGP digital signature