lid state stop changing after suspend/resume
- Reply: Renato Botelho : "Re: lid state stop changing after suspend/resume"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 May 2025 14:33:04 UTC
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. Thanks! -- Renato Botelho