Comment 17 for bug 199094

Revision history for this message
Steve Langasek (vorlon) wrote : Re: hdparm.conf settings are lost on suspend/resume

In karmic there's been substantial cleanup of the hdparm handling on the system; acpi-support and laptop-mode-tools should no longer be interfering with hdparm settings at all, which leaves only pm-utils.

pm-utils (in cooperation with hdparm) will now use a new 'apm_battery' value in hdparm.conf, falling back to the previous apm value of 128 if no such setting is found. So if you want to use the same apm setting on battery as off, you can now set hda_battery = 254 in hdparm.conf and it will be honored.

I think there's still a valid wishlist request here to have other hdparm.conf settings reapplied to disks after suspend/resume; I don't know if Linux suspend is guaranteed to preserve these for us. So reassigning to pm-utils for consideration of that aspect, which should be the only remaining bug here.