-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Anyway to get sleep/suspend working? #23
Comments
My build has already been using this fix, but maybe something has gone wrong in your installation so please follow this article: https://wiki.t2linux.org/guides/dkms/#fixing-suspend Nevertheless even with a fix, suspend sometimes works, sometimes not. |
@mikeeq see my fix at mikeeq/mbp-fedora-kernel#14 (comment) I assume it's already working for people without a touchbar, but for me I need to unload |
Let's check if it's finally working or not. |
The script is fine. It's the touchbar module which is buggy and hangs the system when modprobe -r is run. |
That seems to affect the keyboard |
@AdityaGarg8 Is there a fix for this? I also have a keyboard with a touchbar and they both do not work after suspend. I am now having to restart my computer any time the lid closes. I would be willing to just disable my touchbar completely if that fixes something |
@justinpchang , remove the ibridge drivers for suspend. |
@AdityaGarg8 I unloaded apple_ibridge driver and the other touch bar ones that use it with mod probe -r and I still get the same behavior on suspend. Is this not the correct way to remove them? |
@justinpchang , run
This will remove the driver completely alongwith the touch bar unloading script, since it won't be required now. Restart after running the commands. |
@AdityaGarg8 Thanks! For future people with the same issue, I think my system is set up differently so I had to find the apple-ibridge and apple-ib-tb driver locations with modinfo, then removed them and the script. Then I had to run dracut -f and after reboot, suspend works. |
Hi, |
same behavior with mbp 15 2019 + F37 |
MacBookPro16,1 / Fedora 37 / 6.2.13-300.mbp.fc38,x86_64 Suspend/resume issue - takes long time for the system to come back on wake and keyboard/touchpad not working. |
I would be really happy if it was possible to get this working. It's sort of essential for a laptop to go to sleep. I've just installed the latest version, 38, and it still seems broken. I switched from T2-Ubuntu, and like other user have reported here, over there, it is working. I'm happy to help and provide logs :). |
Hi! After runing systemctl suspend, my screen goes blank for a second and then comes back up for a second, then again goes black and then comes back up again... What worked for me is i ran this: This worked. But obviously there must be a better way to do it or automate it. For some reason, when I suspend, the systemd just skips the rmmod.sh in /lib/systemd/system-sleep/rmmod.sh |
Hello there!
The pre.sh contains:
The post.sh contains :
And finally the power.sh contains:
The above script, tho might be incorrect or not well optimised, just increases the frequency mac runs at. Following the guide on this github page which was there on the t2linux website. |
Thanks, that worked. I've combined all your scripts into one : #!/usr/bin/env bash
if [ "${1}" = "pre" ]; then
systemctl stop NetworkManager
modprobe -r brcmfmac_wcc brcmfmac
elif [ "${1}" = "post" ]; then
modprobe brcmfmac_wcc brcmfmac
systemctl start NetworkManager
modprobe -r apple-bce & modprobe apple-bce
modprobe msr
rdmsr 0x1FC
wrmsr 0x1FC value
fi For the keyboard and trackpad, I had to add this line to the post actions: modprobe -r apple-bce & modprobe apple-bce |
No description provided.
The text was updated successfully, but these errors were encountered: