public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* "Working" S1, broken S3
@ 2002-09-10 14:52 Matthew Garrett
       [not found] ` <20020910145243.GA7049-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Garrett @ 2002-09-10 14:52 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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?

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "Working" S1, broken S3
       [not found] ` <20020910145243.GA7049-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
@ 2002-09-15 18:12   ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2002-09-15 18:12 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi!

> 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.

> 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

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-15 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-10 14:52 "Working" S1, broken S3 Matthew Garrett
     [not found] ` <20020910145243.GA7049-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2002-09-15 18:12   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox