Known suspend workaround does not work:
https://wiki.t2linux.org/guides/postinstall/

Suspend Workaround¶

S3 suspend has been broken since macOS Sonoma, it has never been fixed,
but this workaround will make deep suspend work. Currently this
workaround works only on Arch based distros.

    Create and edit this file: /etc/systemd/system/suspend-
fix-t2.service

    Check your modprobe and rmmod location by running:

which modprobe
which rmmod

Taking the example as /usr/bin for location of modprobe and rmmod, copy
the following to /etc/systemd/system/suspend-fix-t2.service. If the
location is different, do the changes accordingly.

    [Unit]
    Description=Disable and Re-Enable Apple BCE Module (and Wi-Fi)
    Before=sleep.target
    StopWhenUnneeded=yes

    [Service]
    User=root
    Type=oneshot
    RemainAfterExit=yes

    #ExecStart=/usr/bin/modprobe -r brcmfmac_wcc
    #ExecStart=/usr/bin/modprobe -r brcmfmac
    ExecStart=/usr/bin/rmmod -f apple-bce

    ExecStop=/usr/bin/modprobe apple-bce
    #ExecStop=/usr/bin/modprobe brcmfmac
    #ExecStop=/usr/bin/modprobe brcmfmac_wcc

    [Install]
    WantedBy=sleep.target

    Enable the service by running: sudo systemctl enable suspend-
fix-t2.service

    If you are facing issues with Wi-Fi on resume, uncomment the lines
having brcmfmac and brcmfmac_wcc in the above file.

Note

Make sure you have CONFIG_MODULE_FORCE_UNLOAD=y in the kernel config. To
check, run: zcat /proc/config.gz | grep "CONFIG_MODULE_FORCE_UNLOAD" on
Arch based distros.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2083943

Title:
  Resume after suspend does not work on MacPro 7,1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/2083943/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to