[arch-general] [arch-dev-public] systemd 209 in [testing]
Genes Lists
lists at sapience.com
Fri Feb 21 11:57:22 EST 2014
On 02/21/2014 11:40 AM, Genes Lists wrote:
> On 02/21/2014 11:30 AM, Thomas Bächler wrote:
>
>>>
>>> HandleLidSwitch=suspend
>>> LidSwitchIgnoreInhibited=no
>>
>> This means that logind will initiate a suspend on LID closed *except*
>> when something inhibits it - for example, KDE inhibits logind from
>> suspending.
>>
>
> Thanks I meant to put LidSwitchIgnoreInhibited=yes to prevent KDE
> from inhibiting it (so many negatives in there I get confused :)
>
> It sounds like KDE may not be doing it's job properly anymore for lid
> close -> suspend.
>
> I will confirm that if I give the job back to systemd-logind whether
> it suspends correctly on lid close and then report back here.
>
> Thanks.
>
> gene
>
Reporting back - below still didn't sleep the laptop.
I changed logind.conf to have
HandleLidSwitch=suspend
LidSwitchIgnoreInhibited=yes
Then did systemctl daemon-reload
Then closed lid - nothing happened - no suspend. The journal logs this:
Feb 21 11:54:24 lap3.prv.sapience.com systemd-logind[534]: Lid closed.
Feb 21 11:54:34 lap3.prv.sapience.com systemd-logind[534]: Lid opened.
Feb 21 11:54:34 lap3.prv.sapience.com kernel: i915 0000:00:02.0: BAR 6:
[??? 0x00000000 flags 0x2] has bogus alignment
Feb 21 11:54:34 lap3.prv.sapience.com kernel: pci 0000:00:00.0: no
hotplug settings from platform
Feb 21 11:54:34 lap3.prv.sapience.com kernel: pci 0000:00:00.0: using
default PCI settings
Feb 21 11:54:34 lap3.prv.sapience.com kernel: i915 0000:00:02.0: no
hotplug settings from platform
...
More information about the arch-general
mailing list