From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Tippett Subject: Sleep Button Debounce Date: Tue, 08 Jul 2003 07:44:35 -0400 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <3F0AAEA3.9080902@sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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