Re: [arch-dev-public] systemd 209 in [testing]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
...



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux