[laptop-mode] Wrong hdparm setting applied after resume
Joss Winn
joss at josswinn.org
Fri Jul 11 21:41:16 CEST 2008
Hello,
I found the message below in the list archive. It describes exactly
what I have found after installing the latest laptop-mode-tools Debian
package on Ubuntu Hardy.
After wrangling with laptop power management on Ubuntu, I think I've
got it worked out, but I can't see a way to correct the hdparm value
of 128 after resume from suspend.
Any ideas on fixing this would be appreciated.
Thank you
Joss
I've followed the conversation about this on launchpad, but haven't
seen it arise on Debian Lenny as of yet, except for
my own problems with it that is.
The problem being that after resume from suspend an hdparm value of
128 is always applied. Removing then re-inserting
the ac power applies the correct settings. Or, if you resume on
battery simply plugging in the ac-power will apply the
correct settings. So, this is really only a problem when resuming on
battery. In all other respects laptop-mode is
working quiet well. Thanks much for the iwl powersave stuff!
I've attached text files of laptop-mode.conf, hdparm.conf, output of
hdparm -I /dev/sda and a text file of all installed
apps. The important ones to note - I think - are that I don't have
acpi or acpi-tools installed. Everything but this one
little bothersome thing is working so well, even without them, that
I'm afraid of messing something more important up by
installing them.
Let me know what other information I can provide. Here's some basic
info, and I noticed that I don't have at least one
of the recommends, apmd. But this laptop is pretty new, and my
understanding was that apm was disabled in the newer
kernels by default anyway.
Some basic info:
================
Debian Lenny/Testing 2.6.24-1-686
arthur at archnix:~$ aptitude show laptop-mode-tools
Package: laptop-mode-tools
State: installed
Automatically installed: no
Version: 1.42-1
Recommends: acpid | apmd | pbbuttonsd | pmud, hdparm, sdparm, hal
Best,
Arthur
More information about the laptop-mode
mailing list