You are not logged in.
Pages: 1
Lenovo G780 - Kernel 4.0.5-1
My laptop seems to be ignoring lid close events. I can suspend manually with no problem.
# journalctl -b -u systemd-logind
Jun 12 21:30:49 bean-laptop systemd-logind[343]: Lid closed.
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: pci_bus 0000:02: Allocating resources
Jun 12 21:30:49 bean-laptop kernel: pci_bus 0000:03: Allocating resources
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flagsJun 12 21:30:49 bean-laptop systemd-logind[343]: Lid closed.
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: pci_bus 0000:02: Allocating resources
Jun 12 21:30:49 bean-laptop kernel: pci_bus 0000:03: Allocating resources
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: pci_bus 0000:01: Allocating resources
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:55 bean-laptop kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
Jun 12 21:30:55 bean-laptop kernel: ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
Jun 12 21:30:55 bean-laptop kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
Jun 12 21:31:01 bean-laptop systemd-logind[343]: Lid opened.
0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: pci_bus 0000:01: Allocating resources
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:49 bean-laptop kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Jun 12 21:30:55 bean-laptop kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
Jun 12 21:30:55 bean-laptop kernel: ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
Jun 12 21:30:55 bean-laptop kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
Jun 12 21:31:01 bean-laptop systemd-logind[343]: Lid opened.Any advice is greatly appreciated.
Offline
Did you set anything up so that the laptop will react to lid close events? If not, do that first ![]()
Offline
Post the content of /etc/systemd/logind.conf
Jin, Jîyan, Azadî
Offline
Thanks for the help, guys.
I am using GNOME and by default it suspends on laptop lid close. Setting confirmed in tweak tool. My logind.conf is untouched.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yesUncommenting HandleLidSwitch=suspend has no effect.
Offline
Uncommenting HandleLidSwitch=suspend has no effect.
The commented-out lines represent the default settings.
Does it work if you use the LTS kernel instead?
Jin, Jîyan, Azadî
Offline
Does it work if you use the LTS kernel instead?
Strange, I totally expected this to work. Unfortunately no, it makes no difference.
I can suspend on lid close using other distros/OS.
Offline
I can suspend on lid close using other distros/OS.
Are these other distributions using any kernel parameters you can try on your Arch system?
Check with:
cat /proc/cmdlineJin, Jîyan, Azadî
Offline
Does
systemctl suspend
Work?
Edit: didn't read your first post wery well.
Last edited by ugjka (2015-06-15 08:06:29)
Offline
Are these other distributions using any kernel parameters you can try on your Arch system?
No unusual parameters, all default. My current parameters are also as suggested by the wiki (root=xxx rw initrd=xxx)
Thanks for the help, sincerely. I might just do a full system wipe. Arch has always suspended and woken with the lid so beautifully on this machine.
Offline
Pages: 1