From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 10 20:54:20 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B73B16A4CE for ; Fri, 10 Dec 2004 20:54:20 +0000 (GMT) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE99C43D64 for ; Fri, 10 Dec 2004 20:54:19 +0000 (GMT) (envelope-from q@uni.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id F290DD45A4; Fri, 10 Dec 2004 21:54:18 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id D5AC1AB4A5; Fri, 10 Dec 2004 21:54:18 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id B55E7AB3D0; Fri, 10 Dec 2004 21:54:18 +0100 (CET) Received: from coyote.q.local (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 78857D45A4; Fri, 10 Dec 2004 21:54:18 +0100 (CET) Received: from igor.q.local (igor.q.local [192.168.0.147]) by coyote.q.local (8.13.1/8.13.1) with ESMTP id iBAKsIBm015021; Fri, 10 Dec 2004 21:54:18 +0100 (CET) (envelope-from q@uni.de) Received: from igor.q.local (localhost.q.local [127.0.0.1]) by igor.q.local (8.13.1/8.13.1) with ESMTP id iBAKsHb7001826; Fri, 10 Dec 2004 21:54:18 +0100 (CET) (envelope-from q@uni.de) Received: (from q@localhost) by igor.q.local (8.13.1/8.13.1/Submit) id iBAKsHKU001825; Fri, 10 Dec 2004 21:54:17 +0100 (CET) (envelope-from q@uni.de) Date: Fri, 10 Dec 2004 21:54:17 +0100 From: Ulrich Spoerlein To: Nate Lawson Message-ID: <20041210205417.GB768@galgenberg.net> References: <41B4E577.9060502@root.org> <41B50754.10604@centtech.com> <41B50C12.6070103@root.org> <20041208095845.GA896@galgenberg.net> <41B76AF2.3040204@root.org> <20041210180446.GA768@galgenberg.net> <41B9EE4E.8030703@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline In-Reply-To: <41B9EE4E.8030703@root.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) cc: acpi@FreeBSD.org Subject: Re: suspend/resume improved? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 20:54:20 -0000 --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 10.12.2004 at 10:43:26 -0800, Nate Lawson wrote: > >Line 444 is the culprit: > > ACPI_FLUSH_CPU_CACHE (); > > > > Status =3D AcpiHwRegisterWrite (ACPI_MTX_DO_NOT_LOCK,=20 > > ACPI_REGISTER_PM1A_CONTROL, PM1AControl); > > if (ACPI_FAILURE (Status)) > > { > > return_ACPI_STATUS (Status); > > } > > > >Putting the loop before AcpiHwRegisterWrite will enter infinite loop, > >putting it after it -> Reset >=20 > Interesting. If you add a "DELAY(10000);" before the register write,=20 > does this help? A more likely issue is that we need to write pm1a/b at= =20 > the same time. Let me think about this and get you more info later. It "looks" like the delay does nothing, however I noticed that all three LEDs (num/scroll/caps lock) were lighting up for 1-2s. I then swapped pm1a and pm1b, but nothing changed. Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBugz5mArGtfDbn0QRAnmkAKDYew56rRIvIl7znhTzzMfUYUdC3QCfWiw9 MJljYO8XlDAQ4U/R4ZNzf+Y= =+TSK -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes--