Re: dev.acpi_lid.0.state remains 1 when lid is closed after suspending/resuming once
Date: Thu, 22 May 2025 11:58:33 UTC
On 21/05/25 15:36, Steven Harms (High-Security Mail) wrote: > > 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 For the record, I've installed drm 6.8 here and it didn't change anything. It sounds like an ACPI issue for this hw model. dutra@ (cc'd) owns same laptop model and confirmed the issue is 100% reproducible on it as well. -- Renato Botelho