public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: "Charl P. Botha"
	<c.p.botha-ra0OqMccq8edIhEUFHOBvg@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Problems waking up from S3 (2.5.25-dj2)
Date: Mon, 29 Jul 2002 10:37:35 -0400	[thread overview]
Message-ID: <20020729143735.GA3691@nevyn.them.org> (raw)
In-Reply-To: <20020729142333.GA977-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

On Mon, Jul 29, 2002 at 04:23:33PM +0200, Pavel Machek wrote:
> Hi!
> 
> > I would like to make use of the S3 (suspend to ram) sleep state.  
> 
> Good.
> 
> > I've done
> > the prerequisite searching on lists and on google, but it's difficult to
> > find conclusive answers.  It _seems_ that S3 _could_ be working on 2.5
> > kernels, but it also seems that many people have had the problem of not
> > being able to trigger a wake-up from S3.
> 
> S3 works for me, somehow on Omnibook XE3. Works once on toshiba
> 4030cdt. Crashes but can be solved by not calling bios on desktop
> athlon.
> 
> > I have this same problem and would like to know what possible courses of
> > action there are.  I am experimenting with 2.5.25-dj2 (acpi-20020611
> > integrated) on a i845 laptop with Phoenix BIOS 4.0 release 6.  For the
> > moment, swsusp will not work on this laptop (due to the fact that the Radeon
> > has the switch to VT X freezing problem) so I'm looking at S3 as a temporary
> > alternative.
> 
> Perhaps it is easier to make swsusp working?
> 
> > The laptop goes to sleep nicely when I do "echo 3 > /proc/acpi/sleep".  It
> > ends up with the power led flashing (which, according to documentation,
> > should happen during S3) and everything quiet.  However, nothing I do then
> > can make it wake-up again: no amount of pressing keyboard keys, the power
> > button, the sleep button, etc. will result in any activity.  Eventually, I
> > have to keep the power button depressed for 4 seconds after which the laptop
> > actually switches off completely.
> > 
> > My question is this: Is S3 supposed to work with this kernel?  If so, how
> > can I configure it (perhaps build new ACPI tables?) so that the laptop will
> > wake-up from S3 sleep?
> 
> Yep.
> 
> > I saw this bit in hwsleep.c:
> >         /*
> >          * _PSW methods could be run here to enable wake-on keyboard, LAN, etc.
> >          */
> >         status = acpi_get_sleep_type_data (sleep_state,
> >                           &acpi_gbl_sleep_type_a, &acpi_gbl_sleep_type_b);
> > 
> > Which does look suspicious (in a good way) but I wouldn't know what to do
> > with it.
> 
> There's some line you might want to comment out... lets see...
> 
> Comment this out:
> 
>         status = acpi_hw_disable_non_wakeup_gpes();
>         if (ACPI_FAILURE (status)) {
>                 return_ACPI_STATUS (status);
>         }

With that change, my laptop doesn't even enter S3 any more - just locks up
with the screen and backlight still on.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

  parent reply	other threads:[~2002-07-29 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020720170919.GA9308@dutidad.twi.tudelft.nl>
     [not found] ` <20020720170919.GA9308-V1rPnKwUOrA59+mn7qD7y50iERQUc4G+@public.gmane.org>
2002-07-29 14:23   ` Problems waking up from S3 (2.5.25-dj2) Pavel Machek
     [not found]     ` <20020729142333.GA977-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2002-07-29 14:32       ` Charl P. Botha
2002-07-29 14:37       ` Daniel Jacobowitz [this message]
     [not found]         ` <20020729143735.GA3691-8IREb8QmQ68pkBQKrCC3VA@public.gmane.org>
2002-07-29 14:42           ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020729143735.GA3691@nevyn.them.org \
    --to=dan-8fiuurrzop0dnm+yrofe0a@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=c.p.botha-ra0OqMccq8edIhEUFHOBvg@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox