m1 MacbookAir 睡眠情况下不时被唤醒又继续睡,大家有解决办法吗

2022-08-18 22:13:35 +08:00
 kimigaooo
笔记本没合盖,被唤醒时屏幕是黑色,只能微弱的背景光和鼠标,过了 2 秒又继续睡眠。没有外接任何设备,已关闭充电为电池优化和网络唤醒。

查看日志如下:
pmset -g log | grep DarkWake | grep SMC.OutboxNotEmpty
2022-08-12 02:49:49 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using AC (Charge:80%) 45 secs
2022-08-12 02:51:14 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 46 secs
2022-08-12 02:52:24 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 02:54:00 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 02:56:13 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 60 secs
2022-08-12 03:05:32 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 110 secs
2022-08-12 03:10:30 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 47 secs
2022-08-12 03:11:29 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 59 secs
2022-08-12 03:12:48 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 58 secs
2022-08-12 03:13:54 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 03:21:04 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 48 secs
2022-08-12 03:26:42 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 09:32:17 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 09:33:05 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 10:11:21 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 49 secs
2022-08-12 10:33:08 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2022-08-12 10:37:37 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 46 secs
2022-08-12 10:39:59 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 46 secs
2022-08-12 10:40:56 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:80%) 45 secs
2456 次点击
所在节点    Apple
12 条回复
kimigaooo
2022-08-18 22:26:06 +08:00
在国外论坛提到的解决方案:
1 。在终端中运行命令:sudo pmset -a tcpkeepalive 0

2 。在终端中运行命令:sudo pmset -a powernap 0

3 。确保没有选中以下选项:“系统偏好设置->电池->优化电池充电”和“系统偏好设置->电池->电源适配器->唤醒网络访问”
不过似乎会影响到 findmymac ?
kimigaooo
2022-08-18 22:27:48 +08:00
经过不断的调查和研究,我发现这是电能器的问题。导致外部设备自动唤醒的不是 bigsur 的错误。与其他英特尔 MacBook 不同,无法在 M1 上完全禁用 powernap 。
在终端应用程序中键入命令“pmset -g log | grep darkwake”以查看 darkwake 日志,我发现有两个事件导致我的 m1 MacBook Pro 唤醒。如下:

1 。DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan/ Using AC (Charge:100%) 6 secs
2 。DarkWake from Deep Idle [CDNPB] : due to NUB.SPMISw3IRQ nub-spmi.0x02 rtc/Maintenance Using AC (Charge:92%) 45 secs

这两个事件都是由 M1 MacBook 强制启用电源接头引起的。但我们也有解决方案(需要升级到最新的 macOS 11.2 RC ):

1 。在终端中运行命令:sudo pmset -a tcpkeepalive 0
2 。在终端中运行命令:sudo pmset -a powernap 0

还没有结束,因为另一个过程仍然会在黑暗唤醒模式下醒来。要关闭此过程,首先您需要禁用 SIP: https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection
然后在终端中运行命令:sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.PowerUIAgent.plist

