:: Re: [DNG] Preventing suspend when l…
Página Inicial
Delete this message
Reply to this message
Autor: al3xu5
Data:  
Para: dng
Assunto: Re: [DNG] Preventing suspend when lid closed on /server/ edition od Devuan Daedalus amd64
Mon, 13 Nov 2023 10:13:09 +0200 - Lars Noodén via Dng <dng@???>:

> Hello,
>
> I've moved some systems around and now have the server edition¹ of
> Daedalus on a notebook with a very broken hinge. No desktop environment
> or desktop components were installed, that I know of: During the
> installation, I've added only "SSH server" and "standard system
> utilities" from tasksel. Other components (Git, Rsync, SQLite3, etc)
> have been added by hand. Yet this system suspends when I close the lid.
> At that point it can only be reawakened by tapping the power button on
> the device itself.
>
> Ideally the screen should still blank and go dark when the lid is
> closed. The main requirement is that the system not suspend. I presume
> this is some kind of power management misconfiguration.
>
> What should I look for to prevent the system from suspending when the
> lid gets closed?
>
> Thanks,
> Lars
>
> ¹ devuan_daedalus_5.0.1_amd64_server.iso


Not sure it could work, but try to check the `HandleLidSwitch=` setting in
`/etc/elogind/logind.conf`... Should be `HandleLidSwitch=ignore`

Regards
alexus


--
Property is theft! (P-J Proudhon) -- True today more than ever.
______________________________________________________________________

Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B