Re: [DNG] Beowulf to Chimaera update breaks suspend on laptop

2022-04-07 Thread Ralph Ronnquist
Fair enough; I remembered that I've also disabled "xfsettings" because
it kept waking up my second monitor after I shut the lid. I'm using
acpid to capture the lid button event, then invoking pm-suspend in the
handler script (after resetting the keyboard and screen locking).

Ralph.

On Fri, Apr 08, 2022 at 08:24:43AM +0800, Brad Campbell via Dng wrote:
> On 8/4/22 08:15, Ralph Ronnquist wrote:
> > 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.
> > 
> 
> G'day Ralph,
> 
> No, that didn't work. xfce4-power-manager had already taken over the 
> monitoring and management and I couldn't
> figure out how to stop it using elogind as the back-end even with all the 
> suspend/hibernate tasks disabled
> in elogind.
> 
> As pm-utils hasn't been updated in years, and xfce4 recently dropped support 
> for it entirely (removed the interface code)
> I figure I'm going to have to make elogind work at some point, so it might as 
> well be now.
> 
> Regards,
> Brad
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Beowulf to Chimaera update breaks suspend on laptop

2022-04-07 Thread Brad Campbell via Dng
On 8/4/22 08:15, Ralph Ronnquist wrote:
> 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.
> 

G'day Ralph,

No, that didn't work. xfce4-power-manager had already taken over the monitoring 
and management and I couldn't
figure out how to stop it using elogind as the back-end even with all the 
suspend/hibernate tasks disabled
in elogind.

As pm-utils hasn't been updated in years, and xfce4 recently dropped support 
for it entirely (removed the interface code)
I figure I'm going to have to make elogind work at some point, so it might as 
well be now.

Regards,
Brad
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Beowulf to Chimaera update breaks suspend on laptop

2022-04-07 Thread Ralph Ronnquist
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@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Beowulf to Chimaera update breaks suspend on laptop

2022-04-07 Thread Adrian Zaugg
Hi Brad

In der Nachricht vom Thursday, 7 April 2022 14:58:36 CEST schrieb Brad 
Campbell via Dng:
> So, I'm asking for either :
> - Experience in making the in-kernel mechanisms work; or preferably
Updating the BIOS of your Box to the newest version might help here.

Best regards, Adrian.

signature.asc
Description: This is a digitally signed message part.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] FreedomBox on Devuan

2022-04-07 Thread Adrian Zaugg
Hi

Has anyone tried to build a FreedomBox [1] image using freedom-maker on 
Devuan?

Regards, Adrian.

[1] https://freedombox.org/

signature.asc
Description: This is a digitally signed message part.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Beowulf to Chimaera update breaks suspend on laptop

2022-04-07 Thread Brad Campbell via Dng
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@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] 'safe browsing'

2022-04-07 Thread o1bigtenor via Dng
Greetings

mz googly is now pushing for her 'safe browsing' tool to be enabled.

Methinks this is quite a trojan horse.

What do those who really do know what they're doing (ie NOT me!!)
think of this initiative?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng