From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ducrot Bruno Subject: Re: S5 Powerdown problem on TX150 servers Date: Tue, 16 Sep 2003 16:15:03 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030916141503.GU11391@poupinou.org> References: <200309160912.15060.adq_dvb@lidskialf.net> <200309161209.35760.adq_dvb@lidskialf.net> <20030916131922.GT11391@poupinou.org> <200309161450.19600.adq_dvb@lidskialf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200309161450.19600.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Andrew de Quincey Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, Sep 16, 2003 at 02:50:19PM +0100, Andrew de Quincey wrote: > > > Ok. But trouble: you have at first write the desired sleep type, > > then set SLP_EN. Not the two at the same time. > > Yup, its doing that as well. Heres a quick summary of what it does: > > Clears any wake status > Disable BM arbitration > > Get current value of PM1A control (and store two copies in variables > PM1AControl, PM1BControl) > > Clear SLP_EN and SLP_TYP fields in the above variables > Insert the SLP_TYP bits in each variable. > > Store PM1AControl into ACPI PM1A > Store PM1BControl into ACPI PM1B > > Insert the SLP_ENABLE bit in PM1AControl, PM1BControl > Flush the CPU cache > Store PM1AControl into ACPI PM1A > Store PM1BControl into ACPI PM1B > > At this point the machine should be in S5, but appears to be in S1. > > Prior to all this, it has called the _PTS and _GTS (if present) methods as it > should. > > > Should I try masking off the SLP_TYP bits when the second write to PM1A/PM1B > occurs? No. But, what contain the _S5 in the asl? What kind of southbridge you have? -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf