:: Re: [DNG] Beowulf to Chimaera updat…
Página Inicial
Delete this message
Reply to this message
Autor: Ralph Ronnquist
Data:  
Para: dng
Assunto: Re: [DNG] Beowulf to Chimaera update breaks suspend on laptop
afaik on chimaera xfce4 relies on elogind for handling "suspend on lid
close", and this is something you may disable by a slight edit of
/etc/elogind/logind.conf, to have the three assignments:
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

Hopefully that will let your previous suspend solution work.

Ralph.

On Thu, Apr 07, 2022 at 08:58:36PM +0800, Brad Campbell via Dng wrote:
> 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.
>
> Regards,
> Brad
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng