ruoyinls 发表于 2016-2-6 08:57

求配置dsdt&ssdt,并附alc1150 hd4400 Lpc control 教程

MotherBoard:ASUS B85 Pro GamerLPC:8086&8C50
CPU:i3-4160 HaswellGPU:HD4400
HDA:ALC1150VEN_10EC&DEV_0900

[*]ALC 1150: 0009ec10 or AAnsEA==
参照https://www.reddit.com/r/hackintosh/comments/397wl1/guide_realtek_alc_8xx_1150_with_native_applehda/
WLAN:I217-V
求助配置一份DSDT和SSDT文件
原谅我做出的苛刻要求
1.最好不删除驱动
2.LPC原生控制驱动
3.CPU电源管理
4.HDA原生加载
5.GPU原生加载并加载HDMI
6.修复backlight亮度调节问题
同时也分享下我黑苹果的个人经验 以下文件 我随后附上
成功加载AppleAHCIPort.kext    AppleHPET.kextAppleLPC.kextX86PlatformPlugin.kext   X86PlatformShim.kext AppleSMBusPCI.kextIOPCIFamily.kextAppleUSBEHCIPCI.kextAppleIntelFramebufferAzul.kextAppleUSBXHCIPCI.kext


现保存下


ruoyinls 发表于 2016-2-6 11:23

1.LPC问题 修改FakeSMCinfo.plist 注入自己的LPC id   ,嫌麻烦的可以修改我的FakeSMC添加自己的LPC id,不保证都能成功成功加载Apple LPC
参照3.原生电源问题 我勾选了我的clover 中的fix HPET,不知是否仅此一个,可参照我的config 成功加载ox86 4. 声卡alc8xx以及alc1150针对osx10.11 不知其他是否可行附AppleHDA8Series.sh 以及原生声卡 Apple HDA免除下载 需要运行权限 sudo chmod +x文件名包括路径(直接拖拽文件AppleHDA8Series.sh到终端即可) 再次拖拽文件AppleHDA8Series.sh即可运行参照https://www.reddit.com/r/hackintosh/comments/397wl1/guide_realtek_alc_8xx_1150_with_native_applehda/
NOTE:确保关闭sip最好用我的的clover修改自己的config配置即可,我的clover版本为3339,当前时间为2016-2-6<key>RtVariables</key>
        <dict>
                <key>BooterConfig</key>
                <string>0x28</string>
                <key>CsrActiveConfig</key>
                <string>0x67</string>Step 1: Layout ID InjectionThis can accomplished in several different ways. You can edit Clover's config.plist or do edits to your DSDT. Make sure you pick the right layout ID for your setup.Supported layout IDsLayout ID 1: Supports 885, 887, 888, 889, 892, 898, 1150
[*]Realtek ALC audio (default, 1/2/3/5/6 motherboard audio ports)
Layout ID 2: Supports 887, 888, 889, 892, 898, 1150
[*]Realtek ALC/5.1 surround sound (3 motherboard audio ports)
Layout ID 3: Supports 887, 888, 889, 892, 898
[*]Intel HD 3000/HD 4000 HDMI audio with Realtek ALC audio
Option 1: Clover config.plist editingEdit the Inject key under Devices/Audio in config.plist. If it doesn't exist, paste it in. 比如我的alc1150   <key>Devices</key>
<dict>
    <key>Audio</key>
    <dict>
      <key>Inject</key>
      <integer>1</integer>Layout ID:1
    </dict>
</dict>Step 2: Add Kext Patch to Clover config.plist
Data to replace:•        ALC 885: 8b19d411 or ixnUEQ==
[*]ALC 887: 8708ec10 or hwjsEA==
[*]ALC 888: 8808ec10 or iAjsEA==
[*]ALC 889: 8908ec10 or iQjsEA==
[*]ALC 892: 9208ec10 or kgjsEA==
[*]ALC 898: 9908ec10 or mQjsEA==
[*]ALC 1150: 0009ec10 or AAnsEA==

