Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

睡眠与声卡问题 #1

Open
Wyeme opened this issue Oct 8, 2020 · 17 comments
Open

睡眠与声卡问题 #1

Wyeme opened this issue Oct 8, 2020 · 17 comments

Comments

@Wyeme
Copy link

Wyeme commented Oct 8, 2020

用此efi睡眠后无法恢复,只能按重启键重启。
在双系统下,先进win10 重启后进入macos ,破音,第一次启动进去macos声音正常。
请问大佬有这样的问题吗?同主板,cpu是i5 4570,macos 10.15.7

@LiuLiujie
Copy link
Owner

我之前遇到过和你一样的睡眠问题但在v1.1版本的EFI中用SSDT-GPRW修复了,之后就再也没有遇到过。可以尝试重新定制一下USB看看是不是这个的问题吧,因为我的USB定制里还包括了机箱上的USB口。我这几天在Readme中更新一下我的BIOS设置看看是不是BIOS设置上的问题。
双系统如果是热重启的确会遇到奇怪的问题,包括灰屏之类的。声卡你可以尝试修改一下layout-id试试吧。我看别的7和5都有用的。

@Wyeme
Copy link
Author

Wyeme commented Oct 9, 2020

按大佬所说的操作后两个问题依旧,期待大佬的BIOS设置,主要想把睡眠问题解决下

@LiuLiujie
Copy link
Owner

我测试了一下如果是手动进入睡眠的确存在无法唤醒的问题。尝试多种办法也没能解决,据说睡眠是haswell的常见问题了,等有时间我再试试看能不能修复吧

@Wyeme
Copy link
Author

Wyeme commented Oct 9, 2020

好的,大佬辛苦了

@LiuLiujie
Copy link
Owner

请问你是用核显输出HDMI连接的显示器吗

@Wyeme
Copy link
Author

Wyeme commented Oct 10, 2020

我用的dp口,Radeon RX 580矿卡

@LiuLiujie
Copy link
Owner

LiuLiujie commented Oct 10, 2020

睡眠问题我这解决了,花了几十个小时😂 。我改了config和bios,一下子也说不清是哪一项生效了。你先试着把bios中串口关掉,看看能不能睡眠唤醒。(目前睡眠后我这只能按机箱上的按钮唤醒,我之后再调一下USB定制看能不能鼠标键盘唤醒)

@Wyeme
Copy link
Author

Wyeme commented Oct 10, 2020

哎呀,大佬,串口关掉可以睡眠唤醒了。和你一样只能按机箱上的电源开关键唤醒。万分感激🙏 膜拜

@LiuLiujie
Copy link
Owner

键盘唤醒也可以了,进config里把ACPI-Add里的SSDT-GPRW.aml和SSDT-EHC1_OFF.aml给关掉,然后把ACPI-Patch中的GPRW to XPRW也给关掉,应该就行了。我还重新定制了USB但我觉得这个不是主要问题。
关掉这两个补丁对系统的稳定性影响还没有测试,如果你有兴趣也可以先自行测试一下。
另外我在“节能”中打开“唤醒以供网络访问”会导致睡眠后不久就自动唤醒,这个问题暂时没想到办法

@Wyeme
Copy link
Author

Wyeme commented Oct 11, 2020

SSDT-GPRW.aml、SSDT-EHC1_OFF.aml、GPRW to XPRW这三个关掉后键盘可以唤醒了,但是“节能”中关闭“唤醒以供网络访问”也会导致睡眠后不久就自动唤醒,并且睡眠唤醒不停的循环中

@LiuLiujie
Copy link
Owner

的确,“唤醒以供网络访问”会导致不停地唤醒,但我这在节能中把它关掉就不会重复唤醒了。
然后发现睡眠一个小时左右还有RTC的问题也会导致唤醒,在config中搜Disable RTC wake scheduling,然后开启就正常睡眠了,目前睡眠测试4小时正常唤醒。

@Wyeme
Copy link
Author

Wyeme commented Oct 11, 2020

我config中的Disable RTC wake scheduling是开启的,还是不停的唤醒,目前我先用按电源键唤醒吧,辛苦了大佬

@LiuLiujie
Copy link
Owner

我这睡眠正常没办法复现你的问题😂 你可以试一下抓取唤醒原因的日志。我这后来把SSDT-EHC1_OFF.aml加了回去。

@Wyeme
Copy link
Author

Wyeme commented Oct 12, 2020

`2020-10-12 10:44:49.663335+0800 0x186f Default 0x0 104 0 powerd: [powerd:sleepWake] Wake reason: "" identity: ""

2020-10-12 10:45:07.931632+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC1 EHC2

2020-10-12 10:45:07.931633+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC1 EHC2

2020-10-12 10:45:59.870012+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC1 EHC2

2020-10-12 10:45:59.870013+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC1 EHC2

2020-10-12 10:46:51.586870+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC1 EHC2

2020-10-12 10:46:51.586871+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC1 EHC2`

这是键盘在自动唤醒呀,难道要换个键盘?

@LiuLiujie
Copy link
Owner

这种情况我只在正常休眠的EFI基础上增加SSDT-SBUS之后遇到过
另外如果bios设置的USB Configuration中三个均为Enable的话应该会禁用ECH2,同时我在ACPI中禁用了ECH1,照理说不会出现ECH1 ECH2的唤醒的🤣

@Wyeme
Copy link
Author

Wyeme commented Oct 13, 2020

bios设置的USB Configuration中三个均为Enable,还是ECH2唤醒

2020-10-13 09:02:34.490741+0800 0x30b Default 0x0 104 0 powerd: [powerd:sleepWake] Wake reason: "" identity: ""
2020-10-13 09:02:50.800341+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC2
2020-10-13 09:02:50.800342+0800 0x74 Default 0x0 0 0 kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EHC2

@LiuLiujie
Copy link
Owner

你可以先试着把SSDT-EHC1_OFF.aml换成SSDT-EHCx_OFF.aml吧,这样ECH1和ECH2都禁用了。我在下一个版本的EFI中也把它换过来,之前没弄是不想弄太多的更名补丁🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants