Kapil Hari Paranjape wrote:
Dear Bart,

Thanks for your detailed response.

On Sun, 09 Mar 2008, Bart Samwel wrote:
Possible reasons:

"laptop-mode-tools" make a number of changes to the system and some of
them
may be interfering with resume. One would need to break down the
process further to figure out the problem:

        1. hdparm
        2. cpufreq settings
        3. kernel "laptop-mode" settings

Perhaps, if someone has time this could be investigated further.
It would be possible to pin this down, simply by disabling options in
laptop-mode.conf one by one. It would be you who would have to do it
though, so, do you have time? ;-)

I upgraded my kernel to 2.6.24 a little while ago and suspend/resume
has been much more stable since then. I must confess that I am a
little hesitant about breaking it now!

Here is the sequence of steps that I could carry out at some point:
        1. Create a fresh minimal sid install with acpi-support and
           laptop-mode-tools. (Should I have X?)
        2. Try turning on the hard disk features in laptop-mode-tools
           one by one and see whether suspend/resume works. (Should
           I create a workload environment?)
Would that be what you want?

It could -- but you would have to purge the acpi-support package, and then install the old acpi-support package, that doesn't include the fix for this bug. Alternatively, you could use your normal system and:

1. Backup /etc/laptop-mode and /etc/acpi (remember to use cp -a for that, so that the attributes are remembered. :-) ).
2. Purge the acpi-support package, to get rid of all config files.
3. Install acpi-support 0.103-5.
4. Check that suspend and hibernate still break.
5. Turn off options in laptop-mode.conf one by one until it works.
6. Tell me what the last option was that you turned off.
7. Go back to your current config and be happy. :-)

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to