Acer Acer SF114-34 wakeup immediately after suspend // 20.04.3 LTS (Focal Fossa)

abdulaleem45
abdulaleem45 Member Posts: 1 New User
edited November 2021 in Swift and Spin Series

after i added an mSATA i have the problem, that my Acer SF114-34 would not go to standby. before it worked perfectly...

I already

  • Manipulate /etc/systemd/logind.conf HandleSuspendKey=suspend HandleLidSwitch=suspend HandleLidSwitchDocked=suspend
  • Already activated "suspend after closed lid" in Gnome-Tweak-Tool
  • In Bios S3 is active. I never change these setting.
  • The new mSATA is encrypted with Luks

Command: journalctl| grep suspend

Nov 08 17:20:57 cthulhu systemd[1]: systemd-suspend.service: Succeeded. Nov 08 17:22:55 cthulhu ModemManager[1079]: [sleep-monitor] system is about to suspend Nov 08 17:23:00 cthulhu kernel: PM: suspend entry (deep) Nov 08 17:23:02 cthulhu kernel: printk: Suspending console(s) (use no_console_suspend to debug) Nov 08 17:23:03 cthulhu kernel: PM: suspend exit Nov 08 17:23:03 cthulhu systemd[1]: systemd-suspend.service: Succeeded. Nov 08 18:41:28 cthulhu ModemManager[1066]: [sleep-monitor] system is about to suspend Nov 08 18:41:33 cthulhu kernel: PM: suspend entry (deep) Nov 08 18:41:35 cthulhu kernel: printk: Suspending console(s) (use no_console_suspend to debug) Nov 08 18:41:36 cthulhu kernel: PM: suspend exit Nov 08 18:41:36 cthulhu systemd[1]: systemd-suspend.service: Succeeded. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu ModemManager[1066]: [sleep-monitor] system is about to suspend Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:31 cthulhu systemd-logind[1005]: Requested hibernate operation is not supported, using regular suspend instead. Nov 08 18:47:36 cthulhu kernel: PM: suspend entry (deep) Nov 08 18:47:38 cthulhu kernel: printk: Suspending console(s) (use no_console_suspend to debug) Nov 08 18:47:39 cthulhu kernel: PM: suspend exit Nov 08 18:47:39 cthulhu systemd[1]: systemd-suspend.service: Succeeded.

Do you have any idea to fix that? Thank's and Greetings

Answers

  • Easwar
    Easwar Member Posts: 6,727 Guru
    Hi @abdulaleem45,

    ​​​​ ​In the BIOS information page is the unit HDD is showing. ​
  • yatsvic
    yatsvic Member Posts: 2 New User
    edited December 2021
    @abdulaleem45 I fixed it on Ubuntu 20.04
    sudo echo '
    #!/bin/sh

    # /lib/systemd/system-sleep/suspend_fix
    #
    # Avoids that system wakes up immediately after suspend or hibernate
    #
    # Tested on Acer Swift 1 SF114-34

    case $1 in
      pre)
        if grep -qE '^XHCI.*enabled' /proc/acpi/wakeup; then
            echo XHCI > /proc/acpi/wakeup
        fi
        ;;
    esac
    ' > /lib/systemd/system-sleep/suspend_fix && sudo chmod a+x /lib/systemd/system-sleep/suspend_fix

    I had updated BIOS to 1.11 and linux to 5.15.6 before I tried this solution.


  • yatsvic
    yatsvic Member Posts: 2 New User
    I added second device:
    #!/bin/sh
     
    # /lib/systemd/system-sleep/suspend_fix
    #
    # Avoids that system wakes up immediately after suspend or hibernate
    #
    # Tested on Acer Swift 1 SF114-34
     
    case $1 in
      pre)
        if grep -qE '^XHCI.*enabled' /proc/acpi/wakeup; then
            echo XHCI > /proc/acpi/wakeup
        fi
        if grep -qE '^RP05.*enabled' /proc/acpi/wakeup; then
        echo RP05 > /proc/acpi/wakeup
        fi
        ;;
    esac