-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s2idle sleep mode does not work and prevent computer to completely shutdown #99
Comments
dmesg for suspend/resume
|
what mac model is this? has it ever worked in the past (if so, do you know when or what kernel versions)? can you reproduce the issue on the official, not-t2, ubuntu kernel? |
also, is normal, not s2idle suspend fine? or maybe if you don't load the xhci_hcd or don't plug in any usb devices, see if it works then? |
The mac is 2019 Macbook Air. BTW, are you able to reproduce s2idle issue on your side? |
My kernel is 6.2 (latest t2linux ubuntu kernel) |
you might be able to file an upstream bug with ubuntu then.
ah right
I haven't tested that, I'm not sure when I'll get time. |
Can you do me a favor and try a simple test?
Then wake up
|
Hi there! I have 2020 MBA updated to sonoma. Installed Ubuntu 6.9.8-3-t2-jammy and experienced issue with not working suspend/hibernate. I know about same issue on other distros like debian/Arch. Recently find out it appeared new workaround based on service which shut down brcmfmac/apple-bce modules before suspend and start them after resume. I tried that with no luck (see #53 (comment)) Is there exists some workaround for ubuntu or maybe the issue will be addressed in future? AdityaGarg8 said that he is not working for ubuntu. ps. here is my last attempt to run deepSleep (#53 (comment)) |
I'm test compiling the Xanmod kernel. Let's see if it works there. |
Good news. Suspend worked on Xanmod kernels with the workaround! |
AWESOME! Thanx! So excited to update) |
I've released the Xanmod kernels, but suspend is still not that stable as it should be. You can now try them |
AdityaGarg8 thank you! |
I've been following this: https://wiki.t2linux.org/guides/postinstall/#suspend-workaround And yes, I am also often encountering the same issue you told. I'm trying tweaking the kernel config a bit to make it more stable. |
Also make sure you install xanmod
|
The service won't work on normal kernels. |
got it, thanx |
Installed xanmod and checked suspending. System now suspending and resuming correctly with the workaround but I experienced with not worked touchpad and keyboard. Even after enabling fix-service keyboard and touchpad stop to work, noticed that backlit opposite start to work) |
Hi @AdityaGarg8
All test was with uncommented rows with brcmfmac_wcc and brcmfmac in /etc/systemd/system/suspend-fix-t2.service Should I create new issue in github.com/t2linux/T2-Ubuntu ? |
Someone got suspend working by adding |
acpi_osi=!Darwin in grub? |
Yes grub |
I just checked it.
also disabled suspend-fix-t2.service aaaaand got system resume after few seconds
here is log: then changed kernel to I had some success when testing the patch and now i believe it can be made to work somehow |
Nice to know you got it working. I'll fiddle with this when I get time. |
yep, just for clarity, it's barely working - only with xanmod + workaround, without backlit and resume is not stabil |
Hi
When I use s2idle sleep mode, I run into an issue with my usb controller and I think those errors prevent my computer to completely shutdown or to sleep again
And here is the message during shutdown, then my computer stuck there.
lsusb output
0000:08:00.0
is managing Bus 003 and 004The text was updated successfully, but these errors were encountered: