Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2026 21:13:05 +0200
From:      Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
To:        freebsd-desktop@freebsd.org
Subject:   Re: Resume from Suspend when triggered by Lid
Message-ID:  <609dbdd3-0d6c-463d-86a0-3c238acea213@shurik.kiev.ua>
In-Reply-To: <7fab23a7-723b-4857-a732-10238bf46d1f@benhutton.com.au>

index | next in thread | previous in thread | raw e-mail

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?609dbdd3-0d6c-463d-86a0-3c238acea213>