Autore: Brad Campbell Data: To: dng Oggetto: [DNG] Beowulf to Chimaera update breaks suspend on laptop
G'day,
I could use a bit of advice if anyone has the relevant experience.
My laptop is running Devuan Beowulf currently, but this suspend config goes back at least 10 years.
It suspends / hibernates using pm-utils with the uswsusp back-end onto a dmycrypted swap partition. The kernel is vanilla with a cut-down config and locally compiled.
This works flawlessly and has done since I set it up. The GUI is xfce4 and when I hit the power button xfce4-power-manager does all the right things (which is hit up pm-utils and get out of its way).
Last night I upgraded to Chimaera. This installed elogind and tries to use that to pull the relevant kernel levers to suspend. Unfortunately on my system, while it suspends most times, it comes back about 1 in 10 and then usually the nvme is broken and it dies in a ball of flames. I spent the best part of a day experimenting with the in-kernel suspend mechanisms and I can't seem to make it work, while the trusty old uswsusp userspace suspend/resume works first time every time.
So, I'm asking for either :
- Experience in making the in-kernel mechanisms work; or preferably
- How to remove elogind from an xfce4 Chimaera install and make xfce4-power-manager use pm-utils like it used to.
Does anyone have any ideas?
Thankfully I always backup the root partition before an upgrade, so a rollback to a working system was only a quick rsync away. I'd like to upgrade (and I've upgraded all my desktops) but working suspend is a not-negotiable on a laptop.