[Pm-utils] pm-utils hook to restore harddisk APM settings
dbn.lists at gmail.com
Wed Feb 24 10:25:30 PST 2010
On Wed, Feb 24, 2010 at 9:41 AM, Till Maas <opensource at till.name> wrote:
> today I realised that a hook in Fedora that was not meant to exist that
> long is already there for two years. It restores the harddisk APM
> settings on thaw/resume:
A couple comments about this feature.
1. One thing I never liked about this is that there's no way to
disable it without blacklisting it outright. I don't change my hd apm
settings, so I don't need hal and hdparm to figure out what my current
settings are, etc. What I want to do is set HD_APM_DEVICES="" in the
conf file and have the hook just exit in that case.
2. HD_APM_DEVICES in the conf file is completely ignored. No matter
the value, the hook then goes and asks hal for all the devices.
3. The conf file should probably live in /etc/pm/ with the rest of the
Finally, I think it needs to be asked why we're doing this in
userspace at all. Shouldn't the kernel be restoring the settings for
us like it does for every other device type?
More information about the Pm-utils