Date: Thu, 21 Feb 2013 12:10:33 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r246251 - head/sys/dev/acpica Message-ID: <20130221121033.GA83734@FreeBSD.org> In-Reply-To: <20130205072124.GA97885@FreeBSD.org> References: <201302021244.r12CiKgj046079@svn.freebsd.org> <20130202125122.GA4975@FreeBSD.org> <20130202151137.GA28366@FreeBSD.org> <510E3A9D.7040005@FreeBSD.org> <20130205072124.GA97885@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 05, 2013 at 07:21:24AM +0000, Alexey Dokuchaev wrote: > On Sun, Feb 03, 2013 at 12:23:25PM +0200, Andriy Gapon wrote: > > on 02/02/2013 17:11 Alexey Dokuchaev said the following: > > > On Sat, Feb 02, 2013 at 12:51:22PM +0000, Alexey Dokuchaev wrote: > > >> On Sat, Feb 02, 2013 at 12:44:20PM +0000, Andriy Gapon wrote: > > >>> New Revision: 246251 > > >>> URL: http://svnweb.freebsd.org/changeset/base/246251 > > >>> > > >>> Log: > > >>> acpi: clear power button status bit after waking up... > > >>> so that it is not confused for a new power off request. > > > > > > Andriy, it appears to me that ACPI code is substantially different between > > > 8-stable and head, so the patch cannot be applied as is. [...] > > > > P.S. logically the new block of code seems to belong to acpi_sleep_machdep() > > before intr_restore() call. > > OK, thanks, I will try to cook something up and report how would it go. I've hand-crafted the patch to 8-stable [1], it seems to act as intended, that is, I do see the "acpi0: cleared fixed power button status (was 1)" in dmesg(8), but somehow power button still does nothing after resume. Any advice how to debug this further? Thanks, ./danfe [1] http://193.124.210.26/acpi.diff (long comment trimmed, debug %u added)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130221121033.GA83734>