You are not logged in.

#1 2020-05-07 13:59:47

m0nsieurPsych0
Member
Registered: 2020-05-07
Posts: 2

[SOLVED]"systemctl suspend" shutdown instead of suspend - XPS 13 9350

Hi,

I've had this weird issue that started recently and I cannot pin point what is causing or started it.

Everytime that I close the lid or that I call "systemctl suspend" while unplugged the laptop shutdown, but if I'm plugged in the expected behavior occurs.

sudo journalctl --unit=systemd-logind --priority=debug --since "120 min ago"
May 07 08:18:28 Unknown systemd[1]: Starting Login Service...
May 07 08:18:28 Unknown systemd-logind[438]: New seat seat0.
May 07 08:18:28 Unknown systemd-logind[438]: Watching system buttons on /dev/input/event3 (Power Button)
May 07 08:18:28 Unknown systemd-logind[438]: Watching system buttons on /dev/input/event1 (Power Button)
May 07 08:18:28 Unknown systemd-logind[438]: Watching system buttons on /dev/input/event0 (Lid Switch)
May 07 08:18:28 Unknown systemd-logind[438]: Watching system buttons on /dev/input/event2 (Sleep Button)
May 07 08:18:28 Unknown systemd-logind[438]: Watching system buttons on /dev/input/event5 (Intel HID events)
May 07 08:18:28 Unknown systemd-logind[438]: Watching system buttons on /dev/input/event4 (AT Translated Set 2 keyboard)
May 07 08:18:29 Unknown systemd[1]: Started Login Service.
May 07 08:18:41 Unknown systemd-logind[438]: New session 1 of user psycho.
//plugged
May 07 08:19:43 Unknown systemd-logind[438]: Power key pressed. 
May 07 08:19:43 Unknown systemd-logind[438]: Suspending...
May 07 08:19:48 Unknown systemd-logind[438]: Operation 'sleep' finished.
May 07 08:20:11 Unknown systemd-logind[438]: Power key pressed.
May 07 08:20:11 Unknown systemd-logind[438]: Suspending...
May 07 08:20:18 Unknown systemd-logind[438]: Operation 'sleep' finished.
//unplugged
May 07 08:20:27 Unknown systemd-logind[438]: Power key pressed.
May 07 08:20:27 Unknown systemd-logind[438]: Suspending...
-- Reboot --

I've checked and tried different value in sleep.conf and logind.conf but it did not resolve the problem.

[psYcho@TeK]~>cat /etc/systemd/sleep.conf 
#  This file is part of systemd. 
# 
#  systemd is free software; you can redistribute it and/or modify it 
#  under the terms of the GNU Lesser General Public License as published by 
#  the Free Software Foundation; either version 2.1 of the License, or 
#  (at your option) any later version. 
# 
# Entries in this file show the compile time defaults. 
# You can change settings by editing this file. 
# Defaults can be restored by simply deleting this file. 
# 
# See systemd-sleep.conf(5) for details 
[Sleep] 
#AllowSuspend=yes 
#AllowHibernation=no 
#AllowSuspendThenHibernate=no 
#AllowHybridSleep=no 
#SuspendMode= 
#SuspendState=mem standby freeze 
#HibernateMode=platform shutdown 
#HibernateState=disk 
#HybridSleepMode=suspend platform shutdown 
#HybridSleepState=disk 
#HibernateDelaySec=180min 
[psYcho@TeK]~>cat /etc/systemd/logind.conf 
#  This file is part of systemd. 
# 
#  systemd is free software; you can redistribute it and/or modify it 
#  under the terms of the GNU Lesser General Public License as published by 
#  the Free Software Foundation; either version 2.1 of the License, or 
#  (at your option) any later version. 
# 
# Entries in this file show the compile time defaults. 
# You can change settings by editing this file. 
# Defaults can be restored by simply deleting this file. 
# 
# See logind.conf(5) for details. 
[Login]
#NAutoVTs=6 
#ReserveVT=6 
#KillUserProcesses=no 
#KillOnlyUsers= 
#KillExcludeUsers=root 
#InhibitDelayMaxSec=5 
HandlePowerKey=suspend 
HandleSuspendKey=suspend 
HandleHibernateKey=suspend 
HandleLidSwitch=suspend 
HandleLidSwitchExternalPower=suspend 
HandleLidSwitchDocked=suspend 
#PowerKeyIgnoreInhibited=no 
#SuspendKeyIgnoreInhibited=no 
#HibernateKeyIgnoreInhibited=no 
#LidSwitchIgnoreInhibited=yes 
#HoldoffTimeoutSec=30s 
#IdleAction=lock 
#IdleActionSec=8min 
#RuntimeDirectorySize=10% 
#RemoveIPC=yes 
#InhibitorsMax=8192 
#SessionsMax=8192 

I've tried different values for both as well as stock(commented out), but suspending always shutdown when on battery.

I also tried to disable any script or service that could affect this, but no change. I also tried rolling back to a previous Kernel and also switching from LTS to regular, but no difference here either.

[psYcho@TeK]~>uname -r 
5.4.38-1-lts 

The only other thing that I've detected is an ACPI error with dmesg, but I could not find anything related to this on the internet.

[psYcho@TeK]~>dmesg -k -H -L -T | grep "ACPI Error" 
[Thu May  7 09:50:21 2020] ACPI Error: Cannot release Mutex [PATM], not acquired (20190816/exmutex-357) 
[Thu May  7 09:50:21 2020] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_AML_MUTEX_NOT_ACQUIRED) (20190816/psparse-529) 

The thing that confuses me the most is

systemctl suspend

that shutdown the laptop.
Most other forum post had the expected behavious when manually calling suspend.

So yeah, something is very wrong here, I hope someone can assist me on this. thx!

Last edited by m0nsieurPsych0 (2020-05-13 19:51:53)

Offline

#2 2020-05-13 19:51:25

m0nsieurPsych0
Member
Registered: 2020-05-07
Posts: 2

Re: [SOLVED]"systemctl suspend" shutdown instead of suspend - XPS 13 9350

SOLVED by reflashing the BIOS with the same as the one that was already installed. Bios version 1.12.2.

Offline

Board footer

Powered by FluxBB