suspends after a few minutes on machines with a bogus (closed) lid switch
Bug #1438301 reported by
Colin Ian King
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Low
|
Unassigned | ||
Vivid |
Won't Fix
|
Low
|
Unassigned |
Bug Description
On a desktop machine which claims to have a closed lid (on the motherboard), but doesn't actually have a lid, logind will suspend the machine shortly after boot as a safety measure to avoid burning your laptop in a bag. This is wrong in the above situation where the announced lid switch does not exist or isn't actually closed.
Workaround: Set HandleLidSwitch
Changed in systemd (Ubuntu): | |
importance: | Undecided → Critical |
Changed in systemd (Ubuntu): | |
assignee: | Martin Pitt (pitti) → nobody |
tags: | added: vivid |
To post a comment you must log in.
The log shows that something requests the suspend over D-Bus. The most probable candidate for this is logind. After this happens, can you please copy&paste the output of "journalctl -f -b -u systemd-logind" here? That should show key presses and which buttons it listens to.
To confirm that it's logind, could you check if that stops happening if you set HandleLidSwitch =ignore in /etc/systemd/ logind. conf and then reboot? There's a chance that it isn't actually logind as we use the exact same logind and lid switch handling under upstart, just that we replace the actual suspend D-Bus interface with systemd-shim.
Thanks!