Suspend problems, broken dsdt table

I made a post here bout having problems with suspend, the keyboard stops working after coming back from deep sleep and it takes almost a minute to wake up from deep sleep.

journalctl --boot -1 | sed -n -r "/Starting.+Suspend/,/Finished.+Suspend/p"  

lip 05 03:31:50 siema systemd[1]: Starting System Suspend...
lip 05 03:31:50 siema systemd-sleep[3231]: Entering sleep state 'suspend'...
lip 05 03:31:50 siema kernel: PM: suspend entry (deep)
lip 05 03:33:04 siema kernel: Filesystems sync: 0.006 seconds
lip 05 03:33:04 siema kernel: Freezing user space processes
lip 05 03:33:04 siema kernel: Freezing user space processes completed (elapsed 0.001 seconds)
lip 05 03:33:04 siema kernel: OOM killer disabled.
lip 05 03:33:04 siema kernel: Freezing remaining freezable tasks
lip 05 03:33:04 siema kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
lip 05 03:33:04 siema kernel: printk: Suspending console(s) (use no_console_suspend to debug)
lip 05 03:33:04 siema kernel: ACPI: EC: interrupt blocked
lip 05 03:33:04 siema kernel: ACPI: PM: Preparing to enter system sleep state S3
lip 05 03:33:04 siema kernel: ACPI: EC: event blocked
lip 05 03:33:04 siema kernel: ACPI: EC: EC stopped
lip 05 03:33:04 siema kernel: ACPI: PM: Saving platform NVS memory
lip 05 03:33:04 siema kernel: Disabling non-boot CPUs ...
lip 05 03:33:04 siema kernel: smpboot: CPU 1 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 2 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 3 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 4 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 5 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 6 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 7 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 8 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 9 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 10 is now offline
lip 05 03:33:04 siema kernel: smpboot: CPU 11 is now offline
lip 05 03:33:04 siema kernel: ACPI: PM: Low-level resume complete
lip 05 03:33:04 siema kernel: ACPI: EC: EC started
lip 05 03:33:04 siema kernel: ACPI: PM: Restoring platform NVS memory
lip 05 03:33:04 siema kernel: Enabling non-boot CPUs ...
lip 05 03:33:04 siema kernel: x86: Booting SMP configuration:
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
lip 05 03:33:04 siema kernel: CPU1 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 2 APIC 0x8
lip 05 03:33:04 siema kernel: CPU2 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 3 APIC 0x9
lip 05 03:33:04 siema kernel: CPU3 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 4 APIC 0x10
lip 05 03:33:04 siema kernel: core: cpu_atom PMU driver: PEBS-via-PT 
lip 05 03:33:04 siema kernel: ... version:                5
lip 05 03:33:04 siema kernel: ... bit width:              48
lip 05 03:33:04 siema kernel: ... generic registers:      6
lip 05 03:33:04 siema kernel: ... value mask:             0000ffffffffffff
lip 05 03:33:04 siema kernel: ... max period:             00007fffffffffff
lip 05 03:33:04 siema kernel: ... fixed-purpose events:   3
lip 05 03:33:04 siema kernel: ... event mask:             000000070000003f
lip 05 03:33:04 siema kernel: CPU4 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 5 APIC 0x12
lip 05 03:33:04 siema kernel: CPU5 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 6 APIC 0x14
lip 05 03:33:04 siema kernel: CPU6 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 7 APIC 0x16
lip 05 03:33:04 siema kernel: CPU7 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 8 APIC 0x18
lip 05 03:33:04 siema kernel: CPU8 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 9 APIC 0x1a
lip 05 03:33:04 siema kernel: CPU9 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 10 APIC 0x1c
lip 05 03:33:04 siema kernel: CPU10 is up
lip 05 03:33:04 siema kernel: smpboot: Booting Node 0 Processor 11 APIC 0x1e
lip 05 03:33:04 siema kernel: CPU11 is up
lip 05 03:33:04 siema kernel: ACPI: PM: Waking up from system sleep state S3
lip 05 03:33:04 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:04 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0.ITLB due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \HWAK due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_WAK due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: AE_TIME, While executing method \_WAK (20221020/hwesleep-47)
lip 05 03:33:04 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:04 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.PC00.RP08.PSTA due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.PC00.RP08.PXP._STA due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI: EC: interrupt unblocked
lip 05 03:33:04 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:04 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.PC00.RP08.PON due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.PC00.RP08.PXP._ON due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI: EC: event unblocked
lip 05 03:33:04 siema kernel: nvme nvme0: Shutdown timeout set to 8 seconds
lip 05 03:33:04 siema kernel: xhci_hcd 0000:00:0d.0: xHC error in resume, USBSTS 0x401, Reinit
lip 05 03:33:04 siema kernel: usb usb1: root hub lost power or was reset
lip 05 03:33:04 siema kernel: usb usb2: root hub lost power or was reset
lip 05 03:33:04 siema kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
lip 05 03:33:04 siema kernel: i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
lip 05 03:33:04 siema kernel: iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
lip 05 03:33:04 siema kernel: i915 0000:00:02.0: [drm] HuC authenticated
lip 05 03:33:04 siema kernel: i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
lip 05 03:33:04 siema kernel: i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
lip 05 03:33:04 siema kernel: i915 0000:00:02.0: [drm] GuC RC: enabled
lip 05 03:33:04 siema kernel: iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
lip 05 03:33:04 siema kernel: iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
lip 05 03:33:04 siema kernel: iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
lip 05 03:33:04 siema kernel: iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
lip 05 03:33:04 siema kernel: usb 3-1: reset high-speed USB device number 2 using xhci_hcd
lip 05 03:33:04 siema kernel: nvme nvme0: 12/0/0 default/read/poll queues
lip 05 03:33:04 siema kernel: iosm 0000:57:00.0: msg timeout
lip 05 03:33:04 siema kernel: ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=1
lip 05 03:33:04 siema kernel: i8042: i8042 controller selftest timeout
lip 05 03:33:04 siema kernel: i8042 i8042: PM: dpm_run_callback(): platform_pm_resume+0x0/0x50 returns -19
lip 05 03:33:04 siema kernel: i8042 i8042: PM: failed to resume: error -19
lip 05 03:33:04 siema kernel: atkbd serio0: keyboard reset failed on isa0060/serio0
lip 05 03:33:04 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:04 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.WMIV.WGDS due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.WMIV.HVWP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.WMIV.HVWA due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: ACPI Error: Aborting method \_SB.WMIV.WMPV due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:04 siema kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
lip 05 03:33:04 siema kernel: OOM killer enabled.
lip 05 03:33:04 siema kernel: Restarting tasks ... 
lip 05 03:33:04 siema kernel: mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
lip 05 03:33:04 siema kernel: done.
lip 05 03:33:04 siema kernel: random: crng reseeded on system resumption
lip 05 03:33:04 siema systemd-logind[552]: System docked.
lip 05 03:33:04 siema rtkit-daemon[1220]: The canary thread is apparently starving. Taking action.
lip 05 03:33:04 siema /usr/lib/gdm-x-session[1869]: (II) event3  - AT Translated Set 2 keyboard: device removed
lip 05 03:33:04 siema gnome-shell[1974]: == Stack trace for context 0x55692d5ceb60 ==
lip 05 03:33:04 siema gnome-shell[1974]: #0   7ffc5a32c2f0 b   resource:///org/gnome/shell/ui/dateMenu.js:489 (217573137a10 @ 165)
lip 05 03:33:04 siema gnome-shell[1974]: #1   7ffc5a32ccc0 b   self-hosted:1115 (157f23f73f60 @ 463)
lip 05 03:33:04 siema gnome-shell[1974]: Object St.Label (0x55692ee051e0), has been already disposed — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
lip 05 03:33:04 siema rtkit-daemon[1220]: Demoting known real-time threads.
lip 05 03:33:04 siema gnome-shell[1974]: clutter_text_get_editable: assertion 'CLUTTER_IS_TEXT (self)' failed
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 3183 of process 3181.
lip 05 03:33:04 siema gnome-shell[1974]: clutter_text_get_text: assertion 'CLUTTER_IS_TEXT (self)' failed
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 3181 of process 3181.
lip 05 03:33:04 siema gnome-shell[1974]: clutter_text_set_text: assertion 'CLUTTER_IS_TEXT (self)' failed
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2195 of process 2081.
lip 05 03:33:04 siema systemd[1]: fprintd.service: Deactivated successfully.
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2193 of process 2081.
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2191 of process 2081.
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2185 of process 2081.
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2182 of process 2081.
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2180 of process 2081.
lip 05 03:33:04 siema rtkit-daemon[1220]: Successfully demoted thread 2081 of process 2081.
lip 05 03:33:04 siema rtkit-daemon[1220]: Demoted 9 threads.
lip 05 03:33:04 siema /usr/lib/gdm-x-session[1869]: (II) config/udev: removing device AT Translated Set 2 keyboard
lip 05 03:33:04 siema /usr/lib/gdm-x-session[1869]: (**) Option "fd" "38"
lip 05 03:33:04 siema /usr/lib/gdm-x-session[1869]: (II) UnloadModule: "libinput"
lip 05 03:33:04 siema /usr/lib/gdm-x-session[1869]: (II) systemd-logind: releasing fd for 13:67
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8972.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
lip 05 03:33:04 siema kernel: usb 3-7: USB disconnect, device number 3
lip 05 03:33:04 siema systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
lip 05 03:33:04 siema dbus-daemon[548]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.151' (uid=970 pid=3325 comm="/usr/lib/colord-sane")
lip 05 03:33:04 siema dbus-daemon[548]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8972.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: E:\Amp Tuning\HP\840\0527\103C8972_220527.bin
lip 05 03:33:04 siema kernel: usb 3-7: new full-speed USB device number 5 using xhci_hcd
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
lip 05 03:33:04 siema kernel: cs35l41-hda spi1-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: E:\Amp Tuning\HP\840\0527\103C8972_220527.bin
lip 05 03:33:04 siema kernel: usb 3-7: New USB device found, idVendor=06cb, idProduct=00f0, bcdDevice= 0.00
lip 05 03:33:04 siema kernel: usb 3-7: New USB device strings: Mfr=0, Product=0, SerialNumber=1
lip 05 03:33:04 siema kernel: usb 3-7: SerialNumber: f3e1c0913ca5
lip 05 03:33:04 siema mtp-probe[3336]: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-7"
lip 05 03:33:04 siema mtp-probe[3336]: bus: 3, device: 5 was not an MTP device
lip 05 03:33:05 siema mtp-probe[3361]: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-7"
lip 05 03:33:05 siema mtp-probe[3361]: bus: 3, device: 5 was not an MTP device
lip 05 03:33:05 siema dbus-daemon[548]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.154' (uid=970 pid=3360 comm="/usr/lib/colord-sane")
lip 05 03:33:05 siema dbus-daemon[548]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
lip 05 03:33:05 siema kernel: atkbd serio0: keyboard reset failed on isa0060/serio0
lip 05 03:33:06 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:06 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:06 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:06 siema kernel: ACPI Error: Aborting method \_TZ.CPUZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:06 siema kernel: thermal thermal_zone0: failed to read out thermal zone (-19)
lip 05 03:33:09 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:09 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:09 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:09 siema kernel: ACPI Error: Aborting method \_TZ.GFXZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:09 siema kernel: thermal thermal_zone1: failed to read out thermal zone (-19)
lip 05 03:33:11 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:11 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:11 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:11 siema kernel: ACPI Error: Aborting method \_TZ.EXTZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:11 siema kernel: thermal thermal_zone2: failed to read out thermal zone (-19)
lip 05 03:33:14 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:14 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:14 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:14 siema kernel: ACPI Error: Aborting method \_TZ.LOCZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:14 siema kernel: thermal thermal_zone3: failed to read out thermal zone (-19)
lip 05 03:33:17 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:17 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:17 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:17 siema kernel: ACPI Error: Aborting method \_TZ.BATZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:17 siema kernel: thermal thermal_zone4: failed to read out thermal zone (-19)
lip 05 03:33:19 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:19 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:19 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:19 siema kernel: ACPI Error: Aborting method \_TZ.CHGZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:19 siema kernel: thermal thermal_zone5: failed to read out thermal zone (-19)
lip 05 03:33:22 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:22 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:22 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:22 siema kernel: ACPI Error: Aborting method \_TZ.SK1Z._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:22 siema kernel: thermal thermal_zone6: failed to read out thermal zone (-19)
lip 05 03:33:24 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:24 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:24 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:24 siema kernel: ACPI Error: Aborting method \_TZ.SK2Z._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:24 siema kernel: thermal thermal_zone7: failed to read out thermal zone (-19)
lip 05 03:33:27 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:27 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:27 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:27 siema kernel: ACPI Error: Aborting method \_TZ.PCHZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:27 siema kernel: thermal thermal_zone9: failed to read out thermal zone (-19)
lip 05 03:33:29 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:29 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:29 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:29 siema kernel: ACPI Error: Aborting method \_TZ.EXTZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:29 siema kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0.SEN1._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:29 siema kernel: thermal thermal_zone10: failed to read out thermal zone (-5)
lip 05 03:33:32 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:32 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:32 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:32 siema kernel: ACPI Error: Aborting method \_TZ.LOCZ._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:32 siema kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0.SEN2._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:32 siema kernel: thermal thermal_zone12: failed to read out thermal zone (-5)
lip 05 03:33:34 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:34 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:34 siema kernel: ACPI Error: Aborting method \_TZ.GTTP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:34 siema kernel: ACPI Error: Aborting method \_TZ.SK1Z._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:34 siema kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0.SEN6._TMP due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:34 siema kernel: thermal thermal_zone13: failed to read out thermal zone (-5)
lip 05 03:33:37 siema systemd-sleep[3231]: System returned from sleep state.
lip 05 03:33:37 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:37 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:37 siema kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0.BTST due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:37 siema kernel: ACPI Error: Aborting method \_SB.BTST due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:37 siema kernel: ACPI Error: Aborting method \_SB.BAT0._BST due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:37 siema kernel: ACPI: \_SB_.BAT0: _BST evaluation failed: AE_TIME
lip 05 03:33:37 siema kernel: PM: suspend exit
lip 05 03:33:39 siema kernel: ACPI Error: AE_TIME, Returned by Handler for [EmbeddedControl] (20221020/evregion-300)
lip 05 03:33:39 siema kernel: ACPI Error: Timeout from EC hardware or EC device driver (20221020/evregion-310)
lip 05 03:33:39 siema kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0.BTST due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:39 siema kernel: ACPI Error: Aborting method \_SB.BTST due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:39 siema kernel: ACPI Error: Aborting method \_SB.BAT0._BST due to previous error (AE_TIME) (20221020/psparse-529)
lip 05 03:33:39 siema systemd[1]: systemd-suspend.service: Deactivated successfully.
lip 05 03:33:39 siema systemd[1]: Finished System Suspend.

After some help and reasearch I think this might be caused by a broken dsdt table.
I tried to extract and fix the dsdt table as described here.

This is the dsdt table i got.

I tried to compile it and got these errors.

I fixed the simple syntax erros on lines 4556-4569, tried to compile again and the errors completely changed to new ones and the new ones look too complicated for me.

This are the new errors:

iasl -ve -tc dsdt_some_fixed.dsl                                                                                                                                                     

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20221020
Copyright (c) 2000 - 2022 Intel Corporation

dsdt_some_fixed.dsl    194:     External (_SB_.PC00.RP01._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP01._PRW.SLOT)

dsdt_some_fixed.dsl    211:     External (_SB_.PC00.RP02._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP02._PRW.SLOT)

dsdt_some_fixed.dsl    227:     External (_SB_.PC00.RP03._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP03._PRW.SLOT)

dsdt_some_fixed.dsl    243:     External (_SB_.PC00.RP04._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP04._PRW.SLOT)

dsdt_some_fixed.dsl    259:     External (_SB_.PC00.RP05._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP05._PRW.SLOT)

dsdt_some_fixed.dsl    276:     External (_SB_.PC00.RP06._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP06._PRW.SLOT)

dsdt_some_fixed.dsl    292:     External (_SB_.PC00.RP07._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP07._PRW.SLOT)

