From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Scott T. Smith" Subject: broken power button Date: Thu, 05 Feb 2004 18:55:58 -0800 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1076036158.4792.12.camel@tinny.home.foo> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" List-Id: linux-acpi@vger.kernel.org APM will let me suspend to RAM and restore, but the touchpad is broken the whole time. So I'm trying ACPI -- ACPI seems to suspend successfully, but it will not wake up. I have to unplug the battery and power supply for 10+ minutes to reset it. I think it's related to the power button. I notice that the power button does not generate any events via acpid (but if I close the lid, or press Fn-ESC, then I do see events). However, if I hold the power button down for 4 seconds, the machine does shut off immediately. (Holding it down for 4+ seconds while frozen does nothing). In tracing this further, I noticed that the ASL lists the button 'PWRB', while ACPI (via dmesg) lists the button 'PWRF'. I think (can someone clarify this?) that this is the difference between a "fixed hardware power button" and a "control method power button." I tried renaming all references to PWRB to PWRF and recompiling, but that did no good. I think (again, can someone clarify this?) that I need to set the PWR_BUTTON flag, but I don't know how to do that. There is a reference to SLP_BUTTON in the dsdt.asl file, but it's in a comment. Am I on the right track here? oh, specs: 2.6.2-rc2-mm1 (ACPI v20040116), Dell Lattitude X200 (P3M 800), patched DSDT to cope with battery issue. Scott ------------------------------------------------------- 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