Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-28 Thread Andriy Gapon
On 27/01/2015 19:47, Konstantin Belousov wrote: On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote: +EVENTHANDLER_INVOKE(power_suspend_early); +stop_all_proc(); It also makes sense to call syncer_suspend() after stop_all_proc(), I suppose. It would ensure that a failed

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-28 Thread Andriy Gapon
On 28/01/2015 00:36, Ivan Klymenko wrote: acpiconf -s 3 works perfectly, but there is one problem. I use not the main timecounter kern.timecounter.hardware=HPET after turning on the power button does not occur laptop recovery hdac0 and it is likely that the same applies to the timer.

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-28 Thread Konstantin Belousov
On Wed, Jan 28, 2015 at 03:53:34PM +0200, Andriy Gapon wrote: On 27/01/2015 19:47, Konstantin Belousov wrote: On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote: +EVENTHANDLER_INVOKE(power_suspend_early); +stop_all_proc(); It also makes sense to call syncer_suspend()

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-27 Thread Ivan Klymenko
В Tue, 27 Jan 2015 17:33:19 + (UTC) Andriy Gapon a...@freebsd.org пишет: Author: avg Date: Tue Jan 27 17:33:18 2015 New Revision: 277796 URL: https://svnweb.freebsd.org/changeset/base/277796 Log: hook userland threads suspend + resume into acpi suspend code Also, split

svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-27 Thread Andriy Gapon
Author: avg Date: Tue Jan 27 17:33:18 2015 New Revision: 277796 URL: https://svnweb.freebsd.org/changeset/base/277796 Log: hook userland threads suspend + resume into acpi suspend code Also, split power_suspend into power_suspend and power_suspend_early. power_suspend_early is called

Re: svn commit: r277796 - in head/sys: dev/acpica dev/syscons dev/vt sys

2015-01-27 Thread Konstantin Belousov
On Tue, Jan 27, 2015 at 05:33:19PM +, Andriy Gapon wrote: Author: avg Date: Tue Jan 27 17:33:18 2015 New Revision: 277796 URL: https://svnweb.freebsd.org/changeset/base/277796 Log: hook userland threads suspend + resume into acpi suspend code Also, split power_suspend into