P
P
Pavel Demyanov2020-02-17 21:31:08
macOS
Pavel Demyanov, 2020-02-17 21:31:08

Why does iMac 2019 randomly wake up from sleep?

The task for those who are ready to break their brains and is super difficult:

iMac 2019 randomly wakes up from sleep mode and does not go into it anymore. How to cure it?

Naturally, all simple solutions did not work, such as:
1) Disable wake-up on network request
2) Check system monitoring programs that prevent sleep
3) Disable all USB devices
4) Check scheduler for wakeup schedule
5) Disable Bonjour network devices (Zeroconf)
6 ) Wake up by Bluetooth devices is also disabled
7) Time Machine network is also disabled
8) Reset SMC on Mac
9) Reset NVRAM

For 3 months now I can not cure the abnormal random exit from iMac sleep mode. The logs do not give exactly any useful information about the reason for the exit (Wake reason): Host (0x01) and RTC (Alarm) and XHC2 XHC1 , which, as it were, does not mean anything.

I put the system on an external SSD for verification, I didn’t install a single program, I just logged into my account (Apple ID), turned off all USB devices, turned off Wi-Fi, turned off wakeup during network activity, pulled it out even physically LAN cable and .... still comes out of sleep somewhere in 1-2 hours from sleep and never goes back into it.

I don’t know what to do anymore, what else can I try to diagnose the problem? I ruled out, it seems to me, all possible factors for getting out of sleep.

An important addition in iMac safe mode does not randomly wake up from sleep, that is, everything works as it should.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2020-02-17
@sergiks

Found a similar question in 2014 on the English forum.
tl;dr
Disable discoveryd:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist

Enable mDNSResponder:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

T
Tix-on-007, 2020-04-26
@Tix-on-007

I found in my power supply some planned exits from sleep mode.
How to disable this spying

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question