Il giorno mer, 14/09/2022 alle 22.47 +0100, Patrick O'Callaghan ha
scritto:
> Are you sure it isn't the default?

Yes You're right.
On my system the flag is set to 1 by default:

[lesca@dodo ~]$ cat /sys/power/sync_on_suspend
1

And other flag is set to sync and suspend
[lesca@dodo ~]$ grep -i suspend /boot/config-$(uname -r)
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_PM_TEST_SUSPEND=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_CXL_SUSPEND=y
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_USB_AUTOSUSPEND_DELAY=2

But sometime the suspend action do not work, also if I run:
[lesca@dodo ~]$ sudo sh -c 'sync; sync; systemctl suspend'

I must unplug all USB, then suspend.

There are some other thinks I can do?

Many Thanks

-- 
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

Reply via email to