public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Stefan Dösinger" <stefandoesinger-RbZlAiThDcE@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Hadmut Danisch <hadmut-kdZ+H/N/Ve2ELgA04lAiVw@public.gmane.org>
Subject: Re: Button problems
Date: Sun, 10 Apr 2005 11:30:30 +0000	[thread overview]
Message-ID: <200504101130.30497.stefandoesinger@gmx.at> (raw)
In-Reply-To: <20050409221927.GA28709-kdZ+H/N/Ve2ELgA04lAiVw@public.gmane.org>


> - HP nx7000:
>
>   suspend to ram works. To wake the computer up I have to
>   press the main power button. The computer wakes up. But as
>   soon as everything is restored the ACPI routines detect
>   that the power button had been pressed (the one to wake it up) and
>   act as if the power button was pressed: The linux is shut down
>   (halt), which is obviously not what was expected.
You have to edit your acpid scripts(the one which handle the power button and 
the sleep button)
Method A is to disable any actions done on power button events. Method B is to 
create some marker in the suspend script, e.g. a file in /tmp or /dev/shm, 
before suspend. The power button handler checks for this file. If it's there 
it delets it, otherwise it shuts down the system

>
> - MSI S260:
>
>   The S260 has three buttons: Power button, Lid button, and
>   Sleep button (Fn+F12 "Zz"). /proc/acpi/button says that
>   all three buttons are recognized under ACPI. Power and Lid work,
>   but when the sleep button is pressed just nothing happens.
>   No log entry, no event, the acpid does not even wake up.
>
>   Any idea?  (under WindowsXP it works...)
No Idea here. Sorry. Broken DSDT?

Stefan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

      parent reply	other threads:[~2005-04-10 11:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-09 22:19 Button problems Hadmut Danisch
     [not found] ` <20050409221927.GA28709-kdZ+H/N/Ve2ELgA04lAiVw@public.gmane.org>
2005-04-10 11:30   ` Stefan Dösinger [this message]

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=200504101130.30497.stefandoesinger@gmx.at \
    --to=stefandoesinger-rbzlaithdce@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=hadmut-kdZ+H/N/Ve2ELgA04lAiVw@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