From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: RE: Gateway 200X (again) - No power button events Date: Tue, 20 Jan 2004 12:17:14 -0800 (PST) Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040120121701.S97309@root.org> References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Grover, Andrew" Cc: Greg Sarjeant , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, 20 Jan 2004, Grover, Andrew wrote: > > From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of > > Nate Lawson > > On Mon, 19 Jan 2004, Greg Sarjeant wrote: > > > So, it looks like it is specified in the DSDT. I'm not sure > > why I don't > > > get an event when I press the button. I do get events from the sleep > > > button, but the two are declared somewhat differently. Here > > > You have no _STA method for PWRB. On FreeBSD, we say hw is > > always present > > if there is no _STA method. If it is present, it must return > > the proper > > flags for the hw to be used. Perhaps Linux always thinks > > it's not present > > if _STA is not there. Note that SLPB returns the proper _STA result. > > The ACPI spec in fact says that the absence of _STA implies the device > is present and functioning. Linux has code for this case, which I am > assuming (?) works. Ok, sorry for the misdirection. -Nate ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn