On 19/05/25 11:33, Renato Botelho wrote:
Hello!
I have a ThinkPad E14 2nd gen and recenly installed FreeBSD 15-CURRENT
on it. I noticed a problem with lid state not changing and started to
collect more information about it. Here is what I got.
I changed hw.acpi.lid_switch_state to none so the laptop doesn't sleep
when I open/close the lid and after booting it I can see the sysctl
dev.acpi_lid.0.state changing to 0 and back to 1 when I close/open the
lid. It works just like it's expected.
Then I put the system to sleep using `acpiconf -s 3` and resumed it.
After that, dev.acpi_lid.0.state doesn't change anymore to 0 when I
close the lid, it keeps its value as 1 until the next boot.
I've updated BIOS to most recent version provided by Lenovo (1.64) and
configured sleep to the value `Linux S3` on BIOS setup utility.
Attached you can see a full dmesg output. If you need any other data
just let me know.
I've created a bugzilla ticket to track this and attached acpidump -dt
output.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286974
--
Renato Botelho