I have installed Ubuntu on my Thinkpad x230 several years ago and it was working like magic out of the box. However with some update suspend stopped to work and I have not found a solution for quite long.
What has solved my problem was to disable some BIOS setting that was unnecessary for me anyway:
I want to rant how many different solutions you can find online to solve suspend problem that do not work:
-
Updating kernel to older or newer version. This actually sometimes help, but you never know if you are going to be lucky one.
-
Play around with
/etc/default/grub
(e.g.: https://forums.debian.net/viewtopic.php?f=7&t=150008) -
Play around with
/etc/default/acpi-support
. I have this file changed on my machine and I believe it does nothing. -
Play around with
/etc/systemd/logind.conf
-
Using airplane mode before suspend.
-
Disabling USB 3.0 in BIOS or some other random suggestions what to do in your BIOS. (e.g. https://bbs.archlinux.org/viewtopic.php?id=238928)
-
Playing around with variuos logging tools and etc (e.g. https://wiki.ubuntu.com/DebuggingKernelSuspend)
It is year 2022 and Linux still manages break suspend that works and gives no easy tools to find out how to solve your problem. I suspect there is some opportunity in hereā¦