Skip to contentSkip to conversation

"Working" S1, broken S3

DISCUSSION Matthew Garrett 2 participants 2 messages Sep 10, 2002 – Sep 15, 2002 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using a 2.5.32 kernel with the 08-29 ACPI code on an IBM Thinkpad 240X. I've had to modify the DSDT slightly in order to get ACPI functionality (just adding a \ to a couple of scope statements), but I'm still not having much luck with sleeping.

echo 1 >/proc/acpi/sleep results in the screen either blanking or being replaced with rolling black and white stripes, but the backlight remains on and the hard drive doesn't spin down. Pressing the power button resumes the system.

echo 3 >/proc/acpi/sleep results in the screen blanking and the backlight switching off. The power light remains on (according to the system docs, the power light should go off and the sleep light illuminate at this point), as does the hard drive. The power, sleep and lid buttons all fail to do anything to the state of the system unless the power button is held down for 4 seconds at which point it switches off. As far as I can tell, the kernel successfully writes the values that the DSDT specifies for S3 and then sets SLP_EN, so everything is working up until that point. I get the same behaviour with as minimal a kernel as will boot single user. What sort of thing should I be looking for in an attempt to debug this?

Signature · 7 lines
Matthew Garrett | [email protected]


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi!

Quoted 4 lines

echo 1 >/proc/acpi/sleep results in the screen either blanking or being replaced with rolling black and white stripes, but the backlight remains on and the hard drive doesn't spin down. Pressing the power button resumes the system.

This looks more or less okay.

Quoted 10 lines

echo 3 >/proc/acpi/sleep results in the screen blanking and the backlight switching off. The power light remains on (according to the system docs, the power light should go off and the sleep light illuminate at this point), as does the hard drive. The power, sleep and lid buttons all fail to do anything to the state of the system unless the power button is held down for 4 seconds at which point it switches off. As far as I can tell, the kernel successfully writes the values that the DSDT specifies for S3 and then sets SLP_EN, so everything is working up until that point. I get the same behaviour with as minimal a kernel as will boot single user. What sort of thing should I be looking for in an attempt to debug this?

Look carefully around SLP_EN... Maybe something should be slightly tweaked around that?

I don't know. Going S3 was always easy on my machines. Getting out of S3 is the hard task...[Well, getting out of S3 with all data on expected places ;-)]
Pavel

Signature · 9 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf