Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

2018-03-16 Thread George B.
Package: systemd
Version: 238-2
Followup-For: Bug #807041

Actuall, having said that, I have found
https://github.com/systemd/systemd/issues/786 and my new laptop does
have Nvidia with closed source driver so this would explain it.

Will dig up my old laptop and test again with that...


George

___
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers


Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

2015-12-08 Thread Michael Biebl
Am 08.12.2015 um 00:30 schrieb George B.:
> On 04/12/15 14:39, Michael Biebl wrote:
>>
>> Can you attach the output of (as root)
>> journalctl -u systemd-logind
>>
>> and mark the time when the auto-suspend happens.
> 
> ```
> -- Logs begin at Mon 2015-12-07 14:25:13 GMT, end at Mon 2015-12-07
> 23:26:59 GMT. --
> Dec 07 14:25:15 deli systemd[1]: Starting Login Service...
> Dec 07 14:25:15 deli systemd-logind[920]: New seat seat0.
> Dec 07 14:25:15 deli systemd[1]: Started Login Service.
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event9 (Power Button)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event10 (Video Bus)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event7 (Power Button)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event6 (Lid Switch)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event8 (Sleep Button)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event14 (Dell WMI hotkeys)
> Dec 07 14:25:26 deli systemd-logind[920]: New session 1 of user borisov.
> Dec 07 19:37:36 deli systemd-logind[920]: Suspending...
> Dec 07 23:26:28 deli systemd-logind[920]: Operation 'sleep' finished.
> ```
> 
> The "Suspending" message would be around the time that the suspend
> happened (~15 minutes after I left it alone).

Have you set IdleAction= and IdleActionSec= in /etc/systemd/logind.conf?

If not, this looks like the suspend request is triggered externally and
logind simply executes the action.

Do you have a tool like xfce4-power-manager, mate-power-manager,
lxqt-powermanagement etc installed?

Does systemd-inhibit list anything?

Can you run dbus-monitor --system (as root) and check if you get any
dbus messages for org.freedesktop.login1 at the time the suspend happens.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

___
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers


Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

2015-12-08 Thread George B.

On 08/12/15 14:52, Michael Biebl wrote:


Have you set IdleAction= and IdleActionSec= in /etc/systemd/logind.conf?

If not, this looks like the suspend request is triggered externally and
logind simply executes the action.


No, my logind.conf is the Debian default with all the options commented out.


Do you have a tool like xfce4-power-manager, mate-power-manager,
lxqt-powermanagement etc installed?


Not that I can find:

```
$ dpkg -l | awk '{print $2}' | grep power
powermgmt-base
powertop
ruby-power-assert
```


Does systemd-inhibit list anything?


```
$ systemd-inhibit
 Who: NetworkManager (UID 0/root, PID 935/NetworkManager)
What: sleep
 Why: NetworkManager needs to turn off networks
Mode: delay

1 inhibitors listed.
```


Can you run dbus-monitor --system (as root) and check if you get any
dbus messages for org.freedesktop.login1 at the time the suspend happens.


This is the first sleep-related thing - happens about 15 minutes of idle:

```
signal time=1449602082.422699 sender=:1.1 -> destination=(null destination) 
serial=264 path=/org/freedesktop/login1; interface=org.freedesktop.login1.Manager; 
member=PrepareForSleep
   boolean true
signal time=1449602082.423998 sender=:1.1 -> destination=(null destination) 
serial=265 path=/org/freedesktop/login1; 
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "org.freedesktop.login1.Manager"
   array [
  dict entry(
 string "DelayInhibited"
 variant string "sleep"
  )
   ]
   array [
   ]
method call time=1449602082.424179 sender=:1.1 -> 
destination=org.freedesktop.systemd1 serial=266 path=/org/freedesktop/systemd1; 
interface=org.freedesktop.systemd1.Manager; member=StartUnit
   string "suspend.target"
   string "replace-irreversibly"
```


Best regards,

George

___
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers


Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

2015-12-07 Thread George B.

On 04/12/15 14:39, Michael Biebl wrote:


Can you attach the output of (as root)
journalctl -u systemd-logind

and mark the time when the auto-suspend happens.


```
-- Logs begin at Mon 2015-12-07 14:25:13 GMT, end at Mon 2015-12-07 23:26:59 
GMT. --
Dec 07 14:25:15 deli systemd[1]: Starting Login Service...
Dec 07 14:25:15 deli systemd-logind[920]: New seat seat0.
Dec 07 14:25:15 deli systemd[1]: Started Login Service.
Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on 
/dev/input/event9 (Power Button)
Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on 
/dev/input/event10 (Video Bus)
Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on 
/dev/input/event7 (Power Button)
Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on 
/dev/input/event6 (Lid Switch)
Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on 
/dev/input/event8 (Sleep Button)
Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on 
/dev/input/event14 (Dell WMI hotkeys)
Dec 07 14:25:26 deli systemd-logind[920]: New session 1 of user borisov.
Dec 07 19:37:36 deli systemd-logind[920]: Suspending...
Dec 07 23:26:28 deli systemd-logind[920]: Operation 'sleep' finished.
```

The "Suspending" message would be around the time that the suspend happened 
(~15 minutes after I left it alone).


Best regards,

George

___
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers


Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

2015-12-04 Thread George B.
On Friday, 4 December 2015, Michael Biebl  wrote:
>
>
> Do you use a graphical desktop environment, if so which one?


I use the Awesome WM, started from console - I don't think that counts as a
DE?


> Can you attach the output of (as root)
> journalctl -u systemd-logind
>
> and mark the time when the auto-suspend happens.
>

Will do when I'm back at my desk on after the weekend.


Best regards,

George
___
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

2015-12-04 Thread Michael Biebl
Am 04.12.2015 um 13:44 schrieb George B.:
> Package: systemd
> Version: 228-2
> Severity: important
> 
> Hello,
> 
> As of a few weeks ago (after an update) my laptop started auto-suspending 
> after a period
> of inactivity. I assume this is logind related because I couldn't find
> anything else on my system with the capability.

Do you use a graphical desktop environment, if so which one?

Can you attach the output of (as root)
journalctl -u systemd-logind

and mark the time when the auto-suspend happens.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature
___
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers