From owner-freebsd-acpi@FreeBSD.ORG Wed Apr 15 16:11:32 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B313106566B; Wed, 15 Apr 2009 16:11:32 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 74F638FC08; Wed, 15 Apr 2009 16:11:31 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA21087; Wed, 15 Apr 2009 19:11:29 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <49E60731.8050402@freebsd.org> Date: Wed, 15 Apr 2009 19:11:29 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: Jung-uk Kim References: <49DB639A.4090504@icyb.net.ua> <200904141424.00943.jkim@FreeBSD.org> <49E5A200.6010306@freebsd.org> <200904151208.03822.jkim@FreeBSD.org> In-Reply-To: <200904151208.03822.jkim@FreeBSD.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: run resume code only for S1-S4 states X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 16:11:32 -0000 on 15/04/2009 19:08 Jung-uk Kim said the following: > Actually, my patch was more complex, e.g., I added more code to make > sure power/sleep button events get ignored and cleared when it is not > in S0 state, etc. Probably I needed to track the current state > because of it. I think you may ignore it for now if it is not needed > anywhere else. Interesting. I think that I will go with the current patch (modulo break->goto changes), if my mentors approve. But I would like to see your patch :-) -- Andriy Gapon