顺便说一句,不要重新启用 SIP 或最后一个命令将无效。M1 的恢复模式与英特尔不同,请自己搜索
xtinput
2022-08-19 08:07:47 +08:00
macOS 11.2 RC ???
现在最新的都 macOS 12.5.1 了
至于 beta 都 macOS13b5 了
kimigaooo
2022-08-19 10:30:36 +08:00
@xtinput 这个问题由来已久了 一直没有解决
xtinput
2022-08-19 14:07:39 +08:00
@kimigaooo 一直没解决吗?我刚刚看了下我的 21 款 16 寸的,没有被激活的记录。而且还是开启了网络唤醒
lycorischeung
2022-08-20 19:25:47 +08:00
2022-08-20 14:41:56 +0800 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep40/ Using AC (Charge:100%) 45 secs
2022-08-20 16:09:26 +0800 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep40/ Using AC (Charge:100%) 45 secs
2022-08-20 17:37:09 +0800 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep40/ Using AC (Charge:100%) 44 secs
2022-08-20 19:01:31 +0800 DarkWake DarkWake from Deep Idle [CDN] : due to AOP.OutboxNotEmpty spu_queue_overflow_ep40/ Using AC (Charge:100%) 46 secs
---------------------------------
我看了了我一直唤醒的是这个:due to AOP.OutboxNotEmpty spu_queue_overflow_ep40
是同一个原因吗?
oliverdding
2022-08-23 14:22:42 +08:00
@kimigaooo 我今早发现电脑电量 50%,activity monitor 显示 safari 耗电严重。一查 pmset 日志和你一样
```
2022-08-22 17:32:43 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt bluetooth-pcie/ Using AC (Charge:100%) 45 secs
2022-08-22 17:35:01 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using AC (Charge:100%) 45 secs
2022-08-22 17:48:41 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using AC (Charge:100%) 45 secs
2022-08-22 18:05:05 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using AC (Charge:100%) 63 secs
2022-08-22 18:11:35 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using AC (Charge:100%) 64 secs
2022-08-22 18:15:37 +0800 DarkWake DarkWake from Deep Idle [CDNPB] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using AC (Charge:100%) 211 secs
2022-08-22 19:57:26 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt bluetooth-pcie/ Using BATT (Charge:100%) 73 secs
2022-08-22 20:14:09 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/SleepService Using BATT (Charge:100%) 8 secs
2022-08-22 20:31:52 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/SleepService Using BATT (Charge:100%) 3 secs
2022-08-22 20:36:10 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan DataFrame ARPT/ Using BATT (Charge:100%) 7 secs
2022-08-22 20:38:01 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/Maintenance Using BATT (Charge:100%) 70 secs
2022-08-22 20:54:45 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to NUB.SPMISw3IRQ nub-spmi0.0x02 rtc/SleepService Using BATT (Charge:100%) 5 secs
2022-08-22 20:55:17 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan WLC_E_TKO ARPT/ Using BATT (Charge:100%) 8 secs
2022-08-22 20:55:52 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan WLC_E_TKO ARPT/ Using BATT (Charge:100%) 8 secs
2022-08-22 20:56:28 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan WLC_E_TKO ARPT/ Using BATT (Charge:100%) 8 secs
2022-08-22 20:57:03 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan WLC_E_TKO ARPT/ Using BATT (Charge:100%) 8 secs
2022-08-22 20:57:38 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan WLC_E_TKO ARPT/ Using BATT (Charge:100%) 8 secs
2022-08-22 20:58:14 +0800 DarkWake DarkWake from Deep Idle [CDNP] : due to SMC.OutboxNotEmpty smc.70070000 wifibt wlan WLC_E_TKO ARPT/ Using BATT (Charge:100%) 8 secs
```

但是我不确定是不是硬件问题(因为我换了个 baseus 的拓展坞和一个 ugreen 的 typc-hdmi 线)

我准备做实验,每天晚上只插一个外接设备,看看是否是哪个硬件问题。
notgoda
2022-08-24 17:39:42 +08:00
@kimigaooo 大佬 我是 m1 MacBook air os12.5.1 笔记本我是合盖睡眠的状态,刚才 通过 pmset -g log | grep DarkWake | grep SMC.OutboxNotEmpty 查到跟你一样的唤醒记录. 请问这个问题有人反馈给官方了吗?
kimigaooo
2022-08-24 18:42:55 +08:00
@notgoda 按照国外论坛贴出的方法不会再有唤醒记录,但是在睡眠状态下无法使用 findmac ,得自己取舍了
PainAndLove
2022-11-06 13:31:14 +08:00
我的 mac studio 也会出现这个问题
https://imgur.com/iqZL7Nv
a66243766
2023-06-20 16:37:48 +08:00
>>>
这两个事件都是由 M1 MacBook 强制启用电源接头引起的。但我们也有解决方案(需要升级到最新的 macOS 11.2 RC ):
>>>

两个事件都是由 M1 MacBook 强制启用电源接头引起的 强制启用电源接头是什么意思
HongyuGao
261 天前

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/873844

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX