Re: F20: what connects the lid switch to triggering suspend?

2014-03-29 Thread Martin Langhoff
On Thu, Mar 13, 2014 at 8:45 PM, Lennart Poettering mzerq...@0pointer.dewrote: 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. Thanks -- this has worked and led me to a local service

Re: F20: what connects the lid switch to triggering suspend?

2014-03-18 Thread Dan Williams
On Tue, 2014-03-18 at 02:21 +0100, Lennart Poettering wrote: On Mon, 17.03.14 17:18, Dan Williams (d...@redhat.com) wrote: systemd-inhibit --list Thanks... *drum roll* The offending package was telepathy-mission-control. Not really sure why it cared about suspend/resume,

Re: F20: what connects the lid switch to triggering suspend?

2014-03-17 Thread Dan Williams
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

Re: F20: what connects the lid switch to triggering suspend?

2014-03-17 Thread Lennart Poettering
On Mon, 17.03.14 17:18, Dan Williams (d...@redhat.com) wrote: 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

Re: F20: what connects the lid switch to triggering suspend?

2014-03-14 Thread Dan Williams
On Fri, 2014-03-14 at 01:45 +0100, Lennart Poettering wrote: On Thu, 13.03.14 18:07, Martin Langhoff (martin.langh...@gmail.com) wrote: My Lenovo X220, running up-to-date F20 occasionally gets into a state where closing the laptop lid does not trigger suspend. I want to narrow down on

Re: F20: what connects the lid switch to triggering suspend?

2014-03-14 Thread Tomasz Torcz
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

Re: F20: what connects the lid switch to triggering suspend?

2014-03-14 Thread Martin Langhoff
On Fri, Mar 14, 2014 at 12:41 PM, Tomasz Torcz to...@pipebreaker.pl wrote: systemd-inhibit --list Fantastic info - Tomasz and Lennart. Thanks! m -- martin.langh...@gmail.com - ask interesting questions - don't get distracted with shiny stuff - working code first ~

F20: what connects the lid switch to triggering suspend?

2014-03-13 Thread Martin Langhoff
My Lenovo X220, running up-to-date F20 occasionally gets into a state where closing the laptop lid does not trigger suspend. I want to narrow down on the problem, but I'm slightly lost on how the signal is routed through the stack. udev-?- systemd-suspend - kernel ? thank you! m --

Re: F20: what connects the lid switch to triggering suspend?

2014-03-13 Thread Andrew Lutomirski
On Thu, Mar 13, 2014 at 3:07 PM, Martin Langhoff martin.langh...@gmail.com wrote: My Lenovo X220, running up-to-date F20 occasionally gets into a state where closing the laptop lid does not trigger suspend. I want to narrow down on the problem, but I'm slightly lost on how the signal is

Re: F20: what connects the lid switch to triggering suspend?

2014-03-13 Thread Martin Langhoff
On Thu, Mar 13, 2014 at 6:38 PM, Andrew Lutomirski l...@mit.edu wrote: I wonder whether this is related to the fact that, on most Lenovos, if you press the suspect button twice without waiting long enough, the second press is ignored. Seems unlikelye. I am very careful with double-presses,

Re: F20: what connects the lid switch to triggering suspend?

2014-03-13 Thread Samuel Sieb
On 03/13/2014 03:07 PM, Martin Langhoff wrote: My Lenovo X220, running up-to-date F20 occasionally gets into a state where closing the laptop lid does not trigger suspend. I want to narrow down on the problem, but I'm slightly lost on how the signal is routed through the stack. udev-?-

Re: F20: what connects the lid switch to triggering suspend?

2014-03-13 Thread Lennart Poettering
On Thu, 13.03.14 18:07, Martin Langhoff (martin.langh...@gmail.com) wrote: My Lenovo X220, running up-to-date F20 occasionally gets into a state where closing the laptop lid does not trigger suspend. I want to narrow down on the problem, but I'm slightly lost on how the signal is routed