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) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"