comparing these two journalctl logs, which cover the suspend and resume processes, taken with kde plasma 6.2 as the desktop environment:
from my machine, there are several things that stand out to me on the failed suspend log that aren’t present in the normal suspend log. I cut the logs just before they revealed the name of my wifi network
there’s this error:
fedora fprintd[4578]: Failed to install a sleep delay inhibitor: GDBus.Error:org.freedesktop.login1.OperationInProgress: The operation inhibition has been requested for is already running
This is where things start to go wrong.
fedora kernel: Wakeup pending. Abort CPU freeze
fedora kernel: Non-boot CPUs are not disabled
it seems that, fedora does not disable the processor to complete the sleep process. There is no indication in the logs, that this is caused by the USB mouse, even though it only happens when i click on both mouse buttons repeatedly, quickly and randomly, and simultaneously move the mouse quickly and randomly after clicking on sleep in kde plasma. Maybe the kernel is not completely ignoring mouse input? Because of the line that says, wakeup pending?
when resuming, this line:
fedora kernel: ACPI: PM: Restoring platform NVS memory
is missing from the failed suspend log probably because the processor was never turned off. and these lines are missing too:
fedora kernel: usb 3-4: reset high-speed USB device number 3 using xhci_hcd
fedora kernel: usb 1-3: reset high-speed USB device number 3 using xhci_hcd
probably because of the same reason. Device number 3 is the transceiver for my wireless mouse which is the microsoft wireless mobile mouse 1850.
in the failed suspend log the line that says
fedora kernel: PM: resume devices
appears twice. it seems the system tries to suspend twice.
I am running kernel version 6.10.12-200.fc40.x86_64 maybe I should post more of the logs after my system connects to wifi but I couldn’t see any other errors or anything of the sort so it seems the kernel works fine after resuming from the failed suspend but for some reason KDE doesn’t appear soon after resuming from the failed suspend