Public bug reported:

For a few weeks now (unfortunately, I don't know the kernel version in
which that changed) my laptop suspends randomly.

Googling leads me to suspect that ACPI lid events are sent under the
wrong conditions, as journalctl does not record any key presses that
might trigger the suspend:

$ journalctl -f -b -u systemd-logind
-- Logs begin at Fri 2018-01-19 07:53:56 CET. --
Jan 22 15:23:47  systemd-logind[1279]: Lid closed.
Jan 22 15:23:48  systemd-logind[1279]: Lid opened.
Jan 22 15:23:48  systemd-logind[1279]: Lid closed.
Jan 22 15:23:48  systemd-logind[1279]: Lid opened.
Jan 22 15:23:51  systemd-logind[1279]: Lid closed.
Jan 22 15:23:52  systemd-logind[1279]: Lid opened.
Jan 22 15:27:09  systemd-logind[1279]: Lid closed.
Jan 22 15:27:09  systemd-logind[1279]: Suspending...
Jan 22 15:27:09  systemd-logind[1279]: Lid opened.
Jan 22 15:27:21  systemd-logind[1279]: Operation 'sleep' finished.

FWIW, I *do* get this in the morning when I opened up my laptop:
Jan 19 07:53:56  kernel: ACPI: Lid Switch [LID]

But that's not happening at any time during the above systemd log lines.
That's got me to consider that maybe it is a systemd/logind issue after
all.

What can I send you to help with the investigation?

Thanks,
Jens

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2
ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13
Uname: Linux 4.13.0-26-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 22 15:34:17 2018
InstallationDate: Installed on 2017-08-04 (171 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: linux-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-hwe (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1744737

Title:
  Kernel probably sends bad ACPI events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1744737/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to