dsdt_some_fixed.dsl    308:     External (_SB_.PC00.RP08._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP08._PRW.SLOT)

dsdt_some_fixed.dsl    325:     External (_SB_.PC00.RP09._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP09._PRW.SLOT)

dsdt_some_fixed.dsl    342:     External (_SB_.PC00.RP10._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP10._PRW.SLOT)

dsdt_some_fixed.dsl    358:     External (_SB_.PC00.RP11._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP11._PRW.SLOT)

dsdt_some_fixed.dsl    374:     External (_SB_.PC00.RP12._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP12._PRW.SLOT)

dsdt_some_fixed.dsl    390:     External (_SB_.PC00.RP13._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP13._PRW.SLOT)

dsdt_some_fixed.dsl    407:     External (_SB_.PC00.RP14._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP14._PRW.SLOT)

dsdt_some_fixed.dsl    423:     External (_SB_.PC00.RP15._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP15._PRW.SLOT)

dsdt_some_fixed.dsl    439:     External (_SB_.PC00.RP16._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP16._PRW.SLOT)

dsdt_some_fixed.dsl    455:     External (_SB_.PC00.RP17._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP17._PRW.SLOT)

dsdt_some_fixed.dsl    472:     External (_SB_.PC00.RP18._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP18._PRW.SLOT)

dsdt_some_fixed.dsl    488:     External (_SB_.PC00.RP19._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP19._PRW.SLOT)

dsdt_some_fixed.dsl    504:     External (_SB_.PC00.RP20._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP20._PRW.SLOT)

dsdt_some_fixed.dsl    520:     External (_SB_.PC00.RP21._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP21._PRW.SLOT)

dsdt_some_fixed.dsl    537:     External (_SB_.PC00.RP22._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP22._PRW.SLOT)

dsdt_some_fixed.dsl    553:     External (_SB_.PC00.RP23._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP23._PRW.SLOT)

dsdt_some_fixed.dsl    569:     External (_SB_.PC00.RP24._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP24._PRW.SLOT)

dsdt_some_fixed.dsl    585:     External (_SB_.PC00.RP25._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP25._PRW.SLOT)

dsdt_some_fixed.dsl    602:     External (_SB_.PC00.RP26._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP26._PRW.SLOT)

dsdt_some_fixed.dsl    618:     External (_SB_.PC00.RP27._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP27._PRW.SLOT)

dsdt_some_fixed.dsl    634:     External (_SB_.PC00.RP28._PRW.SLOT, UnknownObj)
Error    6163 -                                                 ^ Object is created temporarily in another method and cannot be accessed (_SB_.PC00.RP28._PRW.SLOT)

dsdt_some_fixed.dsl  32860:         Device (TPL0)
Error    6141 -            Missing dependency ^  (Device object requires a _HID or _ADR)

dsdt_some_fixed.dsl  33177:         Device (TPD0)
Error    6141 -            Missing dependency ^  (Device object requires a _HID or _ADR)

dsdt_some_fixed.dsl  36325:         Device (PS2M)
Error    6141 -            Missing dependency ^  (Device object requires a _HID or _ADR)

ASL Input:     dsdt_some_fixed.dsl - 1738332 bytes  23708 keywords      0 source lines
Hex Dump:      dsdt_some_fixed.hex - 2282611 bytes

Compilation failed. 31 Errors, 208 Warnings, 500 Remarks
No AML files were generated due to compiler error(s)

Here is the inxi:

#################### inxi -Fxzc0 ########################

System:
  Kernel: 6.3.5-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1 Desktop: GNOME v: 44.1
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP EliteBook 840 14 inch G9 Notebook PC v: N/A
    serial: <superuser required>
  Mobo: HP model: 8ABB v: KBC Version 20.5E.00 serial: <superuser required> UEFI: HP
    v: U71 Ver. 01.05.00 date: 01/04/2023
