public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Tippett <matthew.tippett-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Sleep Button Debounce
Date: Tue, 08 Jul 2003 07:44:35 -0400	[thread overview]
Message-ID: <3F0AAEA3.9080902@sympatico.ca> (raw)

Hello,

I have set up a script to put my system i8500 into sleep mode 1.

The main problem is that there is no way to find out if the button is 
being released or pressed within ACPI (aka closed/open on lid).

So as a result, when I suspend, and resume, I drop back into suspend as 
the SBTN event fires on release.

Any thoughts on doing this pure ACPI? (apart from a userland counting 
script).

Regards,

Matthew



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01

             reply	other threads:[~2003-07-08 11:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-08 11:44 Matthew Tippett [this message]
     [not found] ` <3F0AAEA3.9080902-rieW9WUcm8FFJ04o6PK0Fg@public.gmane.org>
2003-07-10 14:49   ` Sleep Button Debounce Sérgio Monteiro Basto

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=3F0AAEA3.9080902@sympatico.ca \
    --to=matthew.tippett-riew9wucm8ffj04o6pk0fg@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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