[ltp] Patch to reenable APM suspend on 2.6.1-rc1

Michael Hagemann linux-thinkpad@linux-thinkpad.org
Sun, 4 Jan 2004 21:16:23 +0100


On Sun, 04 Jan 2004 12:04:38 -0500 Charles Lepple wrote:

> I would be grateful to anyone who is willing to test this before I post it to 
> the LKML. If it doesn't work, including your ThinkPad model along with the 
> last few kernel messages ("dmesg | tail") would be helpful, along with a 
> description of what the LEDs are doing when you try to suspend.

It doesn't work on my ThinkPad 600E (2645-4A0):

unloading Kernel Card Services
drivers/input/serio/i8042.c: i8042_pm_callback(PM_SUSPEND)
drivers/input/serio/i8042.c: i8042_pm_callback(0x0) -> 0
hdc: start_power_step(step: 0)
hdc: completing PM request, suspend
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 52, err: 0)
hda: completing PM request, suspend
apm: suspend: Unable to enter requested state
hda: Wakeup request inited, waiting for !BSY...
hda: start_power_step(step: 1000)
hda: completing PM request, resume
hdc: Wakeup request inited, waiting for !BSY...
hdc: start_power_step(step: 1000)
hdc: completing PM request, resume
drivers/input/serio/i8042.c: i8042_pm_callback(PM_RESUME)

The behaviour of the leds and the screen is exactly as you described it.