[Bug 1225169] Re: Spindown setting not applied on resume from sleep

Graeme Hewson ghewson at wormhole.me.uk
Fri Oct 30 17:48:50 UTC 2015


See also
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/199094/comments/29

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/1225169

Title:
  Spindown setting not applied on resume from sleep

Status in hdparm package in Ubuntu:
  Confirmed

Bug description:
  I am running pm-utils version 1.4.1-9git1ubuntu0.1 on Ubuntu 13.04.

  I have configured my hard disks to spin down in /etc/hdparm.conf.
  These settings are working when the system is booted from S5 or when
  the system is rebooted. However, when the system is resumed from S3 or
  S4 the hard disks will never spin down.

  I did some research and I found out the spin down settings are normally reapplied after resume by the script '/usr/lib/pm-utils/power.d/95hdparm-apm'.
  The function 'resume_hdparm_spindown()' within this script checks if a device supports APM in line 65, before setting the spin down option. This is what is causing the problem on my system, which uses Western Digital WD20EARX hard disk drives. These drives do not support APM, but they actually do support spin down settings!

  As a workaround I have copied the '95hdparm-apm' file to
  '/etc/pm/sleep.d/95hdparm-apm' and commented out the APM check.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1225169/+subscriptions



More information about the foundations-bugs mailing list