pepitillo Posted May 19, 2018 Share Posted May 19, 2018 Hi there, I noticed that my system cannot sleep properly, so I run pmset. Here are the results. The strange thing is that I got "sleep 0 (sleep prevented by mds)". What does it mean? Do you think that all other parameters are good to go? Recently I managed to fix reboot on shutdown. Maybe its linked with that. iMac:~ diego$ pmset -g System-wide power settings: Currently in use: standby 1 Sleep On Power Button 1 womp 0 autorestart 0 hibernatefile /var/vm/sleepimage powernap 0 networkoversleep 0 disksleep 10 sleep 0 (sleep prevented by mds) autopoweroffdelay 28800 hibernatemode 0 autopoweroff 1 ttyskeepawake 1 displaysleep 0 tcpkeepalive 1 standbydelay 10800 Thanks! Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/ Share on other sites More sharing options...
Allan Posted May 19, 2018 Share Posted May 19, 2018 Run this app, and upload the file result here. RunMe Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614166 Share on other sites More sharing options...
pepitillo Posted May 20, 2018 Author Share Posted May 20, 2018 I recive a 500 error when I try to download the app. Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614285 Share on other sites More sharing options...
Allan Posted May 20, 2018 Share Posted May 20, 2018 Try this: RunMe Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614312 Share on other sites More sharing options...
pepitillo Posted May 20, 2018 Author Share Posted May 20, 2018 Here you are. Send me iMac.zip 1 Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614337 Share on other sites More sharing options...
Allan Posted May 20, 2018 Share Posted May 20, 2018 Try this: CLOVER.zip 1 Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614353 Share on other sites More sharing options...
pepitillo Posted May 22, 2018 Author Share Posted May 22, 2018 I have the same behaviour. The computer doesn't sleep. Even when I click on sleep it doesn't do anything. If I click three times on sleep, it seems that it works, but after a moment, the PC reboots. I don't know if this has something to do with Aptio firmware (Is a Lenovo desk PC, Aptio V firmware). I've seen updates for the BIOS, but I'm afraid of breaking things Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614602 Share on other sites More sharing options...
MaLd0n Posted May 22, 2018 Share Posted May 22, 2018 take a shot CLOVER.zip if have problem, reboot, press O key in Clover boot screen, go to Acpi Patching/DSDT Name and put DSDT02.aml and remove DSDT.aml in clover/acpi/patched 2 Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614605 Share on other sites More sharing options...
pepitillo Posted May 24, 2018 Author Share Posted May 24, 2018 I've tested your configuration. I have no sensors in HWSensors (Obvious, you deleted the kexts from Clover). I have no sound (I need VoodooHDA). But this time when I click on sleep, the Login page kicks off. If I do that three times (don't know what's happening here haha), the PC sleeps (it doesn't reboot). The computer can wake normally. I don't know what happens if the sleep time is longer. I have to test it. Thanks! Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614822 Share on other sites More sharing options...
MaLd0n Posted May 24, 2018 Share Posted May 24, 2018 1 hour ago, pepitillo said: I've tested your configuration. I have no sensors in HWSensors (Obvious, you deleted the kexts from Clover). I have no sound (I need VoodooHDA). But this time when I click on sleep, the Login page kicks off. If I do that three times (don't know what's happening here haha), the PC sleeps (it doesn't reboot). The computer can wake normally. I don't know what happens if the sleep time is longer. I have to test it. Thanks! extract new files with new folder RunMe.app 1 Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2614828 Share on other sites More sharing options...
pepitillo Posted May 26, 2018 Author Share Posted May 26, 2018 here you are Send me iMac.zip 1 Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2615113 Share on other sites More sharing options...
MaLd0n Posted May 26, 2018 Share Posted May 26, 2018 7 minutes ago, pepitillo said: here you are Send me iMac.zip u don't need voodootscsync, remove it, ur processor have a full native support Audio work? Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2615115 Share on other sites More sharing options...
pepitillo Posted May 27, 2018 Author Share Posted May 27, 2018 I tried to boot without voodootscsync, but I cannot reach the desktop. It stays on the Apple logo. The system is working under it and if I do Ctrl + UP I can't get rid for a moment of the logo. It's strange, reintroducing the kext fixes the problem. I don't know how it's linked. Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2615258 Share on other sites More sharing options...
smukaj Posted April 5, 2019 Share Posted April 5, 2019 hello I cannot go to sleep on my mackintosh, shutdown working fine SM-MAC.zip Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2669167 Share on other sites More sharing options...
MaLd0n Posted April 5, 2019 Share Posted April 5, 2019 2 hours ago, smukaj said: hello I cannot go to sleep on my mackintosh, shutdown working fine SM-MAC.zip check if work, use power button for wake DSDT.aml.zip extract new send_me after reboot 1 Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2669192 Share on other sites More sharing options...
kabobslice Posted August 28, 2019 Share Posted August 28, 2019 Did this get solved? Im experiencing a similar Issue on my Acer e5-576g Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2687701 Share on other sites More sharing options...
newworlder Posted March 21, 2020 Share Posted March 21, 2020 Hi. I cannot go to sleep on my hackintosh, shutdown works fine. Could anyone help out? Enclosed my files Send me Les-MacBook-Pro 2.zip Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2713158 Share on other sites More sharing options...
Cipha Posted April 28, 2020 Share Posted April 28, 2020 Update to Catalina worked nice. Only two minor problems: • iMac is a new device for Apple (copying Serialnumber and Boardserielnumber from old to new plsit doesnt seem to do the trick - is there a solution to this?) • Standby after x minutes isn't working (mdsync blocks it) - manual standby works fine All I changed in your config was the Serialnumbers and I added the parameter for 9700k. Aside from that everything seems to work pretty nice. Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2719781 Share on other sites More sharing options...
naquaada Posted April 17, 2025 Share Posted April 17, 2025 (edited) Hello, I know the thread is old, but I have the same problem. Assertion status system-wide: BackgroundTask 1 PreventDiskIdle 0 ApplePushServiceTask 0 UserIsActive 0 PreventUserIdleDisplaySleep 0 InteractivePushServiceTask 0 PreventSystemSleep 0 ExternalMedia 0 PreventUserIdleSystemSleep 0 NetworkClientActive 0 Listed by owning process: pid 96(mds): [0x0000000c00000132] 00:01:15 BackgroundTask named: "com.apple.metadata.mds.power" pid 11(UserEventAgent): [0x0000000c00000133] 00:01:15 BackgroundTask named: "com.apple.metadata.mds.power" Kernel Assertions: 0x4=USB id=501 level=255 0x4=USB mod=17.04.25 02:37 description=EHC2 owner=AppleUSBEHCI id=502 level=255 0x4=USB mod=17.04.25 02:37 description=EHC1 owner=AppleUSBEHCI But even when I kill mds and BackgroundTask = 0 it won't get to sleep. I have at least for Ivy Bridge systems here, but this is the only one which refuses to sleep. But the is the only one with a Core i5 3570, the others are having an i7 3770S and 3770K. But I have another 3770S here. Are they more compatible than the i5? Intel graphics kexts are removed. I'm using a Sapphire GPRO 6200, which is based on the Cape Verde PRO GL chip. I guess I don't have hardware graphics acceleration and DRM. I'm using on all systems with Clover. It is installed in the EFI partition. Kexts are in /Library/Extensions because I'm using different versions of macOS. I added my Clover configuration. Greets, naquaada. config.plist Edited April 17, 2025 by naquaada Link to comment https://www.insanelymac.com/forum/topic/334128-sleep-prevented-by-mds/#findComment-2831629 Share on other sites More sharing options...
Recommended Posts