Clover config.plist editing

以alc898为例修改我的alc1150<key>KernelAndKextPatches</key>
<dict>
    <key>KextsToPatch</key>
    <array>
      <dict>
            <key>Comment</key>
            <string>Realtek ALC 898 Patch</string>         修改Realtek ALC 1150 Patch
            <key>Find</key>
            <data>ixnUEQ==</data>
            <key>Name</key>
            <string>AppleHDA</string>
            <key>Replace</key>
            <data>mQjsEA==</data>                                     修改ALC 1150: 0009ec10&AAnsEA==
      </dict>
      <dict>
            <key>Comment</key>
            <string>Realtek ALC Codec Patch</string>
            <key>Find</key>
            <data>gxnUEQ==</data>
            <key>Name</key>
            <string>AppleHDA</string>
            <key>Replace</key>
            <data>AAAAAA==</data>
      </dict>
    </array>
</dict>
一下为完整的alc1150<key>KextsToPatch</key>
                <array>
                                <key>Comment</key>
                                <string>Realtek ALC 1150 Patch</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                ixnUEQ==
                                </data>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Replace</key>
                                <data>
                                AAnsEA==
                                </data>
                        </dict>
          <dict>
                                <key>Comment</key>
                                <string>Realtek ALC Codec Patch</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                gxnUEQ==
                                </data>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Replace</key>
                                <data>
                                AAAAAA==
                                </data>
                        </dict>
                </array>
        </dict>

Step 3: Create Injector Kext with AppleHDA8Series.sh
Script Instructions

[*]Download the AppleHDA8Series script and make it executable: curl -o ~/AppleHDA8Series.sh https://raw.githubusercontent.com/Piker-Alpha/AppleHDA8Series.sh/master/AppleHDA8Series.sh chmod +x ~/AppleHDA8Series.sh本文已经附上次文件不能下载的可使用我的
[*]Run the script and enter your password:This script must be run as root!   
[*] sudo chmod +x ~/AppleHDA8Series.sh
[*] ~/AppleHDA8Series.sh
[*]Password:
[*]
[*]Select your audio codec and confirm your layout ID:
AppleHDA8Series.sh v3.1 Copyright (c) 2013-2015 by Pike R. Alpha
[*]                  patched XML files by Toleda and contributors
[*]-------------------------------------------------------
[*]The supported Realtek ALC codecs for AppleHDA8Series.sh are:
[*]
[*]    Realtek ALC885 (0x10EC0885 / 283904133)
[*]    Realtek ALC887 (0x10EC0887 / 283904135)
[*]    Realtek ALC888 (0x10EC0888 / 283904136)
[*]    Realtek ALC889 (0x10EC0889 / 283904137)
[*]    Realtek ALC892 (0x10EC0892 / 283904146)
[*]    Realtek ALC898 (0x10EC0899 / 283904153)
[*]    Realtek ALC 1150 (0x10EC0900 / 283904256)
[*]
[*]Please choose the desired codec for the hardware: 6      alc1150选择7
[*]Do you want to use as the layout-id (y/n)? y             layout-id为step 1
[*]   完成后便生成个人的kext   比如我的kext在个人文件下下载的sh文件也在这里面
[*]
[*]用kext wizard加载alc1150.kext文件    重建缓存重启即可
[*]



补充内容 (2016-2-7 06:54):
LPC id参照帖子:https://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1658462

ruoyinls 发表于 2016-2-6 12:37

本帖最后由 ruoyinls 于 2016-2-6 12:42 编辑

ruoyinls 发表于 2016-2-8 12:26

ruoyinls 发表于 2016-2-6 11:23 https://www.pcbeta.com/static/image/common/back.gif
1.LPC问题 修改FakeSMCinfo.plist 注入自己的LPC id   ,嫌麻烦的可以修改我的FakeSMC添加自己的LPC id, ...

LPC参照帖子:https://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1658462
页: [1]
查看完整版本: 求配置dsdt&ssdt,并附alc1150 hd4400 Lpc control 教程