Battery:
  ID-1: BAT0 charge: 37.8 Wh (94.5%) condition: 40.0/51.3 Wh (78.0%) volts: 12.1 min: 11.6
    model: Hewlett-Packard Primary status: discharging
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64 type: MST AMCP
    arch: Alder Lake rev: 4 cache: L1: 928 KiB L2: 6.5 MiB L3: 12 MiB
  Speed (MHz): avg: 2325 high: 2500 min/max: 400/4400:3300 cores: 1: 2500 2: 2500 3: 400 4: 2500
    5: 2500 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500 bogomips: 59916
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-12.2 bus-ID: 00:02.0
  Device-2: Quanta HP 5MP Camera driver: uvcvideo type: USB bus-ID: 3-1:2
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 1920x1200~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.4 renderer: Mesa Intel Graphics (ADL GT2) direct-render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3
  API: ALSA v: k6.3.5-2-MANJARO status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: JACK v: 1.9.22 status: off
  Server-3: PipeWire v: 0.3.70 status: off
  Server-4: PulseAudio v: 16.1 status: active
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  IF-ID-1: wwan0 state: down mac: N/A
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB bus-ID: 3-10:4
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 42.11 GiB (8.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HBLU-00BH1 size: 476.94 GiB temp: 25.9 C
Partition:
  ID-1: / size: 451.56 GiB used: 42.06 GiB (9.3%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 58.4 MiB (19.5%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 16.8 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 30.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 298 Uptime: 11m Memory: available: 14.88 GiB used: 2.01 GiB (13.5%) Init: systemd
  Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: 1740 Client: gnome-shell v: 44.1 inxi: 3.3.27

Any suggestions on how to proceed?

try with different kernels;
and post full system info:
inxi -zav7

I tried all the kernels from 515LTS up to the newest experimental one and the suspend problems are all the same.

Here is the inxi output:

inxi -zav7
                                                                                                                                                                                     
System:
  Kernel: 6.3.5-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.3-x86_64
    root=UUID=0fae45e7-a05d-4151-bd5b-9720ebc67797 rw quiet splash apparmor=1
    security=apparmor resume=UUID=e6409053-0f84-4a27-80f7-ba2108682f0a
    udev.log_priority=3
  Desktop: GNOME v: 44.1 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.1
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP EliteBook 840 14 inch G9 Notebook PC
    v: N/A serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 8ABB v: KBC Version 20.5E.00 serial: <superuser required>
    UEFI: HP v: U71 Ver. 01.05.00 date: 01/04/2023
Battery:
  ID-1: BAT0 charge: 27.4 Wh (69.0%) condition: 39.7/51.3 Wh (77.5%)
    volts: 12.5 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: charging cycles: 80
Memory:
  System RAM: available: 14.88 GiB used: 5.29 GiB (35.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: 12th Gen Intel Core i5-1235U bits: 64 type: MST AMCP
    arch: Alder Lake level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 4
    microcode: 0x42A
  Topology: cpus: 1x cores: 10 mt: 2 tpc: 2 st: 8 threads: 12 smt: enabled
    cache: L1: 1.1 MiB desc: d-8x32 KiB, 4x48 KiB; i-4x32 KiB, 8x64 KiB
    L2: 21 MiB desc: 4x1.2 MiB, 8x2 MiB L3: 144 MiB desc: 12x12 MiB
  Speed (MHz): avg: 2500 min/max: 400/4400:3300 scaling:
    driver: intel_pstate governor: performance cores: 1: 2500 2: 2500 3: 2500
    4: 2500 5: 2500 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500
    bogomips: 59916
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8
    de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
    invpcid lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri
    msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pclmulqdq pdcm pdpe1gb
    pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdtscp
    rep_good sdbg sep serialize sha_ni smap smep smx split_lock_detect ss
    ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi
    vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec xsaveopt xsaves
    xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB:
    conditional, RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics]
    vendor: Hewlett-Packard driver: i915 v: kernel arch: Gen-12.2
    process: Intel 10nm built: 2021-22+ ports: active: eDP-1 empty: DP-1,
    DP-2, DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:46a8
    class-ID: 0300
  Device-2: Quanta HP 5MP Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0408:545b
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 model: LG Display 0x06df built: 2021 res: 1920x1200
    hz: 60 dpi: 161 gamma: 1.2 size: 302x188mm (11.89x7.4") diag: 356mm (14")
    ratio: 16:10 modes: 1920x1200
  API: OpenGL v: 4.6 Mesa 23.0.4 renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  API: ALSA v: k6.3.5-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 0.3.70 status: off tools: pw-cli
  Server-4: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: wwan0 state: down mac: N/A
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 6 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 40.06 GiB (8.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLQ512HBLU-00BH1 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HPS1NFAV temp: 32.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 459.85 GiB size: 451.56 GiB (98.20%)
    used: 38.78 GiB (8.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 0fae45e7-a05d-4151-bd5b-9720ebc67797
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 58.4 MiB (19.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 408B-0094
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.8 GiB used: 1.22 GiB (7.3%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: e6409053-0f84-4a27-80f7-ba2108682f0a
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 2-0:1 info: super-speed hub ports: 3 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Quanta HP 5MP Camera type: video driver: uvcvideo
    interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 0408:545b class-ID: 0e02 serial: <filter>
  Device-2: 3-7:10 info: Synaptics type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 06cb:00f0 class-ID: ff00 serial: <filter>
  Device-3: 3-10:4 info: Intel type: bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 8087:0033 class-ID: e001
  Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 329 Uptime: 3d 22h 37m wakeups: 60189 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
  Packages: 1741 pm: pacman pkgs: 1716 libs: 362 tools: gnome-software,pamac
  pm: flatpak pkgs: 18 pm: snap pkgs: 7 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.27

you can try add some acpi parameters, so first check:
first check:

sudo strings /sys/firmware/acpi/tables/DSDT | grep -i 'windows ' | sort | tail -1

it will output some windows version, and now add it to grub:
/etc/default/grub
and in this line: GRUB_CMDLINE_LINUX_DEFAULT inside the quotes add these parameters:

acpi_osi=! acpi_osi='Windows 2015'

where Windows 2015 will be replaced with the output from the sudo strings command…
dont remove any parameters, add them to existing ones;
save the file and update grub:
sudo update-grub
reboot and test

if the sudo strings version doesnt work, try with different one:

acpi_osi=! acpi_osi='Windows 2012'

save grub, update grub, reboot and test…


did you tried suspending with unplugged keyboard?

I tried a couple strings that I found in the dsdt file, the ones that represent the systems this laptop comes with, and nothing changed with the suspend issue.

Its a laptop so I can’t really do that

check in bios:
if fast boot is disabled, you may not have this option;
and if you are using windows, check if fast startup is disabled;
also in bios check if you have enabled this setting:
Advanced Options > Built-in device options > Wake unit from sleep when lid is opened

also do you have tlp installed? check with:
pacman -Qs tlp
if yes, remove it:
sudo pacman -Rcns tlp
reboot and test…

if it still happens, boot into manjaro live usb, and test suspending there

I’m using manjaro, I tired to suspend with fast boot disabled in the bios and nothing changed (keyboard still doesn’t work)

The only option I have in BIOS regarding the lid is Turn on when lid is opened, my laptop wakes up normally when opening the lid while in s2idle sleep so I guess its on by default and unchangable.
(s2idle also has issues as when using it sometimes the computer will not wake up at all, the fans are running but screen is black)
Also when waking up from deep sleep I do it by pressing the powerbutton so I don’t think lid is related to the issue.

Yes I have it, turned it off rebooted and nothing changed

I tested many live usb distros and all of them face the same issues (ubuntu, manjaro, endeavour)

Hello @Siema :wink:

Before fiddling here… could you test if suspend-to-ram (S3) (linux: deep) works on Windows? Since this laptop has only support for Windows it would be a better idea to test first there. If only suspend-to-idle (S0) (linux: s2idle) works, then there is actually no chance to use S3. Some Vendors already removed S3 completely from the firmware, not only hiding it. And the errors could be a sign of it.

Beside that…

There seems to be a newer firmware available: 01.07.00 Rev.A

https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-elitebook-840-14-inch-g9-notebook-pc/2101000805/swItemId/ob-309757-1

Possibly that could fix it. Give it a try :man_shrugging:

Could I do that with a bootable usb? Or do I need to uninstall my whole system?

The problem for me is that neither of the suspends work correctly, I’ll be fine using either one and just hibernating my laptop for the long periods but the s2idle likes to randomly break and just not wake back up and the deep one wakes up every time but without the keyboard.

Thats a wierd one, I tried to update my laptop bios after 1.07 released and I thought I had it downloaded but it seems that something went wrong.
I’ll try to get this new version and will report back.

Edit:
Updated my BIOS, thanks for noticing, the deep sleep issue hasn’t changed but I will try to test s2idle to chceck if it still randomly breaks.
I can’t test the suspend on windows as I will need to get a bigger USB so I’ll test it tommorow.

No idea. Maybe a WinPE live session could work. I don’t know.

Yes I understand the dilemma. I generally don’t use s2idle whenever possible, but I can use it.

Meanwhile, I have tested s2idle on a “HP EliteDesk 800 G4 mini”. deep and s2idle works as expected.

s2idle

Jul 12 23:00:56 Elitedesk systemd[1]: Starting System Suspend...
Jul 12 23:00:57 Elitedesk systemd-sleep[59787]: Entering sleep state 'suspend'...
Jul 12 23:00:57 Elitedesk kernel: PM: suspend entry (s2idle)
Jul 12 23:01:06 Elitedesk kernel: Filesystems sync: 0.909 seconds
Jul 12 23:01:06 Elitedesk kernel: Freezing user space processes
Jul 12 23:01:06 Elitedesk kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Jul 12 23:01:06 Elitedesk kernel: OOM killer disabled.
Jul 12 23:01:06 Elitedesk kernel: Freezing remaining freezable tasks
Jul 12 23:01:06 Elitedesk kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Jul 12 23:01:06 Elitedesk kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 12 23:01:06 Elitedesk kernel: e1000e: EEE TX LPI TIMER: 00000011
Jul 12 23:01:06 Elitedesk kernel: ACPI: EC: interrupt blocked
Jul 12 23:01:06 Elitedesk kernel: intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [45C]
Jul 12 23:01:06 Elitedesk kernel: ACPI: EC: interrupt unblocked
Jul 12 23:01:06 Elitedesk kernel: usb 1-5: reset high-speed USB device number 2 using xhci_hcd
Jul 12 23:01:06 Elitedesk kernel: ata2: SATA link down (SStatus 4 SControl 300)
Jul 12 23:01:06 Elitedesk kernel: OOM killer enabled.
Jul 12 23:01:06 Elitedesk systemd-sleep[59787]: System returned from sleep state.
Jul 12 23:01:06 Elitedesk kernel: Restarting tasks ... done.
Jul 12 23:01:06 Elitedesk kernel: random: crng reseeded on system resumption
Jul 12 23:01:06 Elitedesk kernel: PM: suspend exit
Jul 12 23:01:06 Elitedesk NetworkManager[1112]: <info>  [1689195666.4761] device (eno1): state change: disconnected -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed')
Jul 12 23:01:06 Elitedesk systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 12 23:01:06 Elitedesk systemd[1]: Finished System Suspend.

deep

Jul 12 19:21:43 Elitedesk systemd[1]: Starting System Suspend...
Jul 12 19:21:43 Elitedesk systemd-sleep[35721]: Entering sleep state 'suspend'...
Jul 12 19:21:43 Elitedesk kernel: PM: suspend entry (deep)
Jul 12 19:32:09 Elitedesk kernel: Filesystems sync: 0.033 seconds
Jul 12 19:32:09 Elitedesk kernel: Freezing user space processes
Jul 12 19:32:09 Elitedesk kernel: Freezing user space processes completed (elapsed 0.003 seconds)
Jul 12 19:32:09 Elitedesk kernel: OOM killer disabled.
Jul 12 19:32:09 Elitedesk kernel: Freezing remaining freezable tasks
Jul 12 19:32:09 Elitedesk kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Jul 12 19:32:09 Elitedesk kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 12 19:32:09 Elitedesk kernel: e1000e: EEE TX LPI TIMER: 00000011
Jul 12 19:32:09 Elitedesk kernel: ACPI: EC: interrupt blocked
Jul 12 19:32:09 Elitedesk kernel: ACPI: PM: Preparing to enter system sleep state S3
Jul 12 19:32:09 Elitedesk kernel: ACPI: EC: event blocked
Jul 12 19:32:09 Elitedesk kernel: ACPI: EC: EC stopped
Jul 12 19:32:09 Elitedesk kernel: ACPI: PM: Saving platform NVS memory
Jul 12 19:32:09 Elitedesk kernel: Disabling non-boot CPUs ...
Jul 12 19:32:09 Elitedesk kernel: smpboot: CPU 1 is now offline
Jul 12 19:32:09 Elitedesk kernel: smpboot: CPU 2 is now offline
Jul 12 19:32:09 Elitedesk kernel: smpboot: CPU 3 is now offline
Jul 12 19:32:09 Elitedesk kernel: smpboot: CPU 4 is now offline
Jul 12 19:32:09 Elitedesk kernel: smpboot: CPU 5 is now offline
Jul 12 19:32:09 Elitedesk kernel: ACPI: PM: Low-level resume complete
Jul 12 19:32:09 Elitedesk kernel: ACPI: EC: EC started
Jul 12 19:32:09 Elitedesk kernel: ACPI: PM: Restoring platform NVS memory
Jul 12 19:32:09 Elitedesk kernel: Enabling non-boot CPUs ...
Jul 12 19:32:09 Elitedesk kernel: x86: Booting SMP configuration:
Jul 12 19:32:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Jul 12 19:32:09 Elitedesk kernel: CPU1 is up
Jul 12 19:32:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Jul 12 19:32:09 Elitedesk kernel: CPU2 is up
Jul 12 19:32:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Jul 12 19:32:09 Elitedesk kernel: CPU3 is up
Jul 12 19:32:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Jul 12 19:32:09 Elitedesk kernel: CPU4 is up
Jul 12 19:32:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Jul 12 19:32:09 Elitedesk kernel: CPU5 is up
Jul 12 19:32:09 Elitedesk kernel: ACPI: PM: Waking up from system sleep state S3
Jul 12 19:32:09 Elitedesk kernel: ACPI: EC: interrupt unblocked
Jul 12 19:32:09 Elitedesk kernel: ACPI: EC: event unblocked
Jul 12 19:32:09 Elitedesk kernel: i915 0000:00:02.0: [drm] [ENCODER:94:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
Jul 12 19:32:09 Elitedesk kernel: i915 0000:00:02.0: [drm] [ENCODER:111:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
Jul 12 19:32:09 Elitedesk kernel: i915 0000:00:02.0: [drm] [ENCODER:121:DDI D/PHY D] is disabled/in DSI mode with an ungated DDI clock, gate it
Jul 12 19:32:09 Elitedesk kernel: nvme nvme0: 6/0/0 default/read/poll queues
Jul 12 19:32:09 Elitedesk kernel: nvme nvme0: Ignoring bogus Namespace Identifiers
Jul 12 19:32:09 Elitedesk kernel: usb 1-5: reset high-speed USB device number 2 using xhci_hcd
Jul 12 19:32:09 Elitedesk kernel: ata2: SATA link down (SStatus 4 SControl 300)
Jul 12 19:32:09 Elitedesk kernel: OOM killer enabled.
Jul 12 19:32:09 Elitedesk kernel: Restarting tasks ... done.
Jul 12 19:32:09 Elitedesk kernel: random: crng reseeded on system resumption
Jul 12 19:32:09 Elitedesk kernel: PM: suspend exit
Jul 12 19:32:09 Elitedesk systemd-sleep[35721]: System returned from sleep state.
Jul 12 19:32:09 Elitedesk NetworkManager[1112]: <info>  [1689183129.3564] device (eno1): state change: disconnected -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed')
Jul 12 19:32:09 Elitedesk systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 12 19:32:09 Elitedesk systemd[1]: Finished System Suspend.

Maybe that doesn’t help. But at least I can say, that it generally works, when the firmware is not broken.

Thanks for the effort,

Reading your deep logs it looks generally the same (except for all the erros …), but I noticed that i8042 fails for some reason in my logs and as far as I’m aware toghether with i915 it is responsible for keyboard and touchpad control.
i915 seems to be working fine while i8042 gives me a error of -19

lip 12 22:53:48 siema kernel: i8042: i8042 controller selftest timeout
lip 12 22:53:48 siema kernel: i8042 i8042: PM: dpm_run_callback(): platform_pm_resume+0x0/0x50 returns -19
lip 12 22:53:48 siema kernel: i8042 i8042: PM: failed to resume: error -19

I feel like this is the part that causes the keyboard to not work. I’m just not able to find anything about error -19 on the internet so I don’t even know what could casue it.

Simply look it up:

$ errno 19 
ENODEV 19 No such device

It seems not be able to find the device, which were known before. But that is firmware related and probably a bug. You could try to disable ASPM, since touchpads and keyboards are connected via PCIE on notebooks.

This kernel parameter disables it completely: pcie_aspm=off

Thanks for the lessons, I didn’t know such a thing exsisted.

I added this parameter to my grub boot parameters and tried to do the suspend in the isolated env and nothing changed regarding the i8042 error

Edit:
Also offtopic but I find it suspicous that this exists:

And in the notes section the only thing that is mentioned is this:

Notes
WWAN device is not supported on this machine

Which makes it look like the suspend thereticly should work on ubuntu? But I tested it on the live env ubuntu and it didn’t work
I don’t know how trustable the ubuntu certification is

if this is the issue, you can try the following kernel parameters:
i8042.nomux i8042.reset
update grub, reboot and test…

if you still have issue, try also adding this parameter:
atkbd.reset
update grub, reboot and test

Well, it is not really off-topic. There is the HWE kernel, which comes with LTS releases and OEM Kernels, which were patched for very specific hardware, especially for new hardware, which has no support in the mainline kernel yet. So I guess they patched it in their kernel. You can install the OEM kernel in Ubuntu. :man_shrugging:

https://wiki.ubuntu.com/Kernel/OEMKernel

1 Like

Added this in the grub editor while booting the pc (coz I feared adding it in permanently would cause hard to fix problems without additional keyboard) and the error didn’t change.

Is it aviable only in ubuntu and I cannot try it in manjaro?
If so could I just test it in the bootable env?

Only Ubuntu.

No… at least only if the kernel is the OEM one, what is in general not the case.

So at the end I think deep sleep is unsupported.

I looked at the OEM kernel changes and saw some s2idle related fixes for HP laptops and none for deep sleep so its seems that if the OEM kernel devs are not doing anything about it the s2idle is the only option accessible. (or I’m bad at searching for things which is also likely)

I made a live usb with ubuntu with OEM kernel installed using Cubic (btw uname -r showed me the oem kernel in the laptop so I assume that it worked) and I tried out deep sleep with it and it still had the same issues, specifically the keyboard not working and the whole system in general seemed to be more crash prone after deep sleep.

Do you perhaps know if the changes made in this kernel go into the mainline and if so how long it takes?
I had some other kernel related issues that I saw were fixed on the OEM and later I got the fixes in the main kernel that I have on my laptop so I assume that the main kernel takes some bits from them?

Also I was unable to test s2idle correctly in the live env as I still don’t know what causes it to fail, it can sit for 40 minutes untouched one time and not break and other times it will break with the same apps open.

do you have actually the deep sleep available? check if deep is listed:
cat /sys/power/mem_sleep

if yes, you can try also these parameters:
i8042.nomux=1 i8042.reset=1 atkbd.reset=1

also you can try modprobe the module during suspend;
create this script:
sudo nano /usr/lib/systemd/system-sleep/fix_i8042.sh
and put there this:

#!/bin/sh
case $1/$2 in
  pre/*)
    echo "Removing 'i8042' for $2..."
    modprobe -r i8042
    ;;
  post/* )
    echo "Waking up from $2 , adding 'i8042' ..."
    modprobe i8042
    ;;
esac

save it with ctrl+x, press ‘y’, then enter;
then navigate to the folder and open terminal in the system-sleep folder and run:
chmod a+x fix_i8042.sh
./fix_i8042.sh
reboot and check

No, sorry. It takes how long it takes. Canonical is not one of the top contributor of the kernel. Maybe some patches, they made to the OEM kernel, can be decline. :man_shrugging: