You are not logged in.

#1 2024-09-29 07:23:08

Wallabam
Member
Registered: 2024-09-27
Posts: 10

[RESOLVED]My laptop will not wake after suspend

I use a Thinkpad E540 with gnome, at this point I decided to change the logind.conf to


HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

Even if I input "systemctl suspend" it won't wake, the screen turns black and wont turn on, not even a backlight.
If anyone could help me with this or at least link an article on exactly how to fix this, it would be incredibly appreciated, I feel like I've exhausted all of my resources and still can't find an answer.

system specs:
                  -`                     @archlinux
                 .o+`                    ---------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: 20C6008SUS (ThinkPad Edge E540)
              `+oooooo:                  Kernel: Linux 6.10.10-arch1-1
              -+oooooo+:                 Uptime: 20 mins
            `/:-:++oooo+:                Packages: 1027 (pacman), 3 (flatpak)
           `/++++/+++++++:               Shell: bash 5.2.32
          `/++++++++++++++:              Display (CMN15B4): 1366x768 @ 60 Hz in 16″ [Built-in]
         `/+++ooooooooooooo/`            DE: GNOME 47.0
        ./ooosssso++osssssso+`           WM: Mutter (X11)
       .oossssso-````/ossssss+`          WM Theme: Adwaita
      -osssssso.      :ssssssso.         Theme: Adwaita [GTK2/3/4]
     :osssssss/        osssso+++.        Icons: Adwaita [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Font: Cantarell (11pt) [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Cursor: Adwaita (24px)
`+sso+:-`                 `.-/+oso:     Terminal: GNOME Console 47.1
`++:.                           `-/+/    Terminal Font: Source Code Pro (10pt)
.`                                 `/    CPU: Intel(R) Core(TM) i5-4200M (4) @ 3.10 GHz
                                         GPU: Intel 4th Gen Core Processor Integrated Graphics Con]
                                         Memory: 1.82 GiB / 7.65 GiB (24%)
                                         Swap: 0 B / 3.82 GiB (0%)
                                         Disk (/): 15.21 GiB / 464.76 GiB (3%) - btrfs
                                         Battery (LNV-45N1): 100% [AC Connected]
                                         Locale: en_US.UTF-8

                                                                 
                                                                 
[@archlinux ~]$

Last edited by Wallabam (2024-10-05 09:23:26)

Offline

#2 2024-10-01 18:43:40

markmarkmark
Member
Registered: 2022-09-13
Posts: 4

Re: [RESOLVED]My laptop will not wake after suspend

Have you tried things recommended in a different thread with the same issue?

E.g. switching kernels, checking journalctl --list-boots and similar?

Offline

#3 2024-10-01 20:49:31

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

okay, i've tried everything and it still does not work, journalctl cant see where it suspended because i have to manually turn off my system with the power switch each time

Offline

#4 2024-10-01 20:55:36

markmarkmark
Member
Registered: 2022-09-13
Posts: 4

Re: [RESOLVED]My laptop will not wake after suspend

Wallabam wrote:

journalctl cant see where it suspended because i have to manually turn off my system with the power switch each time

You should be able to see what was the last entry for a specific boot.

E.g. you boot now and that's the first entry, then you note the time when you suspend your laptop, wait a minute, try to wake it. On your next boot you should see was the suspend + 1min time recorded as the last entry or not.

Also, could you please post your entire logind.conf? Or are those 3 lines you mentioned the entire content?

Do you maybe have this entry in it?

 HandlePowerKey=ignore 

Offline

#5 2024-10-01 22:15:41

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

this is the journalctl, i reversed the order of it

-- Boot 720f2d856f344a5e98f9efe3f5426dbb --
Oct 01 15:01:34 archlinux kernel: PM: suspend entry (deep)
Oct 01 15:01:34 archlinux systemd-sleep[1161]: Performing sleep operation 'suspe>
Oct 01 15:01:34 archlinux systemd-sleep[1161]: Successfully froze unit 'user.sli>
Oct 01 15:01:34 archlinux wpa_supplicant[497]: nl80211: deinit ifname=p2p-dev-wl>
Oct 01 15:01:34 archlinux wpa_supplicant[497]: p2p-dev-wlp4s0: CTRL-EVENT-DSCP-P>
Oct 01 15:01:34 archlinux wpa_supplicant[497]: p2p-dev-wlp4s0: CTRL-EVENT-DSCP-P>
Oct 01 15:01:34 archlinux systemd[1]: Starting System Suspend...
Oct 01 15:01:34 archlinux systemd[1]: Reached target Sleep.

Last edited by Wallabam (2024-10-02 09:19:16)

Offline

#6 2024-10-02 04:46:51

markmarkmark
Member
Registered: 2022-09-13
Posts: 4

Re: [RESOLVED]My laptop will not wake after suspend

You pasted the same thing twice.

Could you please do the experiment I suggested and get the logs from journalctl --list-boots?

And paste the logind.conf as systemd sees it, i.e. the output of this:

systemd-analyze cat-config systemd/logind.conf

Offline

#7 2024-10-02 08:28:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

journalctl cant see where it suspended because i have to manually turn off my system with the power switch each time

Avoifd that at all costs, try the https://wiki.archlinux.org/title/Keyboa … el_(SysRq) (nb. you've to explcitily enable the feature before going to sleep)
There's nothing recorded for https://wiki.archlinux.org/title/Laptop … dge_series

Does s2idle work?
https://wiki.archlinux.org/title/Power_ … end_method

Can you sleep and resume from the multi-user.target (2nd link in my signature)?

Also please use [code][/code] tags. Edit your post in this regard.
And don't copy and paste stuff out of the pager, it truncates lines.
To upload the journal of the previous boot run

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

Edit: ceterum censeo, if there's a parallele windows installation, see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Last edited by seth (2024-10-02 08:28:53)

Offline

#8 2024-10-02 08:29:36

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

sorry about that, output -

# /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. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/logind.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full confi>
#
#
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#SleepOperation=suspend-then-hibernate suspend
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
HandleLidSwitch=hibernate
HandleLidSwitchExternalPower=hibernate
HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity

and then heres the output of the journalctl --list-boots

-29 3c4bff2be1c84ffd8501c3f779f7f69b Mon 2024-09-30 19:24:15 PDT Mon 2024-09-30 19:24:18 PDT
-28 42776ee0d84b44f8a3ce184f93b5b3fd Mon 2024-09-30 19:26:47 PDT Mon 2024-09-30 19:59:03 PDT
-27 d42b27d8c14e4986a38cbcab1e4576f5 Mon 2024-09-30 20:04:50 PDT Mon 2024-09-30 20:05:55 PDT
-26 3e290203fd1e42aab6e9910baeceb261 Mon 2024-09-30 20:08:59 PDT Mon 2024-09-30 20:20:30 PDT
-25 2d1f2792653d4e04bce463bf48f5fa01 Mon 2024-09-30 20:24:37 PDT Mon 2024-09-30 21:14:30 PDT
-24 3f4f82e8df4c4a7796a61b19ae6712f9 Mon 2024-09-30 21:14:52 PDT Mon 2024-09-30 21:19:28 PDT
-23 1257cb8d21cc457fadfe5b3b89f576a5 Mon 2024-09-30 21:34:19 PDT Mon 2024-09-30 21:35:15 PDT
-22 2e26b7ff9400463381fd41c1dadf28b5 Mon 2024-09-30 21:35:49 PDT Tue 2024-10-01 00:06:49 PDT
-21 f6e1040cac544be0b5f509a07dcd7c52 Tue 2024-10-01 00:07:11 PDT Tue 2024-10-01 00:18:47 PDT
-20 a421677f32c140ff91414b6861e55288 Tue 2024-10-01 00:19:03 PDT Tue 2024-10-01 00:27:47 PDT
-19 bbd44795fd814250b94cff20d8c4b846 Tue 2024-10-01 00:28:05 PDT Tue 2024-10-01 00:35:06 PDT
-18 597393a767b94af19f41f3920f3adb5e Tue 2024-10-01 11:07:45 PDT Tue 2024-10-01 12:24:42 PDT
-17 9ebb916212ba4ea29f7ce48da09cf68f Tue 2024-10-01 12:24:59 PDT Tue 2024-10-01 13:18:56 PDT
-16 107e49058af44069a4e7ac51ac2eecbd Tue 2024-10-01 13:19:19 PDT Tue 2024-10-01 13:19:51 PDT
-15 aa2063f99edf4c98a268d5aa9ea2a392 Tue 2024-10-01 13:20:42 PDT Tue 2024-10-01 13:40:09 PDT
-14 cf82aae832914803ba5fcc5de95a7387 Tue 2024-10-01 13:40:25 PDT Tue 2024-10-01 13:46:00 PDT
-13 1eadbf9745b948f6b2c40eba59960234 Tue 2024-10-01 13:47:28 PDT Tue 2024-10-01 13:52:41 PDT
-12 84e3308cf57f41f98e40a2288b1ecbcc Tue 2024-10-01 13:52:59 PDT Tue 2024-10-01 14:26:21 PDT
-11 720f2d856f344a5e98f9efe3f5426dbb Tue 2024-10-01 14:56:39 PDT Tue 2024-10-01 15:01:34 PDT
-10 d97709d1be834acb84dfd5cd57fc8d38 Tue 2024-10-01 15:03:54 PDT Tue 2024-10-01 15:17:11 PDT
 -9 442a8222cc954cd98dd93b19d5a0beba Tue 2024-10-01 15:17:49 PDT Tue 2024-10-01 15:39:50 PDT
 -8 8fad1e42021748a092e113124838e263 Tue 2024-10-01 15:40:07 PDT Tue 2024-10-01 15:41:23 PDT
 -7 fba59f1b3a884623b8729d6c67763009 Tue 2024-10-01 16:34:20 PDT Tue 2024-10-01 16:39:03 PDT
 -6 801be6ec4f7844b3a5644445b8b53cb2 Tue 2024-10-01 20:18:15 PDT Tue 2024-10-01 20:31:52 PDT
 -5 a4a6c4bfe8d843ecb0fa935d50aca479 Tue 2024-10-01 20:33:28 PDT Tue 2024-10-01 21:39:03 PDT
 -4 19fe545cc88d41b88dcf0786e93fdad4 Tue 2024-10-01 21:39:20 PDT Tue 2024-10-01 23:34:12 PDT
 -3 73a72c2e21bd4f4796f5f2628cf3d9c7 Tue 2024-10-01 23:34:30 PDT Tue 2024-10-01 23:55:59 PDT
 -2 ab28c90fac79487ab51a8c6fd1040057 Tue 2024-10-01 23:56:17 PDT Wed 2024-10-02 00:40:57 PDT
 -1 dc485a67a553475986edfa72f4926fba Wed 2024-10-02 00:41:40 PDT Wed 2024-10-02 00:44:24 PDT
  0 f1b4303ec3e74780876b210e7c6fad5f Wed 2024-10-02 01:22:33 PDT Wed 2024-10-02 01:28:06 PDT

Last edited by Wallabam (2024-10-02 09:18:41)

Offline

#9 2024-10-02 09:26:31

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

seth wrote:

run

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

here is the output

http://0x0.st/Xgl9.txt

in case it doesnt show here is the actual output

Oct 02 02:10:33 archlinux sudo[1404]:     root : TTY=pts/0 ; PWD=/home/wyatt ; USER=root ; COMMAND=/usr/bin/nano /etc/systemd/sleep.conf.d/mem-deep.conf
Oct 02 02:10:33 archlinux sudo[1404]: pam_unix(sudo:session): session opened for user root(uid=0) by wyatt(uid=0)
Oct 02 02:10:36 archlinux sudo[1404]: pam_unix(sudo:session): session closed for user root
Oct 02 02:11:05 archlinux systemd[633]: Created slice Slice /app/dbus-:1.4-org.xfce.Xfconf.
Oct 02 02:11:05 archlinux systemd[633]: Started dbus-:1.4-org.xfce.Xfconf@0.service.
Oct 02 02:11:05 archlinux systemd[633]: Starting Virtual filesystem service - disk device monitor...
Oct 02 02:11:05 archlinux systemd[1]: Starting Disk Manager...
Oct 02 02:11:05 archlinux udisksd[1441]: udisks daemon version 2.10.1 starting
Oct 02 02:11:05 archlinux systemd[1]: Started Disk Manager.
Oct 02 02:11:05 archlinux udisksd[1441]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Oct 02 02:11:05 archlinux systemd[633]: Started Virtual filesystem service - disk device monitor.
Oct 02 02:11:05 archlinux systemd[633]: Starting Virtual filesystem metadata service...
Oct 02 02:11:05 archlinux systemd[633]: Started Virtual filesystem metadata service.
Oct 02 02:11:54 archlinux pkexec[1516]: pam_unix(polkit-1:session): session opened for user root(uid=0) by wyatt(uid=1000)
Oct 02 02:11:54 archlinux pkexec[1516]: wyatt: Executing command [USER=root] [TTY=unknown] [CWD=/home/wyatt] [COMMAND=/usr/lib/gvfsd-admin --spawner :1.20 /org/gtk/gvfs/exec_spaw/1 --address unix:path=/run/user/1000/bus --dir /run/user/1000]
Oct 02 02:11:54 archlinux kernel: capability: warning: `gvfsd-admin' uses 32-bit capabilities (legacy support in use)
Oct 02 02:11:54 archlinux polkit-agent-helper-1[1534]: pam_systemd_home(polkit-1:auth): New sd-bus connection (system-bus-pam-systemd-home-1534) opened.
Oct 02 02:13:56 archlinux systemd-logind[455]: Lid closed.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux systemd-logind[455]: Suspending...
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2540] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2541] device (enp3s0): state change: unavailable -> unmanaged (reason 'unmanaged-sleeping', sys-iface-state: 'managed')
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2629] device (p2p-dev-wlp4s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', sys-iface-state: 'managed')
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2632] manager: NetworkManager state is now ASLEEP
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2635] device (wlp4s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2635] dhcp4 (wlp4s0): canceled DHCP transaction
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2635] dhcp4 (wlp4s0): activation: beginning transaction (timeout in 45 seconds)
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.2636] dhcp4 (wlp4s0): state changed no lease
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux systemd[1]: Starting Network Manager Script Dispatcher Service...
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-logind[455]: Requested hibernate operation is not supported, using regular suspend instead.
Oct 02 02:13:56 archlinux kernel: wlp4s0: deauthenticating from 50:27:a9:96:f1:c5 by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 02 02:13:56 archlinux wpa_supplicant[497]: nl80211: send_event_marker failed: Source based routing not supported
Oct 02 02:13:56 archlinux wpa_supplicant[497]: wlp4s0: CTRL-EVENT-DISCONNECTED bssid=50:27:a9:96:f1:c5 reason=3 locally_generated=1
Oct 02 02:13:56 archlinux wpa_supplicant[497]: wlp4s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.5055] device (wlp4s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Oct 02 02:13:56 archlinux wpa_supplicant[497]: wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Oct 02 02:13:56 archlinux wpa_supplicant[497]: wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.5223] device (wlp4s0): set-hw-addr: set MAC address to 6A:87:32:C7:3B:EA (scanning)
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.5249] device (wlp4s0): supplicant interface state: completed -> disconnected
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.5250] device (wlp4s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', sys-iface-state: 'managed')
Oct 02 02:13:56 archlinux NetworkManager[452]: <info>  [1727860436.5527] device (wlp4s0): set-hw-addr: reset MAC address to A0:A8:CD:96:09:83 (unmanage)
Oct 02 02:13:56 archlinux systemd[1]: Reached target Sleep.
Oct 02 02:13:56 archlinux systemd[1]: Starting System Suspend...
Oct 02 02:13:56 archlinux wpa_supplicant[497]: p2p-dev-wlp4s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 02 02:13:56 archlinux wpa_supplicant[497]: p2p-dev-wlp4s0: CTRL-EVENT-DSCP-POLICY clear_all
Oct 02 02:13:56 archlinux wpa_supplicant[497]: nl80211: deinit ifname=p2p-dev-wlp4s0 disabled_11b_rates=0
Oct 02 02:13:56 archlinux systemd-sleep[1597]: /etc/systemd/sleep.conf:1: Assignment outside of section. Ignoring.
Oct 02 02:13:56 archlinux systemd-sleep[1597]: Successfully froze unit 'user.slice'.
Oct 02 02:13:56 archlinux systemd-sleep[1597]: Performing sleep operation 'suspend'...
Oct 02 02:13:56 archlinux kernel: PM: suspend entry (deep)

i did everything else you said,  at least to the best of my ability, i even used chatpgt

Offline

#10 2024-10-02 13:56:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

i even used chatpgt

Don't.

The journal doesn't look like you enabled the magic sysrq and also shows a "deep" sleep attempt (S3), what about s2idle?

Lenovo has flared up w/ some issues reg. the lid handling, can you "systemctl suspend", get a cup of coffee and wake the system (no touching the lid, no undocking, nothing like that)

Offline

#11 2024-10-02 20:31:23

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

so when i execute SysRq commands such as Alt+SysRq+b it reboots, and when i use

cat /proc/sys/kernel/sysrq

the output is

1

output of

cat /sys/power/mem_sleep

is

s2idle [deep]

and when i input

systemctl suspend

it went to sleep and despite leaving it open for 20 minutes (loosely give or take),it did not wake, then i tried closing and opening, sysrq reboot, and nothing worked

Offline

#12 2024-10-02 20:59:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

Does the sysrq generally work (ie. while the system is running normally)?
The plan was also to try s2idle, ie.

echo s2idle | sudo tee /sys/power/mem_sleep
systemctl suspend

Offline

#13 2024-10-03 04:58:10

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

so sysrq does generally work so long as the computer is running as normal,i tried the command you gave me

echo s2idle | sudo tee /sys/power/mem_sleep
systemctl suspend

and it worked.
However, the power light will stay solid as opposed to how it would usually slowly flash on and off, I did go into the

 etc/systmend/logind.conf 

file and disable the 3 commands i had that ignored the lid switch, then enabled the s2idle and when i close the lid, it does not go into suspend or sleep, it just turns off the monitor

Last edited by Wallabam (2024-10-03 05:00:04)

Offline

#14 2024-10-03 07:46:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

Stay away from the LID (because we can't trust Lenovo itr at all) and please post a journal of the s2idle sleep.
Also I might not have stressed this enough: do not try to suspend the system from a hyprland session. *Only* boot the multi-user.target (the console) and stay there. No GUI for the moment.

Oct 02 02:03:15 archlinux kernel: DMI: LENOVO 20C6008SUS/20C6008SUS, BIOS J9ET88WW (2.08 ) 05/20/2014

Did you check whether a BIOS update is available for the device?
There's a bunch of rather uncommon ACPI errors in your journal.

Try to add "pci=nocrs"  to the https://wiki.archlinux.org/title/Kernel_parameters

Also, just a wild guess, stop/disable NM and rfkill the wifi NIC before sleeping the system.

You btw. seem to have edited /etc/systemd/sleep.conf.d/mem-deep.conf, this will be in effect after a systemd daemon reload (eg. via reboot)

Offline

#15 2024-10-04 07:40:21

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

okay so i did all those steps  (kinda), i wasnt able to create the journal without wifi so i had to re enable the NM and wifi after doing the suspend, but i made sure to disable both before, also i uninstalled arch accidentally, in the process of trying to dual boot windows so i can in a more easy way update my bios, so i reinstalled arch and then enabled sysrq, and did all those steps you just told me, and here is the link. also i let the system sleep for at least a minute
http://0x0.st/XEX_.txt

Last edited by Wallabam (2024-10-04 07:42:38)

Offline

#16 2024-10-04 11:59:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

Oct 04 07:32:42 archlinux kernel: PM: suspend entry (s2idle)
Oct 04 07:34:21 archlinux kernel: PM: suspend exit

So the system did enter the s2idle, still the same issue (of not "properly" powering down)?

Oct 04 07:29:53 archlinux kernel: DMI: LENOVO 20C6008SUS/20C6008SUS, BIOS J9ETA2WW (2.28 ) 06/20/2018

Did you also test S3 after the BIOS update (and reinstallation)?
Did you test the LTS kernel (6.11.1 has several other growing pains…) and "pci=nocrs" ?

Offline

#17 2024-10-04 19:06:27

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

I am not familiar  with S3,i might have forgotten about it, can you link a wiki article to it?

Offline

#18 2024-10-04 19:53:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

https://en.wikipedia.org/wiki/ACPI#Global_states - it's simply the "deep" sleep.

Offline

#19 2024-10-04 23:18:02

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 112

Re: [RESOLVED]My laptop will not wake after suspend

According to [1], "ThinkPad Edge E540 was released in 2013". That is the same age as my desktop with a MSI motherboard. A while back, don't remember the exact date but it was perhaps two years ago, I started having the problem that my desktop would not wake up from sleep. I could not figure why, other than the reason is in the kernel. Since then I have been using an old kernel [2] and all is well, no problems with sleep at all.

[1] https://en.wikipedia.org/wiki/ThinkPad_E_series
[2] https://aur.archlinux.org/packages/linux-lts61

Last edited by archdub (2024-10-04 23:20:05)

Offline

#20 2024-10-05 05:09:50

Wallabam
Member
Registered: 2024-09-27
Posts: 10

Re: [RESOLVED]My laptop will not wake after suspend

I am not as quick as they come - as a measure of "just doing it to do it", i decided to close my laptop lid in order to see what happens to see if the bios update was just what it needed - didnt think about it for more than 5 seconds, it was a spontaneous action for kicks. I closed my laptop lid and watched the light, i could tell by its slow flashing that it was in sleep mode. I rose the laptop lid expecting to see exactly what i previously seen before. But surprisingly it woke! I could not have done it without the help i received here. for that i greatly thank you for your time and patience, I have learned a lot about operating systems, how they function, how a laptop functions, and i have progressed in my learning about Linux itself alongside everything else I had been doing. Thank you so much.

It appears that the issue was my bios, it had not been updated since year 2014, if anyone else reads this article with a similar issue, make sure to also check your bios in case it has not been updated, i see now that it is commonly overlooked and can be the cause of a variety of issues such as this one

Offline

#21 2024-10-05 06:47:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,805

Re: [RESOLVED]My laptop will not wake after suspend

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB