From owner-freebsd-acpi@FreeBSD.ORG Sat Apr 18 11:11:51 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 709A3106566C; Sat, 18 Apr 2009 11:11:51 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.43]) by mx1.freebsd.org (Postfix) with ESMTP id 28EE78FC17; Sat, 18 Apr 2009 11:11:50 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [62.143.132.243] (helo=localhost) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Lv8FT-0001YC-3L; Sat, 18 Apr 2009 12:58:15 +0200 Date: Sat, 18 Apr 2009 12:58:06 +0200 From: Fabian Keil To: Andriy Gapon Message-ID: <20090418125806.2a48b0a8@fabiankeil.de> In-Reply-To: <49E8AED0.1090008@freebsd.org> References: <49DB639A.4090504@icyb.net.ua> <49DCF5C2.60805@root.org> <49DDF906.8090400@icyb.net.ua> <49DF3CA4.1090309@freebsd.org> <49E4B2A7.3020302@freebsd.org> <49E61986.7040709@root.org> <49E8AED0.1090008@freebsd.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/2X_WvpGp6xY=9zIfG8MaHP="; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Df-Sender: 775067 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 Reply-To: freebsd-acpi@freebsd.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2009 11:11:51 -0000 --Sig_/2X_WvpGp6xY=9zIfG8MaHP= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Andriy Gapon wrote: > An updated version of the patch, the only difference is: do-while(0) is g= one, > breaks are replaces with gotos, indentation is reduced. >=20 > Per Nate's request I am calling for people with SMP systems to test if po= wering > off via power button still works with this change. It's desirable to test= power > off at least two times to increase a chance of non-BSP CPU being used. With an AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (2542.15-MHz K8-clas= s CPU) the first few shutdowns were successful, but on the fourth try pressing the power button only lead to: Apr 18 12:52:42 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 18 12:52:42 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 18 12:52:43 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 18 12:52:43 kendra kernel: acpi: request to enter state S5 failed (err = 6) Apr 18 12:52:43 kendra kernel: acpi: suspend request ignored (not ready yet) Apr 18 12:52:43 kendra kernel: acpi: request to enter state S5 failed (err = 6) [...] Fabian --Sig_/2X_WvpGp6xY=9zIfG8MaHP= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknpskYACgkQBYqIVf93VJ0FdgCghyZpKl5gVktJNbtOHEHcVfLd apkAn1VRq+9AYvLo2DgdLTCdMOQOb2FC =6NuZ -----END PGP SIGNATURE----- --Sig_/2X_WvpGp6xY=9zIfG8MaHP=--