public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
To: Andre Eisenbach <andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: ACPI issues - suspend-to-ram and processor speed
Date: Sat, 29 May 2004 13:45:12 +0200	[thread overview]
Message-ID: <20040529114512.GD25121@elf.ucw.cz> (raw)
In-Reply-To: <200405280536.50261.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>

Hi!

Can you get any data out of notebook? Like 8 leds on paralel port, pci
card decoding port 0x80 etc? [That's where soldering iron might be usefull].

> Stupid question of the evening:
> 
> It's 5am here and I've just spent about the whole night playing witch ACPI, 
> DSDTs etc...
> 
> The notebook I have can only resume from standby by pressing the power button. 
> Could it be, that when the power button is pressed, the system starts to wake 
> up, but the "power button event" is not intercepted by ACPI and passes 
> through to "the hardware", causing the notebook to shut down for
> good?

Improbable.

> I know thats in very rough laymans terms, but I hope it's enough for you guys 
> to tell me just how wrong I am ;).
> 
> Here's a rought flowchart of what's happening on my notebook (afer 6. is the 
> problem):
> 
> 1. echo 3 > proc/acpi/sleep
> 2. PM: Preparing system for suspend
> 3. Stopping tasks: ==================|
> 
> 4. --> Notebook enters standby. HD quiet, LCD off, fans off, On/Off LED pulses 
> slowly
> 
> 5. Press power button to wake notebok
> 
> 6. --> Notebook tries to leave standby. HD spins up, LCD light on but no text, 
> fans start...
> 7. --> Not even 1/2 second later, all off. Notebook is off. On/Off
> LED off

Easy. Insert infinite loop at begining of wakeup_start. If it hangs,
you know it reached wakeup_start, and fix wakeup code. If it does not,
we left hardware at "bad" (i.e. bios did not like it) state before
suspend, fix suspend code. (Turn off APIC etc). [This is where your
assembly skills come handy.]

> 8. Press power button again.
> 9. --> Normal boot...
> 
> Could it be that there's some magic power-off event queued up when you press 
> the button?

If ACPI event was queued, it would do clean shutdown; you'd notice
that.
								Pavel
PS: When stuck, try asking your black cat :-).

-- 
934a471f20d6580d5aad759bf0d97ddc


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  parent reply	other threads:[~2004-05-29 11:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18  9:13 ACPI issues - suspend-to-ram and processor speed Andre Eisenbach
     [not found] ` <200405180213.34603.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-20  9:17   ` Mathieu LESNIAK
     [not found]     ` <40AC77A7.10704-uEz9PMp7chasTnJN9+BGXg@public.gmane.org>
2004-05-20 17:52       ` Andre Eisenbach
     [not found]         ` <40ACF074.2090402-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-21  3:59           ` Len Brown
2004-05-23 12:29   ` Pavel Machek
     [not found]     ` <20040523122942.GH5215-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-05-28  8:17       ` Andre Eisenbach
     [not found]         ` <200405280117.51602.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-28  8:24           ` Pavel Machek
     [not found]             ` <20040528082426.GD1808-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-05-28  9:21               ` Andre Eisenbach
     [not found]                 ` <200405280221.52819.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-28  9:31                   ` Pavel Machek
     [not found]                     ` <20040528093102.GG1808-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-05-28 12:36                       ` Andre Eisenbach
     [not found]                         ` <200405280536.50261.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-29 11:45                           ` Pavel Machek [this message]
     [not found]                             ` <20040529114512.GD25121-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-05-31  4:00                               ` Andre Eisenbach
     [not found]                                 ` <200405302100.36915.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-05-31  8:47                                   ` Pavel Machek
2004-05-29 12:26                       ` Vibol Hou
     [not found]                         ` <40B8815F.4000406-LA8/tbxb0N8@public.gmane.org>
2004-05-29 12:49                           ` Pavel Machek
     [not found]                             ` <20040529124934.GA15685-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-05-29 20:16                               ` Cam
     [not found]                                 ` <40B8EF9F.6090405-Nk/s8sJ9yP7QXOPxS62xeg@public.gmane.org>
2004-06-01 12:36                                   ` Pavel Machek
2004-06-01 12:34                           ` 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=20040529114512.GD25121@elf.ucw.cz \
    --to=pavel-alswssmvlrq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andre-+hZUvIEKc2q1Z/+hSey0Gg@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