Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: gpiokeys: avoid repeated suspend on lid events
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
"Kirill A. Korinsky" <kirill@korins.ky>, tech@openbsd.org
Date:
Mon, 05 Oct 2026 14:08:44 -0600

Download raw body.

Thread
Mark Kettenis <mark.kettenis@xs4all.nl> 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 :)