From: "Theo de Raadt" Subject: Re: gpiokeys: avoid repeated suspend on lid events To: Mark Kettenis Cc: "Kirill A. Korinsky" , tech@openbsd.org Date: Mon, 05 Oct 2026 14:08:44 -0600 Mark Kettenis wrote: > I'm not sure this is the right place to fix this. Although ACPI does > something similar in acpibtn(4). I wonder if it would it make sense > to check in request_sleep() instead? Maybe. Do you propose that acpi_apm.c should also have the same check? I suspect thinking about it that way may need to an even better proposal :)