Mac 睡眠
本帖最后由 huzhi28251 于 2019-10-25 19:37 编辑打开终端log show | grep -i "wake reason" 看看唤醒的原因是什么,下面可以看到,Wake reason: GLAN XDCI XHC
2019-05-03 00:30:54.178073+0800 0x533 Default 0x0 194 0 airportd: _systemWokenByWiFi: System Wake Reason not found2019-05-03 16:27:13.374610+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-03 16:27:13.374611+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-04 00:41:23.590059+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-04 00:41:23.590060+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-04 23:02:04.870001+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-04 23:02:04.870002+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-04 23:03:02.883243+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN XDCI XHC2019-05-04 23:03:02.883245+0800 0x74 Default 0x0 0 0 MaciASL打开DSDT,找到这段,然后前面加上注释符号即可
Method (_PRW, 0, NotSerialized)// _PRW: Power Resources for Wake
{
Return (GPRW (0x0D, 0x04))//个人机器不一样,代码不一样
}
重启解决
牛牛牛…… 围观
页:
[1]