Date: Tue, 17 Mar 2026 07:25:38 +0800 From: Ben Hutton <ben@benhutton.com.au> To: freebsd-desktop@freebsd.org Subject: Re: Resume from Suspend when triggered by Lid Message-ID: <31566b59-107d-42e6-8cc9-a4f93238534d@benhutton.com.au> In-Reply-To: <609dbdd3-0d6c-463d-86a0-3c238acea213@shurik.kiev.ua> References: <7fab23a7-723b-4857-a732-10238bf46d1f@benhutton.com.au> <609dbdd3-0d6c-463d-86a0-3c238acea213@shurik.kiev.ua>
index | next in thread | previous in thread | raw e-mail
That fixes the issue. New issue is how do you get the system to lock the screen automatically on resume/suspend? On 3/17/26 03:13, Oleksandr Kryvulia wrote: > 16.03.26 09:29, Ben Hutton: >> Hi, >> >> I have a suspend/resume issue with KDE Plasma that appears on both my >> FreeBSD powered laptops. When I suspend by closing the lid and I >> resume by opening the lid the laptop will go back into suspend mode, >> usually shortly after the desktop has resumed. I usually have just >> enough time to enter my lock screen password before it goes back into >> suspend. I can resume again by pressing the power button and >> everything works as expected after that. >> >> The suspend on both laptops is triggered by KDE. I have it configured >> to go into sleep on closing the lid within the power management >> settings. I do not have it configured using sysctl. >> >> Note that when using Xfce and using the equivalent power management >> settings within the desktop environment it works as expected. >> >> My questions are, do I have this configured correctly or do I have to >> use the sysctl way of triggering suspend? Also why does it behave >> differently on KDE as opposed to Xfce? >> >> This issue has occurred over multiple versions of FreeBSD and KDE so >> I don't know what to detail about my system. One is with hybrid >> graphics and the other not. They are both Intel Thinkpads and 10 >> years difference in age. It's not a show stopper at present, just >> annoying. >> >> Any ideas on how I can debug this? > > I had this situation on my previous laptop too. To avoid this I > disabled suspend on lid close in the KDE settings, instead configuring > it via hw.acpi.lid_switch_state sysctl. >home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31566b59-107d-42e6-8cc9-a4f93238534d>
