Re: dev.acpi_lid.0.state remains 1 when lid is closed after suspending/resuming once

From: Steven Harms (High-Security Mail) <sgharms_at_stevengharms.com>
Date: Wed, 21 May 2025 18:36:02 UTC
On Wednesday, May 21st, 2025 at 10:24 AM, Renato Botelho <garga@FreeBSD.org> wrote:

> I've found an interesting bug after I installed FreeBSD 15.0-CURRENT on
> my Lenovo ThinkPad E14.
> 
> lid state sysctl is updated as expected when I close/open lid after a
> fresh boot, but after suspending and resuming it once using acpiconf -s
> 3 the sysctl remains with value 1 until next boot.
> 
> I've created a Bugzilla ticket [1] with details case anyone with ACPI
> knowledge is interested. I can help collecting any needed data and
> testing possible patches.
> 
> Thanks!
> 
> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286974
> --
> Renato Botelho

Does this laptop use the i915kms drm driver? If so, you might be a member of my club.


https://github.com/freebsd/drm-kmod/pull/344

Steven