Tuesday 28 July 2020

10.15睡眠唤醒后重启BUG修复


10.14.6升级到14.15,睡眠唤醒后大概10秒左右会重启,这个原因应该是appleALC里面的问题,确切的说是HDMI 音频唤醒后有Bug,下面的代码放到 KernelToPatch  就可以,亲测解决了NUC8睡眠唤醒后重启的问题。


<dict>
    <key>Comment</key>
    <string>fix reboot after wake from sleep</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>Y29tLmFwcGxlAF9fa2VybmVsX18A</data>
    <key>MatchOS</key>
    <string>10.15.x</string>
    <key>Replace</key>
    <data>bm90LmFwcGxlAF9fa2VybmVsX18A</data>

Monday 27 July 2020

AppleALC Kernel Panic after Catalina update


https://www.tonymacx86.com/threads/help-applealc-kernel-panic-after-catalina-update.284654/page-8


If you don't need HDMI audio output, yes, you can use the official 1.4.3 release + the following setup(only example). You need to change both Pci(0x1b,0x0) and alc-layout-id 1 to something for your motherboard.



    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <string>No</string>
        </dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
            <dict>
                <key>alc-layout-id</key>
                <integer>2</integer>
                <key>No-hda-gfx</key>
                <data>AAAAAAAAAAA=</data>
            </dict>
        </dict>
    </dict>