12/25/2023 0 Comments Insomniax sierra![]() ![]() To stop caffeinate and return to normal sleep behavior, you can hit “Control+C” to quit out of caffeinate as it’s running like this, or you can kill it with the ‘killall caffeinate’ command if desired. To temporarily disable sleep functions regardless of sleep settings, run the following command from Terminal in Mac OS X:Īt the core basic function of the command, caffeinate is all that’s necessary, and while caffeinate is active sleep will be prevented until it’s no longer running. How to Disable Sleep with the ‘caffeinate’ Command in Mac OS X A few useful examples are discussed below. I do not know and I do not want to try now.At it’s most simple usage, caffeinate just prevents sleep entirely, but you can modify the command with various flags to prevent just the display from sleeping, provide a specified time to avoid sleeping, prevent sleeping while a command runs, and more. I notice now that it might have done the trick with only AppleThunderboltNHI and IOThunderboltFamily disabled have I done the part from the reddit post that I linked just above after that. Then I followed instructions from a comment on this post : Īnd it worked ! Thank you all and thanks to the internet community as usual ! (and f*** Apple OMFG !) Someone might want to isolate the causes of the issue. I think this was maybe a little bit overkill to do this with all the thunderbolt related extensions but I do not use thunderbolt and it seems to work. I renamed (“…”.bak) the whole bunch thunderbolt related extensions as disabling AppleThunderboltNHI and /IOThunderboltFamily did not seem to do the trick. ![]() You can after that rename your extensions. The command “sudo mount -uw /” works fine. There is indeed no need to go to the recovery mode after having disabled csrutil. This is important to keep the system secure and stable after the change. BAK to the original path and name so that the file stays at the same location with different name and we can restore it back when need)įinally, we reboot into recovery mode again and use terminal there to re-enable the protection on the system files by running csrutil enable. – /System/Library/Extensions/ (this is where we are moving it to. – /System/Library/Extensions/AppleThunderboltNHI.kext (this is the file we are moving) This command will ask for the password and gives no output if successful. Notice there is a space between the first /System/Lib… and the second one. This is one command starting from “sudo” and ends in “.BAK” with no line breaks. This renames the AppleThunderboltNHI.kext file into so that it is not loaded in next boot. We then reboot into the system normally and open terminal and execute the second command. This disables the protection on the AppleThunderboltNHI.kext file. The first command – (csrutil disable) is done from terminal available at the recovery mode which is invoked by pressing cmd+R during boot. after step 2, execute ” sudo mv /System/Library/Extensions/IOThunderboltFamily.kext /System/Library/Extensions/” to rename the other new file which causes this issue.before step 2, execute “sudo umount -uw /” to make the system files editable.To make it work after updating to Catalina the following solutions have been proposed. Thats it! My laptop has been working the whole day without any shutdown and it looks like I saved £800 with three lines of code □Įdit (): As the commenters pointed out, this solution does not work after updating to Catalina. csrutil enable in recovery mode and reboot.sudo mv /System/Library/Extensions/AppleThunderboltNHI.kext /System/Library/Extensions/ in normal terminal and reboot.csrutil disable in recovery mode (entered by pressing Cmd+R on boot) & reboot.Tried it and it worked! It is literally 3 lines of code ( details in this thread). One of the answers claimed that this is caused by a buggy Thunderbolt-Ethernet driver and disabling it will fix it. Today after couple of months, I just took a look at the laptop again and came across this. At this point I gave up hope and bought a £200 Lenovo laptop, installed linux on it and moved on. The projected bill was around £600 – 800. The advice he gave was to get the logic board changed along with the battery. Wipe the laptop clean and install the OS.Run a full hardware diagnostics to find nothing.The silent shutdowns happen erratically 5 mins to an hour from boot.Īt this point I started suspecting the hardware for the issue so I booked an appointment with the apple store.Īt the store, the technician tried the following,.The reason of the shutdown is shown as ‘unknown’ The fan speeds up a lot before shutdown.Finally managed to fix my MacBook Pro (2014 retina 15″)! The issue turned out to be something software related after all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |