F20: what connects the lid switch to triggering suspend?

Tomasz Torcz tomek at pipebreaker.pl
Fri Mar 14 16:41:30 UTC 2014


On Fri, Mar 14, 2014 at 11:38:31AM -0500, Dan Williams wrote:
> > 
> > The lid switch is exposed as input device in Linux. logind opens that
> > device and reacts on it. However it gives DEs the chance to inhibit
> > this if they desire so. Gnome at least doesn't inhibit it perminantly
> > though, but some components might delay suspends, for example Telepathy
> > to log you out of your Jabber server...
> > 
> > Normally when you close the lid logind should log something about "Lid
> > closed" or so... Look around the logs around this to figure out what
> > mightbe going on.
> 
> I've run into this too, is there a quick command to get the list of
> offending suspend inhibitors so we can debug further?

  systemd-inhibit --list

-- 
Tomasz Torcz               RIP is irrevelant. Spoofing is futile.
xmpp: zdzichubg at chrome.pl     Your routes will be aggreggated. -- Alex Yuriev



More information about the devel mailing list