积分 945 最后登录 2024-4-1 精华 0 阅读权限 40 主题 279 UID 196544 帖子 2363 PB币 5331 威望 0 贡献 0 技术 176 活跃 590
UID 196544 帖子 2363 PB币 5331 贡献 0 技术 176 活跃 590
楼主
发表于 2011-2-5 21:33:33
IP属地广东
修改DSDT里的Device (PWRB)代码完美的解决睡眠和唤醒
我的USB都是内建的。
折腾睡眠和唤醒的问题有半年了,不经意间看到这帖
https://bbs.pcbeta.com/thread-755363-1-1.html
也不经意间解决了我这老大难问题。谢谢这位大哥。
最后的一个问题完美了,开心过过新年,哈哈!!!
原始的Device (PWRB)代码如下:
Device (PWRB)
{
Name (_HID, EisaId ("PNP0C0C"))
Name (_UID, 0xAA)
Name (_STA, 0x0B)
}
修改后的Device (PWRB)代码如下
Device (PWRB)
{
Name (_CID, EisaId ("PNP0C0C"))
Method (_STA, 0, NotSerialized)
{
Return (0x0B)
}
}
修改后可按机箱的电源键睡眠(也可手动睡眠)和唤醒(也可鼠标键盘任意键唤醒),唤醒后一切正常。
终于看到电源管理日志了,如下:
/usr/bin/pmset -g log:
描述: 电源管理日志
大小: 3 KB
上次修改日期: 11-2-5 下午9:13
最近使用的内容: Power Management ASL logs.
-> All messages with "com.apple.message.domain" key set to "com.apple.powermanagement".)
* Domain: applicationresponse.slowresponse
- Message: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 4546 ms
- Time:
- Signature: AirPort configd plug-in
- UUID: 30E0A0E8-7052-410A-A5EC-7495CF34CA33
- Result: Noop
- Response time (ms): 4546
* Domain: applicationresponse.slowresponse
- Message: PMConnection IPConfiguration com.apple.powermanagement.applicationresponse.slowresponse 4547 ms
- Time:
- Signature: IPConfiguration
- UUID: 30E0A0E8-7052-410A-A5EC-7495CF34CA33
- Result: Noop
- Response time (ms): 4547
* Domain: sleep
- Message: Sleep: Success - AC - Power Button Sleep
- Time:
- Signature: Success
- UUID: 30E0A0E8-7052-410A-A5EC-7495CF34CA33
- Result: Success
- Sleep count : 0
* Domain: wake
- Message: Wake: Success - AC - USB6
- Time:
- Signature: Success
- UUID: 30E0A0E8-7052-410A-A5EC-7495CF34CA33
- Result: Success
* Domain: hibernatestats
- Message: Hibernate Statistics
- Time:
- Signature: hibernatemode=0
- UUID: 30E0A0E8-7052-410A-A5EC-7495CF34CA33
* Domain: applicationresponse.slowresponse
- Message: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 4634 ms
- Time:
- Signature: AirPort configd plug-in
- UUID: E078E3E4-5CD7-414B-BFC1-90B8EE2827A3
- Result: Noop
- Response time (ms): 4634
* Domain: applicationresponse.slowresponse
- Message: PMConnection IPConfiguration com.apple.powermanagement.applicationresponse.slowresponse 4635 ms
- Time:
- Signature: IPConfiguration
- UUID: E078E3E4-5CD7-414B-BFC1-90B8EE2827A3
- Result: Noop
- Response time (ms): 4635
* Domain: sleep
- Message: Sleep: Success - AC - Software Sleep
- Time:
- Signature: Success
- UUID: E078E3E4-5CD7-414B-BFC1-90B8EE2827A3
- Result: Success
- Sleep count : 1
* Domain: wake
- Message: Wake: Success - AC - USB6
- Time:
- Signature: Success
- UUID: E078E3E4-5CD7-414B-BFC1-90B8EE2827A3
- Result: Success
* Domain: hibernatestats
- Message: Hibernate Statistics
- Time:
- Signature: hibernatemode=0
- UUID: E078E3E4-5CD7-414B-BFC1-90B8EE2827A3
展开阅读全文​