I have resolve this problem follow this Arch Linux howto:
https://wiki.archlinux.org/title/Power_management#Hybrid-sleep_on_suspend_or_hibernation_request

I have add these lines at the end of /etc/systemd/sleep.conf file
SuspendMode=suspend
SuspendState=disk
HibernateMode=suspend
HibernateState=disk

Now suspend work fine every time

Thanks
Dario
 
Il giorno mer, 14/09/2022 alle 09.25 +0200, Dario Lesca ha scritto:
> When I try suspend with "systemctl suspend" my notebook Fedora 36
> sometime do not suspend with "PM: Some devices failed to suspend, or
> early wake event detected" error.
> 
> Someone can help me to resolve this issue?
> 
> Many thanks
> Dario
> 
> #----------------------------
> set 14 00:41:26 dodo.home.solinos.it kernel: PM: suspend entry
> (s2idle)
> set 14 00:41:26 dodo.home.solinos.it kernel: Filesystems sync: 0.006
> seconds
> set 14 00:41:28 dodo.home.solinos.it kernel: Freezing user space
> processes ... (elapsed 0.005 seconds) done.
> set 14 00:41:28 dodo.home.solinos.it kernel: OOM killer disabled.
> set 14 00:41:28 dodo.home.solinos.it kernel: Freezing remaining
> freezable tasks ... (elapsed 0.002 seconds) done.
> set 14 00:41:28 dodo.home.solinos.it kernel: printk: Suspending
> console(s) (use no_console_suspend to debug)
> set 14 00:41:28 dodo.home.solinos.it kernel: xhci_hcd 0000:00:14.0:
> PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
> set 14 00:41:28 dodo.home.solinos.it kernel: xhci_hcd 0000:00:14.0:
> PM: dpm_run_callback(): pci_pm_suspend+0x0/0x160 returns -16
> set 14 00:41:28 dodo.home.solinos.it kernel: xhci_hcd 0000:00:14.0:
> PM: failed to suspend async: error -16
> set 14 00:41:28 dodo.home.solinos.it kernel: PM: Some devices failed
> to suspend, or early wake event detected
> set 14 00:41:28 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> Refused to change power state from D3hot to D0
> set 14 00:41:28 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> Refused to change power state from D3hot to D0
> set 14 00:41:28 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> Refused to change power state from D3hot to D0
> set 14 00:41:28 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> fb: VPR locked, but no scrubber binary!
> set 14 00:41:28 dodo.home.solinos.it kernel: usb 1-3: reset high-
> speed USB device number 4 using xhci_hcd
> set 14 00:41:28 dodo.home.solinos.it kernel: ata1: SATA link down
> (SStatus 4 SControl 300)
> set 14 00:41:28 dodo.home.solinos.it kernel: usb 1-3.1: reset low-
> speed USB device number 6 using xhci_hcd
> set 14 00:41:28 dodo.home.solinos.it kernel: usb 1-3.2: reset high-
> speed USB device number 8 using xhci_hcd
> set 14 00:41:28 dodo.home.solinos.it kernel: PM: resume devices took
> 1.418 seconds
> set 14 00:41:28 dodo.home.solinos.it kernel: OOM killer enabled.
> set 14 00:41:28 dodo.home.solinos.it kernel: Restarting tasks ...
> done.
> set 14 00:41:28 dodo.home.solinos.it gvfsd[219783]: PTP: reading
> event an error 0x05 occurred
> set 14 00:41:28 dodo.home.solinos.it kernel: thermal thermal_zone9:
> failed to read out thermal zone (-61)
> set 14 00:41:29 dodo.home.solinos.it bluetoothd[1739]: Controller
> resume with wake event 0x0
> set 14 00:41:29 dodo.home.solinos.it kernel: PM: suspend exit
> set 14 00:41:29 dodo.home.solinos.it kernel: PM: suspend entry
> (s2idle)
> set 14 00:41:29 dodo.home.solinos.it kernel: Filesystems sync: 0.002
> seconds
> set 14 00:41:31 dodo.home.solinos.it kernel: Freezing user space
> processes ... (elapsed 0.002 seconds) done.
> set 14 00:41:31 dodo.home.solinos.it kernel: OOM killer disabled.
> set 14 00:41:31 dodo.home.solinos.it kernel: Freezing remaining
> freezable tasks ... (elapsed 0.003 seconds) done.
> set 14 00:41:31 dodo.home.solinos.it kernel: printk: Suspending
> console(s) (use no_console_suspend to debug)
> set 14 00:41:31 dodo.home.solinos.it kernel: mei_hdcp 0000:00:16.0-
> b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops
> i915_hdcp_component_ops [i915])
> set 14 00:41:31 dodo.home.solinos.it kernel: xhci_hcd 0000:00:14.0:
> PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
> set 14 00:41:31 dodo.home.solinos.it kernel: xhci_hcd 0000:00:14.0:
> PM: dpm_run_callback(): pci_pm_suspend+0x0/0x160 returns -16
> set 14 00:41:31 dodo.home.solinos.it kernel: xhci_hcd 0000:00:14.0:
> PM: failed to suspend async: error -16
> set 14 00:41:31 dodo.home.solinos.it kernel: PM: Some devices failed
> to suspend, or early wake event detected
> set 14 00:41:31 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> Refused to change power state from D3hot to D0
> set 14 00:41:31 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> Refused to change power state from D3hot to D0
> set 14 00:41:31 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> Refused to change power state from D3hot to D0
> set 14 00:41:31 dodo.home.solinos.it kernel: nouveau 0000:01:00.0:
> fb: VPR locked, but no scrubber binary!
> set 14 00:41:31 dodo.home.solinos.it kernel: usb 1-3: reset high-
> speed USB device number 4 using xhci_hcd
> set 14 00:41:31 dodo.home.solinos.it kernel: ata1: SATA link down
> (SStatus 4 SControl 300)
> set 14 00:41:31 dodo.home.solinos.it kernel: usb 1-3.1: reset low-
> speed USB device number 6 using xhci_hcd
> set 14 00:41:31 dodo.home.solinos.it kernel: usb 1-3.2: reset high-
> speed USB device number 8 using xhci_hcd
> set 14 00:41:31 dodo.home.solinos.it kernel: PM: resume devices took
> 1.418 seconds
> set 14 00:41:31 dodo.home.solinos.it kernel: OOM killer enabled.
> set 14 00:41:31 dodo.home.solinos.it kernel: Restarting tasks ... 
> set 14 00:41:31 dodo.home.solinos.it kernel: mei_hdcp 0000:00:16.0-
> b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops
> i915_hdcp_component_ops [i915])
> set 14 00:41:31 dodo.home.solinos.it kernel: done.
> set 14 00:41:31 dodo.home.solinos.it gvfsd[219783]: PTP: reading
> event an error 0x05 occurred
> set 14 00:41:31 dodo.home.solinos.it kernel: thermal thermal_zone9:
> failed to read out thermal zone (-61)
> set 14 00:41:31 dodo.home.solinos.it systemd-sleep[225719]: Failed to
> put system to sleep. System resumed again: Device or resource busy
> set 14 00:41:31 dodo.home.solinos.it kernel: PM: suspend exit
> set 14 00:41:31 dodo.home.solinos.it bluetoothd[1739]: Controller
> resume with wake event 0x0
> set 14 00:41:31 dodo.home.solinos.it systemd[1]: systemd-
> suspend.service: Main process exited, code=exited, status=1/FAILURE
> set 14 00:41:31 dodo.home.solinos.it systemd[1]: systemd-
> suspend.service: Failed with result 'exit-code'.
> set 14 00:41:31 dodo.home.solinos.it systemd[1]: Failed to start
> systemd-suspend.service - System Suspend.
> set 14 00:41:31 dodo.home.solinos.it audit[1]: SERVICE_START pid=1
> uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
> msg='unit=systemd-suspend comm="systemd"
> exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
> res=failed'
> set 14 00:41:31 dodo.home.solinos.it systemd[1]: Dependency failed
> for suspend.target - Suspend.
> set 14 00:41:31 dodo.home.solinos.it systemd[1]: suspend.target: Job
> suspend.target/start failed with result 'dependency'.
> set 14 00:41:31 dodo.home.solinos.it ModemManager[1836]: <info> 
> [sleep-monitor] system is resuming
> set 14 00:41:31 dodo.home.solinos.it systemd-logind[1762]: Operation
> 'sleep' finished.
> 
> -- 
> Dario Lesca
> (inviato dal mio Linux Fedora 36 Workstation)
> 
> 
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to