You are not logged in.

#1 2023-09-07 23:03:16

planetmarshall
Member
Registered: 2023-09-07
Posts: 11

[SOLVED] Immediate resume after suspend

My ASUS GA402NV Laptop immediately resumes after suspend. This occurs under terminal only, X11 and Wayland display managers.

Kernel 6.4.12-arch1-1

$ journalctl -b -f
Sep 08 00:00:34 andrew-laptop systemd[1]: nvidia-suspend.service: Deactivated successfully.
Sep 08 00:00:34 andrew-laptop systemd[1]: Finished NVIDIA system suspend actions.
Sep 08 00:00:34 andrew-laptop systemd[1]: Starting System Suspend...
Sep 08 00:00:34 andrew-laptop systemd-sleep[4791]: Entering sleep state 'suspend'...
Sep 08 00:00:34 andrew-laptop kernel: PM: suspend entry (s2idle)
Sep 08 00:00:34 andrew-laptop kernel: Filesystems sync: 0.038 seconds
Sep 08 00:00:36 andrew-laptop kernel: Freezing user space processes
Sep 08 00:00:36 andrew-laptop kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Sep 08 00:00:36 andrew-laptop kernel: OOM killer disabled.
Sep 08 00:00:36 andrew-laptop kernel: Freezing remaining freezable tasks
Sep 08 00:00:36 andrew-laptop kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Sep 08 00:00:36 andrew-laptop kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Sep 08 00:00:36 andrew-laptop kernel: queueing ieee80211 work while going to suspend
Sep 08 00:00:36 andrew-laptop kernel: amd_pmc AMDI0007:00: Last suspend didn't reach deepest state
Sep 08 00:00:36 andrew-laptop kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F41FC00000).
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: SMU is resuming...
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: SMU is resumed successfully!
Sep 08 00:00:36 andrew-laptop kernel: nvme nvme0: 16/0/0 default/read/poll queues
Sep 08 00:00:36 andrew-laptop kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Sep 08 00:00:36 andrew-laptop kernel: [drm] JPEG decode initialized successfully.
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 1
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 1
Sep 08 00:00:36 andrew-laptop kernel: amdgpu 0000:75:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
Sep 08 00:00:36 andrew-laptop kernel: OOM killer enabled.
Sep 08 00:00:36 andrew-laptop kernel: Restarting tasks ... done.
Sep 08 00:00:36 andrew-laptop kernel: random: crng reseeded on system resumption
Sep 08 00:00:36 andrew-laptop kernel: PM: suspend exit
Sep 08 00:00:36 andrew-laptop systemd-sleep[4791]: System returned from sleep state.

Wondering if this is the pertinent message...?

Sep 08 00:00:36 andrew-laptop kernel: amd_pmc AMDI0007:00: Last suspend didn't reach deepest state

Any advice appreciated.

Last edited by planetmarshall (2023-09-17 17:52:53)

Offline

#2 2023-09-08 07:24:23

seth
Member
Registered: 2012-09-03
Posts: 51,802

Re: [SOLVED] Immediate resume after suspend

Yes it is, https://wiki.archlinux.org/title/Ryzen# … nd_suspend or check for BIOS updates/downgrades.
Possibly related (ASUS as well): https://bbs.archlinux.org/viewtopic.php … 7#p2116347

Offline

#3 2023-09-16 08:19:20

planetmarshall
Member
Registered: 2023-09-07
Posts: 11

Re: [SOLVED] Immediate resume after suspend

Thanks. Neither of these solutions worked foe me, but with assistance from the amd kernel developers, I established that the ITE usb device was responsible,resolved by adding the following udev rule

SUBSYSTEM=="usb", DRIVER=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="193b", ATTR{power/wakeup}="disabled"

See https://gitlab.freedesktop.org/drm/amd/ … te_2086993

for details.

Offline

#4 2023-09-16 13:26:20

seth
Member
Registered: 2012-09-03
Posts: 51,802

Re: [SOLVED] Immediate resume after suspend

That's your/a keyboard.

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