Re: Debugging random suspend?

2017-01-06 Thread Roberto Ragusa
On 01/04/2017 06:55 AM, John Reiser wrote:

> One of the causes of Suspend is the hardware generating the signal for
> "the laptop lid has been closed."  Look at the boot messages ("dmesg"
> or "journalctl -b") for info on the power switch, the lid switch, etc.
> 

Or low battery level.
If the battery is incorrectly reported at 1% or 0% for an instant, suspend 
could be triggered.

-- 
   Roberto Ragusamail at robertoragusa.it
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Debugging random suspend?

2017-01-03 Thread John Reiser

On 01/03/2017 08:47 PM, Andrew Lutomirski wrote:

My laptop occasionally randomly suspends itself.  When this happens,
it seems to happen quite a few times in a row, several seconds apart.
The journal has this to say:

Jan 03 20:44:25 ... systemd-logind[1106]: Suspending...

So *why* is logind suspending?  It's happened five or six times while
I've been typing this email, and it's getting old.


One of the causes of Suspend is the hardware generating the signal for
"the laptop lid has been closed."  Look at the boot messages ("dmesg"
or "journalctl -b") for info on the power switch, the lid switch, etc.

--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Debugging random suspend?

2017-01-03 Thread Andrew Lutomirski
My laptop occasionally randomly suspends itself.  When this happens,
it seems to happen quite a few times in a row, several seconds apart.
The journal has this to say:

Jan 03 20:44:25 ... systemd-logind[1106]: Suspending...

So *why* is logind suspending?  It's happened five or six times while
I've been typing this email, and it's getting old.

Also, there's a security bug here.  The actual suspend sequence appears to be:

1. Screen blanks
2. Fedora splash screen appears
3. A couple seconds later, sleep

If I manage to type my whole password between 2 and 3, the system will
subsequently resume unlocked.  Ouch.  The system should resume locked
*regardless of pre-suspend state*.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org