[Bug 1450009] Re: suspends on closed lid, does not recognized external monitors/dock

Martin Pitt martin.pitt at ubuntu.com
Tue Jun 2 09:08:09 UTC 2015


Background: logind has some "failsafe" logic to go to suspend after 30 s
if the lid is closed and there are no external monitors connected
(http://cgit.freedesktop.org/systemd/systemd/commit/?id=ed4ba7e4f65215).
This would lead to effects like this if the lid switch is broken and
always says "closed" (like in bug 1438301), and monitor detection fails
(like in this case - /sys/class/drm does not have multiple outputs).

So there are two things to fix here:

 - Investigate why on this system the lid switch always reports "closed"

 - Dial back the failsafe to not get engaged if the lid switch reports
"closed" right from the start when systemd boots. In that case it's
clearly broken, as "normal" laptops don't boot with the lid closed.

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

Title:
  suspends on closed lid, does not recognized external monitors/dock

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  Using systemd as init system on a HP zbook15 notebook having 2 external monitors connected using a docking station and starting with lid closed the system goes to sleep after successfully booting and starting lightdm greeter. Sometimes there's enough time to enter username and password but system goes to sleep every time after a few seconds.
  The system can be woken up and used after this happens but it will not let me shutdown later.

  The problem is just present in docked situation starting with closed
  lid using systemd a init system.

  If notebook is used in non-docked situation with open lid and systemd
  the problem does not occur.

  Workaround: A switch back to upstart as init system resolves the
  issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd-sysv 219-7ubuntu3
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  Date: Wed Apr 29 14:46:09 2015
  InstallationDate: Installed on 2015-04-27 (1 days ago)
  InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1450009/+subscriptions



More information about the foundations-bugs mailing list