Re: suspend/hibernate to work on thinkpad x60s?

From: Sanjoy Mahajan
Date: Thu Jul 13 2006 - 18:19:47 EST


I have S3 suspend/resume working here on a TP T60. Many caveats:

* I'm using Ubuntu's 2.6.15-25-386 kernel.
* it's a UP kernel so I'm not using the second core
* I had to tell it to unload and load ipw3945 (or else that module
became useless).
* I had to tell acpid to trigger /etc/acpi/sleep.sh (it was running
sleepbtn.sh) when fn-F4 was pressed, or just run sleep.sh directly.

Ubuntu's kernel probably has a bunch of patches to make SATA/AHCI work
and who knows what else. But it means that the DSDT etc. are at least
half decent (not always true with my earlier thinkpads).

I'm hoping that some debugging will get SMP suspend/resume working as
well. So far though I've not had any luck getting a 2.6.18-rc1 SMP
kernel to suspend (never mind resume). I did have to enable
hotpluggable CPU's to get past the 'write error' when echoing 'mem' to
/sys/power/state. Then I get lockdep errors and a failure to stop
tasks, which I reported to lkml and linux-acpi a few days ago.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
--Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/