- Настройка параметров перехода в режим сна и выхода из режима сна для Mac
- Настройка параметров перехода в режим сна и выхода из режима сна для настольного компьютера Mac
- Настройка параметров перехода в режим сна и выхода из режима сна для ноутбука Mac
- Если компьютер Mac не переходит в режим сна или не выходит из режима сна
- darwin / 00-readme.md
- Determine Why Your Mac Wakes Up From Sleep
- How to Find Out Why a Mac is Waking From Sleep
- Wake Reason Codes & What They Mean in Mac OS X
- Related
- Enjoy this tip? Subscribe to our newsletter!
- Thank you!
- Related articles:
- 72 Comments
Настройка параметров перехода в режим сна и выхода из режима сна для Mac
Вы можете настроить Mac таким образом, чтобы он автоматически переходил в режим сна, если он не используется определенное время. Вы также можете настроить Mac таким образом, чтобы он переходил в режим сна и выходил из режима сна в заданное время.
Примечание. Набор параметров зависит от того, какой у Вас компьютер Mac.
Настройка параметров перехода в режим сна и выхода из режима сна для настольного компьютера Mac
На Mac выберите пункт меню «Apple»
> «Системные настройки», затем нажмите «Экономия энергии».
Выполните одно из следующих действий.
Настройте Mac таким образом, чтобы он переходил в режим сна и выходил из режима сна в заданное время. Нажмите «Расписание» в правом нижнем углу, затем выберите необходимые параметры.
Укажите период бездействия, по истечении которого компьютер или монитор должны переходить в режим сна. Перетяните бегунки «Режим сна компьютера» и «Режим сна дисплея».
Выключите автоматический переход Mac в режим сна. Выберите «Предотвращать автопереход компьютера в режим сна при выключенном дисплее».
Настройте перевод жестких дисков в режим сна. Выберите «По возможности переводить диски в режим сна».
Включите автоматическую перезагрузку Mac, если доступно питание. Выберите «Перезагружать автоматически при сбое питания».
Включите обновление системы в режиме сна. Установите флажок «Включить Power Nap».
Разрешите Mac ненадолго выходить из режима сна, чтобы пользователи могли получать доступ к общим службам (если применимо). Выберите необходимые варианты «Выводить из режима сна для», например «Выводить из режима сна для доступа к сети».
Настройка параметров перехода в режим сна и выхода из режима сна для ноутбука Mac
На Mac выберите меню Apple
> «Системные настройки», затем нажмите «Аккумулятор».
Выполните одно из следующих действий.
Настройте Mac таким образом, чтобы он переходил в режим сна и выходил из режима сна в заданное время. Нажмите «Расписание» и выберите необходимые параметры.
Включите переключение между графическими режимами. Нажмите «Аккумулятор» или «Сетевой адаптер», затем установите флажок «Автоматическое переключение графики», чтобы компьютер автоматически переключался между графическими режимами для увеличения времени работы от аккумулятора.
Установите время ожидания при работе с ноутбуком Mac от аккумулятора. Нажмите «Аккумулятор», затем перетяните бегунок «Выключить дисплей после».
Установите время ожидания при работе с ноутбуком Mac от адаптера питания. Нажмите «Сетевой адаптер», затем перетяните бегунок «Выключить дисплей после».
Выключите автоматический переход Mac в режим сна. Нажмите «Сетевой адаптер», затем установите флажок «Отключить автопереход компьютера в режим сна при выключенном дисплее».
Настройте перевод жестких дисков в режим сна. Нажмите «Аккумулятор» или «Сетевой адаптер», затем установите флажок «По возможности переводить диски в режим сна».
Уменьшите яркость экрана при работе от аккумулятора. Нажмите «Аккумулятор», затем установите флажок «Слегка затемнять экран при питании от аккумулятора».
Включите обновление системы в режиме сна. Нажмите «Аккумулятор», затем установите флажок «Включить Power Nap при питании от аккумулятора». Нажмите «Сетевой адаптер», затем установите флажок «Включить Power Nap при подключении к сетевому адаптеру».
Разрешите Mac ненадолго выходить из режима сна, чтобы пользователи могли получать доступ к общим службам (если применимо). Нажмите «Сетевой адаптер», затем выберите необходимые варианты «Выводить из режима сна для»; например, «Выводить из режима сна для доступа к сети».
Источник
Если компьютер Mac не переходит в режим сна или не выходит из режима сна
Если компьютер Mac не переходит в режим сна тогда, когда нужно, или выходит из режима сна в непредсказуемый момент, попробуйте изменить параметры режима сна. Если это не помогло, возможно, какой-то процесс выводит компьютер Mac из режима сна.
Проверьте настройки режима сна. Убедитесь, что параметры режима сна соответствуют желаемым. Чтобы просмотреть настройки режима сна, выберите меню Apple
> «Системные настройки», затем выполните одно из следующих действий.
Если Вы используете настольный компьютер Mac. Нажмите «Экономия энергии». Чтобы установить время до перехода компьютера в режим сна, перетяните бегунки «Режим сна компьютера» и «Режим сна дисплея».
Если Вы используете ноутбук Mac. Нажмите «Аккумулятор», затем нажмите «Аккумулятор» или «Сетевой адаптер». Чтобы установить время до перехода компьютера в режим сна, перетяните бегунок «Выключить дисплей после». Также можно снять флажок «Отключить автопереход компьютера в режим сна при выключенном дисплее» в панели «Сетевой адаптер».
Проверьте настройки сетевого доступа. Другие пользователи могут выводить компьютер Mac из режима сна удаленно для доступа к его общим ресурсам. Если Вы этого не хотите, выберите меню Apple
> «Системные настройки», затем выполните одно из следующих действий.
Если Вы используете настольный компьютер Mac. Нажмите «Экономия энергии», затем снимите флажок «Выводить из режима сна для доступа к сети».
Если Вы используете ноутбук Mac. Нажмите «Аккумулятор», нажмите «Сетевой адаптер», затем снимите флажок «Выводить из режима сна для доступа к сети».
Проверьте настройки Bluetooth. Устройства Bluetooth могут выводить компьютер Mac из режима сна. Чтобы Bluetooth-клавиатура или мышь не выводили Mac из режима сна, выберите пункт меню «Apple»
> «Системные настройки» и нажмите «Bluetooth».
Нажмите «Дополнения» и снимите флажок «Разрешить устройствам Bluetooth выводить этот компьютер из режима сна».
Проверьте настройки общего доступа. Пользователи, которые обращаются к общим ресурсам и службам на компьютере Mac, могут помешать ему находиться в режиме сна. Например, они могут пользоваться принтером, подключенным к Вашему компьютеру Mac, или общими файлами, хранящимися на компьютере. Чтобы проверить правильность настроек общего доступа, выберите пункт меню «Apple»
> «Системные настройки» и нажмите «Общий доступ».
Выключите все ненужные службы, сняв флажки «Вкл.» рядом с ними.
Проверьте активность системы. Выполнение процессов в фоновом режиме может предотвратить переход Mac в режим сна. С помощью приложения «Мониторинг системы» посмотрите, нет ли процессов, которые используют центральный процессор Mac. Откройте окно Finder, затем перейдите в «Программы» > «Утилиты» > «Мониторинг системы». Нажмите кнопку «ЦП» в верхней части.
Проверьте, не является ли причиной выхода из режима сна какой-либо процесс или действие. Проверьте следующее.
Случайное нажатие клавиатуры, мыши или трекпада. Компьютер Mac может выходить из режима сна при нажатии клавиш на клавиатуре или кнопки на мыши или трекпаде. Если Ваш компьютер Mac в Ваше отсутствие выходит из режима сна, возможно, какой-то предмет давит на трекпад, клавиши клавиатуры или кнопку мыши.
Приложения. Препятствовать переходу компьютера Mac в режим сна могут приложения, которые обращаются к диску. Например, приложение «Музыка» обращается к диску для чтения воспроизводимых песен, а DVD-плеер обращается к оптическому дисководу для воспроизведения фильмов.
Индексация Spotlight. Если приложение «Spotlight» индексирует Ваш жесткий диск, Ваш компьютер Mac не перейдет в режим сна. Откройте Spotlight , чтобы посмотреть, не выполняется ли индексация. Индексирование может занять несколько часов в зависимости от количества файлов на Вашем компьютере Mac.
Подключенный накопитель и другие устройства. Препятствовать переходу компьютера Mac в режим сна могут неисправные накопители и устройства USB или Thunderbolt. Отключите эти устройства и проверьте, перейдет ли Ваш компьютер Mac в режим сна. Если он перейдет в режим сна, начните снова подключать устройства по очереди до тех пор, пока Вы не найдете неисправное. За подробной информацией обращайтесь к производителю устройства.
Источник
darwin / 00-readme.md
Wake reason: XHC1
Since macOS High Sierra (maybe even Sierra) I started having trouble putting my iMac (mid 2015) to sleep. After installing clean Mojave system the problem didn’t go away, even after jumping through various hoops and trying to disable every software which might be causing it.
After entering sleep mode the computer did DarkWake unexpectedly. Usually within one minute after sleeping. This was especially annoying because my external drives would spin up at that point.
I was able to isolate the problem to rogue USB device causing this issue. In my case it was «SteelSeries Sensei Mouse».
Note that DarkWake means waking computer without turning display(s) on.
The problem technically:
In the log-01 you can identify:
- 2018-09-29 21:49:28 +0200 Sleep my computer finally entering sleep
- 2018-09-29 21:50:07 +0200 DarkWake wake due to «XHC1/» (caused by the mouse)
- 2018-09-29 21:50:32 +0200 Wake wake by me hitting a keyboard key
In the log-02 you can identify:
- 2018-09-29 21:43:47 +0200 Sleep
- 2018-09-29 21:46:01 +0200 DarkWake wake by me hitting a keyboard key
- 2018-09-29 21:46:02 +0200 Wake
Note the timing. In the first (bad) case the DarkWake was spontaneous caused by the mouse less than 1min after Sleep . And full Wake was done
30s later by me. In the second (good) case DarkWake and Wake came together in reaction to me pressing a key, 2+ mins after Sleep .
Источник
Determine Why Your Mac Wakes Up From Sleep
Have you ever put your Mac to sleep, only to find it awake seemingly on it’s own when you return to the machine? I’ve run into this mystery of a randomly waking Mac a few times, and with a few terminal commands you can help track down what caused your Mac to wake from sleep. So if you’re wondering why your Mac is waking from sleep, read on to learn how you can help determine the cause.
Do know there are many reasons why this can happen, sometimes it’s a hardware event that causes the Mac to wake from sleep, sometimes it’s software, and sometimes it is something else. This guide will help to determine the reason for any Mac, iMac, MacBook Air, Pro, etc, waking from a sleep state. Yes it is slightly technical and uses the command line in Mac OS X to look through system logs, and you’ll then need to compare a multiple character ‘wake reason’ code to a list shown below indicating what the actual sleep reason is. Let’s get started.
How to Find Out Why a Mac is Waking From Sleep
Launch the Terminal, found in /Applications/Utilities/ and type the following at the command line exactly, depending on your version of MacOS system software:
For MacOS Sierra, Mojave, Catalina, and newer, with the new logging system, use the following command:
log show |grep -i “Wake reason”
For MacOS El Capitan, Yosemite, Mavericks, and older, with the traditional syslog command:
syslog |grep -i «Wake reason»
Hit return and you will then see a report from the system logs in Mac OS X that looks something like the following:
Sat Jul 10 08:49:33 MacBookPro kernel[0] : Wake reason = OHC1
Sat Jul 10 17:21:57 MacBookPro kernel[0] : Wake reason = PWRB
Sun Jul 11 08:34:20 MacBookPro kernel[0] : Wake reason = EHC2
Sun Jul 16 18:25:28 MacBookPro kernel[0] : Wake reason = OHC1
Now you’re going to want to look at the code next to the “Wake reason=” text, this is what is going to help to tell you why the computer is waking out of sleep. So what do these wake reason codes mean?
Wake Reason Codes & What They Mean in Mac OS X
We’ll describe each kernel debug wake reason code and what it pertains to, leading you to what is causing the machine to wake up.
- OHC: stands for Open Host Controller, is usually USB or Firewire. If you see OHC1 or OHC2 it is almost certainly an external USB keyboard or mouse that has woken up the machine.
- EHC: standing for Enhanced Host Controller, is another USB interface, but can also be wireless devices and bluetooth since they are also on the USB bus of a Mac.
- USB: a USB device woke the machine up
- LID0: this is literally the lid of your MacBook or MacBook Pro, when you open the lid the machine wakes up from sleep.
- PWRB: PWRB stands for Power Button, which is the physical power button on your Mac
- RTC: Real Time Clock Alarm, is generally from wake-on-demand services like when you schedule sleep and wake on a Mac via the Energy Saver control panel. It can also be from launchd setting, user applications, backups, and other scheduled events.
There may be some other codes (like PCI, GEGE, etc) but the above are the ones that most people will encounter in the system logs. Once you find out these codes, you can really narrow down what is causing your Mac to wake up from sleep seemingly at random.
Note: You can also monitor the Wake Reason codes by looking at the Console if you are not comfortable with the command line. However, in my experience the Console is slower to search and use than the Terminal. This is usually because the default string match search in Console will look through all of your system and applications logs, including those from third parties.
Did you find this useful for tracking down why a Mac woke from sleep? Do you have any other tips or suggestions for discovering similar information? Share with us in the comments below. And thank you to Matt for providing this awesome tip idea!
Related
Enjoy this tip? Subscribe to our newsletter!
Get more of our great Apple tips, tricks, and important news delivered to your inbox with the OSXDaily newsletter.
Thank you!
You have successfully joined our subscriber list.
Related articles:
72 Comments
Hallo Robin, ich hab auch das Problem mit dem Spit user und kann leider garnichts dazu im Internet finden, nur diesen Beitrag hier. Mein Mac wacht ständig auf.. Hast du damals eine Lösung dazu gefunden? Danke und viele Grüße 🙂
I am getting this and have not idea why. This started after i downloaded the newest operating system
iMac:
ciarrai$ syslog |grep -i “Wake reason”
NOTE: Most system logs have moved to a new logging system. See log(1) for more information.
iMac:
ciarrai$
What new logging system?
For anyone still looking:
log show |grep -i “Wake reason”
“grep: reason”: No such file or directory”
Beware that cutting and pasting will put in the wrong double quotes. Type the command in by hand or replace the quote characters only and it should work.
What does the message AM kernel: Wake reason: SPIT (User) mean??
Not a single one of these has provide a clue that fixed my issue. Been all over System Preferences. Looked at WiFI, Energy Saver, But Tooth, Network, Desktop & Screen Savers. Turned off everything I can think of. Still wakes up for no reason.
try this one with macOS High Sierra: log show –style syslog | fgrep “Wake reason”
I just updated to OS X High Sierra. So the old terminal command didn’t work, but the new one you gave didn’t work either. The response I got was:
grep: reason”: No such file or directory
Help! Why does my computer wake up after I put it to sleep?
The command must be inputted correctly into the Terminal.
The proper syntax for syslog is:
syslog |grep -i «Wake reason»
You can also try the console or log command.
log show |grep -i «Wake reason»
The command line requires exact syntax otherwise the commands will not work properly. If you are unfamiliar with the command line, it is best not to use it.
You can manually look around in your “Console” application as well, found via Spotlight or in Utilities folder.
If you get the message:
NOTE: Most system logs have moved to a new logging system. See log(1) for more information.
then this command will work for you:
log show | grep -i “Wake reason”
No
“No such file or directory”
NOTE: Most system logs have moved to a new logging system. See log(1) for more information.
grep: reason”: No such file or directory
My Mac turns on by itself with a black screen sometimes, but when I put it to sleep it goes to sleep but then the screen lights up about a minute after. Need help!
I get a “Most system logs have moved to a new logging system. See log(1) for more information.” message. What does it mean?
This is killing me. Literally. Like wakes then sleeps every 30 seconds. Ran the terminal and. Its def an RTC. Although i have no scheduled back ups, sleep timer, alarms or anything of the sought. Help 🙁
Just in case someone’s searching for this, I found one reason why my Mac Pro was not going to sleep: the display would shut down, but the keyboard/mouse would stay powered up, and the power light on the Mac would not switch to “sleeping”.
The reason was the printer driver: It had gotten into a state where a print job that was polling for my printers supply-level state had stalled. It makes sense that you don’t want your computer shutting down in the middle of a print job, but this one was never going to complete.
I had found the problem by firstly noticing that there was a CPU spike every minute or so, and then wrote a quick program to capture the output of “ps” every 10 seconds. Found the culprit as one of the printing processes. Once found, I saw that in the print dialog the printer was marked as something like “Idle, Processing”, which seemed odd.
Since there was no actual job in the print queue, I could only solve the problem using “Reset printing system…” (Right-click or control-click in the list of printers window).
This article was so helpful to me!
I am trying to find out if my iMac wakes when I am not in the house, I type in wake reason in Console and get nothing just a blank page How can I get this to show me what I want
I get XHC1. For me, if i put my Mac to sleep and then leave the house I come back to find the music playing. Anyone know of any settings in Music program that could be causing this issue?
Hi everyone I am on snow leopard and am getting this
Wake reason=us I dont know what this means by the way it is a 2006 MacBook Core Duo
[…] of the time since that alone can give you the information you’re looking for. Furthermore, by reading the wake reasons you’ll be able to see how the Mac was woken up and by what method. For example, Mac laptops […]
My computer is a macbook with Leopard 10.5.8. Nothing is connected to the machine except a power supply. No bluetooth devices are present.
In the middle of the night I heard the disk making its humming sound when the lid was closed. The computer woke. When I opened it the screen stayed blank, like the computer crashed in some weird way. So I did a cold reboot. It did a Hum-Hum-Chime sequence twice before successfully rebooting.
In a previous situation the computer woke while closed, and the fan was running furiously as if it were hot. It had to be rebooted then as well.
The “Wake for ethernet network administrator access” is set, but nothing is plugged in the ethernet. Something would have to wake it up through the airport.
I was having this same problem and the wake reason that I was getting was XHC1, which appears to be related to the USB ports on my MacBook Pro. In my case, the culprit was a hard drive docking station that was turned on, but did not have a hard drive plugged into it at the time and was not making any noise so I had no idea it was still on. I also had no idea that it would try to communicate so actively with my computer. I hope this saves somebody out there and a lot of frustration.
Thank you so much for this post, finally solved that problem w my MBA, now all i have to do is remember to unplug my usb hub Before I close the lid!
Thanks for this post, just wanted to post in case it helps others out.
I had the same problem with an early 2009 Mac Pro.
The problem turned out to be an extra keyboard that I had connected directly to the back USB ports of the MAC.
For other’s reference, USB devices include iSight, IR port (remote IR receiver), keyboard and trackpad, and bluetooth.
My Core Duo macbook has USB7 wake reasons which can be cross referenced with the USB section of the Apple Utility “System Profiler”. Look through the USB bus sections until you see Bus Number 0x7d for example. In my case this is the bluetooth module which is failing and giving weird on/off issues and of course making the computer wake up. Might have to remove or found out how to disable this…
iSights are mostly USB. Originals were FireWire.
Mac OS X 10.4, doesn’t work.
syslog does provide a log, but it doesn’t have any entries for “wake reason” even during the time when it did wake up.
I’m running Terminal and it’s telling me “: Wake reason = USB7” or sometime with “USB4.” However, I have no USB elements plugged into my laptop. Any ideas, people?
I’ve having the same problem as you John, did you find a solution to this?
You have to remember Bluetooth (among others) is also connected to USB internally.
[…] the wake reason is. In Lion the terminal commando is: syslog | grep -i «wake reason» Determine Why Your Mac Wakes Up From Sleep Tell us how you install? Retail? Which extra kexts are you using? Maybe you need a clean install? […]
Ok, nvm, it worked with
syslog | grep -i “wake reason”
HOWEVER, I’ve found that EHC could also mean when your macbook is with the lid open and in sleep mode. When you press any button and it wakes up, thats going to show up in the logs as EHC2.
NONE of the commands work on lion. I’m desperate.
All of them give me no response or the no file in directory thing.
Do like me: avoid the Terminal and search in the Console. Why wasting time with so abstract things that are Unix commands?
Thanks. What is the following? “Fri Jan 6 17:16:19 npxpstndrd218 kernel[0] : Wake reason = EC LID0”
The name of my computer is different and there are only a few of these mixed in. My problem is that when I close my computer the apple goes dark then turns back on and the drive starts spinning until I open it in which case it goes into sleep mode for about a minute.
syslog | grep -i “wake reason” is the correct command!
I am running Lion 10.7.2 on a Mac Pro. This problem of randomly waking only started after installing Lion. I’ve tried the following commands:
syslog |grep -i “Wake reason =”
no response
syslog |grep -i “Wake reason:”
response: grep: reason:”: No such file or directory
syslog |grep -i “Wake”
no response
While I’d like to find this article useful, none of the commands mentioned are working at all. Any other ideas?
it’s the -i flag causing problems with Lion, use this:
syslog |grep “Wake reason”
Here the same with Lion. What is the command to see the wake reason.
[…] OS X daily provides a detailed article on what the different wake reason short codes mean. RTC stands for the […]
I am facing the same problem, but it happens only when on power and not on batteries. When on power and the lid is closed, the sleep light goes on and off exactly 6 time and it wakes up by its own and goes back to sleep again. And the loop is end less.
But only when connected to power, That means any external factor like Bluetooth or Keyboard or wireless or usb are not the problem( Though I do not use any of them)
Nov 25 13:12:28 AaronsiMac kernel[0] : Wake reason: ? (User)
Nov 26 01:04:50 AaronsiMac kernel[0] : Wake reason: ? (User)
Nov 26 03:58:09 AaronsiMac kernel[0] : Wake reason: ? (User)
Nov 27 10:58:50 AaronsiMac kernel[0] : Wake reason: ? (User)
Nov 27 18:32:55 AaronsiMac kernel[0] : Wake reason: ? (User)
Nov 27 20:38:28 AaronsiMac kernel[0] : Wake reason: ? (User)
Nov 27 22:41:37 AaronsiMac kernel[0] : Wake reason: ? (User)
So I’m not quit sure where to go from that information. Has anyone else seen anything like this?
syslog |grep -i “Wake”
None of those strings are getting me any results …. 🙁
For those of you aren’t getting any response, the right string (on Lion, I suppose) is “Wake reason :”.
I’m having the same issues with my iMac. And I’ve tried the Terminalcommand. But it gives me this response:
syslog: unknown option “|grep”
run “syslog -help” for usage
I’m definitely no expert. Has anyone a clue? Should I use another command after “syslog”?
Does a command like this exist for seeing what wakes the display?
Mine just says: Thu Sep 15 22:05:37 andrew-pulidos-imac-2 kernel[0] : Wake reason = EC
is EC = Enhanced Controller? I had the airport off and bluetooth off, and my Imac still wakes immediately after I put it to sleep. any suggestions?
I have the same. Just “EC” nothing more. Having a MBA mid 2012 with Mavericks
Keeps on waking 1 or 2 times each minute with Wake Reason: EC
Did you ever find a fix for this?
Thanks, Caspar! I ran into that same thing and was just about to post about it.
What the heck; I’ll post it too.
In Lion, try typing this:
syslog |grep -i “Wake reason”
In Lion (10.7) something changed. They changed “Wake reason =” to “Wake reason:” so the command under Lion should be:
syslog |grep -i “Wake reason:”
Anyone having tho sleep – wake problem try the following:
open up your Terminal and enter:
sudo pmset -a lidwake 0
This will stop your laptop from waking up when lid is lifted – you will have to push your keyboard, but it worked for me and I’ve tried all solutions I could шватв – doubt 20 all together. I cannot guarantee this worked with 100% certainty because it hasn’t been 2 weeks since implemented, but try it and if it doesn’t work change it back if you prefer.
My new iMac also wokes up from sleep.
When i run the terminal script, I can see the times when it woke up. When I look in console the same times are there, and the first line says:
m.skype.skype[188] WirelessAttach’: IOServiceOpen error: e00002c7.
Is it skype that wakes up my mac?
Thanks for this tip. My new MBP + cinema display is waking from sleep, but my 2007 MBP was doing this as well for over 2 years.
Log reveals that EHC1 is waking my machine, and at 4 AM last night woke it every few minutes until I finally pulled the power cord out.
EHC2 seems to be a BT trigger, so EHC1 covers my USB devices. Will be unplugging them one at a time until (if) the problem goes away. Maybe it’s a peripheral that doesn’t play nice, but I am not optimistic.
I have been working on sleep issues on my MacBook Pro, OS X 10.6.6. After I uninstalled HP Printer and WD External Disk programs, now my MBP sleeps but it goes to sleep very late. For example, I set Energy Saving to 2 minutes to sleep. But my MBP goes to sleep after 15 minutes instead of set 2 minutes. Why is it so ? How can I solve this problem ? Here is the console messages, so that hopefully someone can help me with this issue. In this console log, I leave alone my MacBook Pro at 12:26 PM and first time I see a message about Sleep at 12.34 PM. I should have see a sleep message at 12:36 PM, because it is set for sleep 2 minues in Energy Saving settings.
24.01.2011 12:26:46 [0x0-0x3c03c].com.apple.systempreferences[378] Couldn’t find any matches.
24.01.2011 12:27:23 Firewall[57] Stealth Mode connection attempt to UDP 192.168.1.5:60251 from 208.67.222.222:53
24.01.2011 12:30:16 Firewall[57] Stealth Mode connection attempt to UDP 192.168.1.5:50148 from 208.67.222.222:53
24.01.2011 12:32:59 awacsd[70] EAP-GTC failed. Retrying in 3600 seconds.
24.01.2011 12:34:57 configd[13] PowerManagement configd: System Sleep prevented by active remote login session (120 second threshold).
24.01.2011 12:34:57 configd[13] PowerManagement configd: tty sleep preventer: /dev/ttys000
24.01.2011 12:34:58 kernel PM notification cancel (pid 13, configd)
24.01.2011 12:34:58 kernel IOPMrootDomain: idle cancel
24.01.2011 12:35:37 Firewall[57] Stealth Mode connection attempt to UDP 192.168.1.5:61473 from 208.67.222.222:53
24.01.2011 12:40:34 kernel hibernate image path: /var/vm/sleepimage
24.01.2011 12:40:34 kernel sizeof(IOHibernateImageHeader) == 512
24.01.2011 12:40:34 kernel Opened file /var/vm/sleepimage, size 4294967296, partition base 0xc805000, maxio 400000 ssd 0
24.01.2011 12:40:34 kernel hibernate image major 14, minor 2, blocksize 512, pollers 5
24.01.2011 12:40:34 kernel hibernate_alloc_pages flags 00000000, gobbling 0 pages
24.01.2011 12:40:34 kernel hibernate_setup(0) took 0 ms
24.01.2011 12:40:35 kernel AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
24.01.2011 12:40:35 kernel [0f96a980][AppleMultitouchDevice::willTerminate] entered
24.01.2011 12:40:35 kernel [0f96a980][AppleMultitouchDevice::stop] entered
24.01.2011 12:40:35 kernel System SafeSleep
24.01.2011 12:40:42 kernel hibernate_page_list_setall start 0x44409000, 0x44428000
24.01.2011 12:40:42 kernel hibernate_page_list_setall time: 202 ms
24.01.2011 12:40:42 kernel pages 567743, wire 74756, act 176978, inact 893, spec 177, zf 3026, throt 0, could discard act 55041 inact 74176 purgeable 19300 spec 163396
24.01.2011 12:40:42 kernel hibernate_page_list_setall found pageCount 255830
24.01.2011 12:40:42 kernel IOHibernatePollerOpen, ml_get_interrupts_enabled 0
24.01.2011 12:40:42 kernel IOHibernatePollerOpen(0)
24.01.2011 12:40:42 kernel writing 254650 pages
24.01.2011 12:40:42 kernel encryptStart 2e270
24.01.2011 12:40:42 kernel encryptEnd 4979820
24.01.2011 12:40:42 kernel image1Size 135123456, encryptStart1 2e270, End1 4979820
24.01.2011 12:40:42 kernel encryptStart 80dd200
24.01.2011 12:40:42 kernel encryptEnd 1b343de0
24.01.2011 12:40:42 kernel PMStats: Hibernate write took 6005 ms
24.01.2011 12:40:42 kernel all time: 6005 ms, comp time: 1761 ms, deco time: 0 ms,
24.01.2011 12:40:42 kernel image 456408576, uncompressed 1043312640 (254715), compressed 454224304 (43%), sum1 32212469, sum2 e1de75ed
24.01.2011 12:40:42 kernel wired_pages_encrypted 39896, wired_pages_clear 33745, dirty_pages_encrypted 181074
24.01.2011 12:40:42 kernel hibernate_write_image done(0)
24.01.2011 12:40:42 kernel sleep
Hi there! After switching to a new mac mini i encountered a problem i had before when my mac was awakening itself with no reason or any applications applied…Finally ,after reading lots of unhelpfull remedies i remembered what was causing the problem,In System Prefs go to Bluetooth and uncheck “Allow Bluetooth devices to wake-up this computer”.This should solve 99,99 % problems with waking up bu itself, in my opinion.To wake up you just need to press the power button and wait a little longer for the bluetooth mouse response ,but there are programds which can speed it up… 🙂
Thank you majec, unchecking this bluetooth box solved the problem
Источник