V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kimigaooo
V2EX  ›  Apple

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

  •  
  •   kimigaooo · 2022-08-18 22:13:35 +08:00 · 2606 次点击
    这是一个创建于 854 天前的主题,其中的信息可能已经有所发展或是发生改变。
    笔记本没合盖,被唤醒时屏幕是黑色,只能微弱的背景光和鼠标,过了 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
    12 条回复    2024-02-15 16:33:01 +08:00
    kimigaooo
        1
    kimigaooo  
    OP
       2022-08-18 22:26:06 +08:00
    在国外论坛提到的解决方案:
    1 。在终端中运行命令:sudo pmset -a tcpkeepalive 0

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

    3 。确保没有选中以下选项:“系统偏好设置->电池->优化电池充电”和“系统偏好设置->电池->电源适配器->唤醒网络访问”
    不过似乎会影响到 findmymac ?
    kimigaooo
        2
    kimigaooo  
    OP
       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
        3
    xtinput  
       2022-08-19 08:07:47 +08:00
    macOS 11.2 RC ???
    现在最新的都 macOS 12.5.1 了
    至于 beta 都 macOS13b5 了
    kimigaooo
        4
    kimigaooo  
    OP
       2022-08-19 10:30:36 +08:00 via iPhone
    @xtinput 这个问题由来已久了 一直没有解决
    xtinput
        5
    xtinput  
       2022-08-19 14:07:39 +08:00
    @kimigaooo 一直没解决吗?我刚刚看了下我的 21 款 16 寸的,没有被激活的记录。而且还是开启了网络唤醒
    lycorischeung
        6
    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
        7
    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
        8
    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
        9
    kimigaooo  
    OP
       2022-08-24 18:42:55 +08:00
    @notgoda 按照国外论坛贴出的方法不会再有唤醒记录,但是在睡眠状态下无法使用 findmac ,得自己取舍了
    PainAndLove
        10
    PainAndLove  
       2022-11-06 13:31:14 +08:00
    我的 mac studio 也会出现这个问题
    https://imgur.com/iqZL7Nv
    a66243766
        11
    a66243766  
       2023-06-20 16:37:48 +08:00
    >>>
    这两个事件都是由 M1 MacBook 强制启用电源接头引起的。但我们也有解决方案(需要升级到最新的 macOS 11.2 RC ):
    >>>

    两个事件都是由 M1 MacBook 强制启用电源接头引起的 强制启用电源接头是什么意思
    HongyuGao
        12
    HongyuGao  
       308 天前
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1036 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 21:41 · PVG 05:41 · LAX 13:41 · JFK 16:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.