From: James Cook Subject: Re: [PATCH] Don't shut down after power button wakes To: Mark Kettenis Cc: tech@openbsd.org, deraadt@openbsd.org, cheloha@openbsd.org Date: Mon, 13 May 2024 01:56:56 +0000 >A ran into a similar issue while working on non-S3 suspend. I >initially used a timeout, but using a timestamp is simpler. But I >think this should use getuptime() instead of gettime(). I also don't >think we need this for non-ACPI code, so I reworked it a bit to keep >the changes restricted to the ACPI code. > >Does this still work for you? Yes, your patch fixes the problem for me, thanks. -- James