F20: what connects the lid switch to triggering suspend?

Dan Williams dcbw at redhat.com
Mon Mar 17 22:18:11 UTC 2014


On Fri, 2014-03-14 at 17:41 +0100, Tomasz Torcz wrote:
> 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

Thanks...

*drum roll*

The offending package was telepathy-mission-control.  Not really sure
why it cared about suspend/resume, since I didn't have any telepathy
services configured, and wasn't using it (or empathy or
gnome-accounts-service) for any online accounts.

Dan



More information about the devel mailing list