tsm1939314979 发表于 2018-4-15 17:40

求教DSDT错误修复和驱动原生电源和声卡

新手入坑黑苹果,找了很多帖子还是一知半解,
目前想驱动原生电源与声卡,求教大佬指点一二。



附上DSDT和SSDT的原件和反编译附件,我的LPC的ID为"pci8086,a14e"
谢谢各路大神,帮忙弄一下,指教一下我,谢谢

yjplayer 发表于 2018-4-15 20:06

6代?原生电源最简单不过了,只需要一个通用的SSDT-XCPM.aml,dsdt什么的就没必要整了吧,要整就直接玩hotpatch吧


声卡就用alc,声卡型号不说?不知道

反正流程都差不多,最新版lilu+最新版applealc+clover注入 layout id+CodecCommander

确定型号,https://github.com/vit9696/AppleALC/tree/master/Resources 查找layout id,记下来,逐个试

如果还是唤醒无声的话要在clover设置darkwake=no,CodecCommander里面default->Perform Reset"改为no,default->Perform Reset on External Wake改为no,如果耳机切换或其他还有问题就要再装声卡守护进程

WLS.pkg 发表于 2018-4-15 21:08

WLS.pkg 发表于 2018-4-15 21:10

tsm1939314979 发表于 2018-4-15 21:59

yjplayer 发表于 2018-4-15 20:06 https://www.pcbeta.com/static/image/common/back.gif
6代?原生电源最简单不过了,只需要一个通用的SSDT-XCPM.aml,dsdt什么的就没必要整了吧,要整就直接玩hotp ...

十分感谢!初次尝试不太了解{:5_275:}

tsm1939314979 发表于 2018-4-15 22:37

WLS.pkg 发表于 2018-4-15 21:10 https://www.pcbeta.com/static/image/common/back.gif
附近漏了,这里补上

谢谢,我先看一下

tsm1939314979 发表于 2018-4-15 22:39

yjplayer 发表于 2018-4-15 20:06 https://www.pcbeta.com/static/image/common/back.gif
6代?原生电源最简单不过了,只需要一个通用的SSDT-XCPM.aml,dsdt什么的就没必要整了吧,要整就直接玩hotp ...

大佬,用了之后电源显示还未0错误呀,电源选项也还是只有2项,LPC加载了,但是查不到ID注入

tsm1939314979 发表于 2018-4-15 23:00

WLS.pkg 发表于 2018-4-15 21:10 https://www.pcbeta.com/static/image/common/back.gif
附近漏了,这里补上

可以简单说一下打补丁怎么打吗。。。。。。。{:9_368:}

yjplayer 发表于 2018-4-15 23:02

tsm1939314979 发表于 2018-4-15 22:39 https://www.pcbeta.com/static/image/common/back.gif
大佬,用了之后电源显示还未0错误呀,电源选项也还是只有2项,LPC加载了,但是查不到ID注入

你没放你原来的ssdt吧?是不是跟你原来ssdt或其他clover什么的设置冲突了?怎么会加载lpc呢?6代u不需要加载lpc,只需要加载2个x86,只要你2个x86驱动加载了那电源肯定是4个选项,smbios也要选个6代的笔记本的话就13,1

WLS.pkg 发表于 2018-4-15 23:43

tsm1939314979 发表于 2018-4-15 23:45

yjplayer 发表于 2018-4-15 23:02 https://www.pcbeta.com/static/image/common/back.gif
你没放你原来的ssdt吧?是不是跟你原来ssdt或其他clover什么的设置冲突了?怎么会加载lpc呢?6代u不需要加 ...

帮我看一下config吧。。。。。我是直接用的镜像自带的,自己只修改了一点我核显HD530,独显960m,华硕笔记本<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>ACPI</key>
        <dict>
                <key>DSDT</key>
                <dict>
                        <key>Debug</key>
                        <false/>
                        <key>DropOEM_DSM</key>
                        <false/>
                        <key>Fixes</key>
                        <dict>
                                <key>AddDTGP</key>
                                <true/>
                                <key>AddPNLF</key>
                                <true/>
                                <key>FixShutdown</key>
                                <false/>
                        </dict>
                        <key>Name</key>
                        <string>DSDT.aml</string>
                        <key>Patches</key>
                        <array>
                                <dict>
                                        <key>Comment</key>
                                        <string>change _OSI to XOSI</string>
                                        <key>Disabled</key>
                                        <true/>
                                        <key>Find</key>
                                        <data>
                                        X09TSQ==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        WE9TSQ==
                                        </data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>change EHC1 to EH01</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>
                                        RUhDMQ==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        RUgwMQ==
                                        </data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>change EHC2 to EH02</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>
                                        RUhDMg==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        RUgwMg==
                                        </data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>change HDAS to HDEF</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>
                                        SERBUw==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        SERFRg==
                                        </data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>change HECI to IMEI</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>
                                        SEVDSQ==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        SU1FSQ==
                                        </data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>change MEI to IMEI</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>
                                        TUVJXw==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        SU1FSQ==
                                        </data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>change GFX0 to IGPU</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>
                                        R0ZYMA==
                                        </data>
                                        <key>Replace</key>
                                        <data>
                                        SUdQVQ==
                                        </data>
                                </dict>
                        </array>
                        <key>ReuseFFFF</key>
                        <false/>
                </dict>
                <key>SSDT</key>
                <dict>
                        <key>DropOem</key>
                        <false/>
                        <key>Generate</key>
                        <dict>
                                <key>APLF</key>
                                <true/>
                                <key>APSN</key>
                                <true/>
                                <key>CStates</key>
                                <false/>
                                <key>PStates</key>
                                <false/>
                                <key>PluginType</key>
                                <true/>
                        </dict>
                </dict>
        </dict>
        <key>Boot</key>
        <dict>
                <key>Arguments</key>
                <string>-v dart=0 nvda_drv=1</string>
                <key>Debug</key>
                <false/>
                <key>Default Loader</key>
                <string>bootmgfw.efi</string>
                <key>DefaultVolume</key>
                <string>EFI</string>
                <key>Legacy</key>
                <string>PBR</string>
                <key>NeverDoRecovery</key>
                <true/>
                <key>Secure</key>
                <false/>
                <key>Timeout</key>
                <integer>-1</integer>
                <key>XMPDetection</key>
                <false/>
        </dict>
        <key>CPU</key>
        <dict>
                <key>HWPEnable</key>
                <true/>
                <key>UseARTFrequency</key>
                <true/>
        </dict>
        <key>Devices</key>
        <dict>
                <key>AddProperties</key>
                <array>
                        <dict>
                                <key>Comment</key>
                                <string>Skylake glitch fix</string>
                                <key>Device</key>
                                <string>IntelGFX</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Key</key>
                                <string>AAPL,GfxYTile</string>
                                <key>Value</key>
                                <data>
                                AQAAAA==
                                </data>
                        </dict>
                </array>
                <key>Audio</key>
                <dict>
                        <key>AFGLowPowerState</key>
                        <false/>
                        <key>Inject</key>
                        <string>14</string>
                        <key>ResetHDA</key>
                        <true/>
                </dict>
                <key>USB</key>
                <dict>
                        <key>AddClockID</key>
                        <true/>
                        <key>FixOwnership</key>
                        <true/>
                        <key>Inject</key>
                        <true/>
                </dict>
        </dict>
        <key>DisableDrivers</key>
        <array>
                <string>Nothing</string>
        </array>
        <key>GUI</key>
        <dict>
                <key>Hide</key>
                <array>
                        <string>Windows</string>
                        <string>BOOTX64.EFI</string>
                        <string>Preboot</string>
                </array>
                <key>Language</key>
                <string>en:0</string>
                <key>Mouse</key>
                <dict>
                        <key>DoubleClick</key>
                        <integer>500</integer>
                        <key>Enabled</key>
                        <true/>
                        <key>Mirror</key>
                        <false/>
                        <key>Speed</key>
                        <integer>8</integer>
                </dict>
                <key>Scan</key>
                <dict>
                        <key>Entries</key>
                        <true/>
                        <key>Legacy</key>
                        <true/>
                        <key>Linux</key>
                        <true/>
                        <key>Tool</key>
                        <true/>
                </dict>
                <key>ScreenResolution</key>
                <string>1920x1080</string>
                <key>Theme</key>
                <string>embedded</string>
        </dict>
        <key>Graphics</key>
        <dict>
                <key>EDID</key>
                <dict>
                        <key>Inject</key>
                        <false/>
                </dict>
                <key>Inject</key>
                <dict>
                        <key>ATI</key>
                        <false/>
                        <key>Intel</key>
                        <true/>
                        <key>NVidia</key>
                        <false/>
                </dict>
                <key>ig-platform-id</key>
                <string>0x19160000</string>
        </dict>
        <key>KernelAndKextPatches</key>
        <dict>
                <key>AppleIntelCPUPM</key>
                <false/>
                <key>AppleRTC</key>
                <true/>
                <key>Debug</key>
                <false/>
                <key>FakeCPUID</key>
                <string>0x0506E3</string>
                <key>KernelCpu</key>
                <true/>
                <key>KernelLapic</key>
                <false/>
                <key>KernelPm</key>
                <true/>
                <key>KernelToPatch</key>
                <array>
                        <dict>
                                <key>Comment</key>
                                <string>MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                ILniAAAADzA=
                                </data>
                                <key>Replace</key>
                                <data>
                                ILniAAAAkJA=
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>External NVMe FIX</string>
                                <key>Disabled</key>
                                <true/>
                                <key>Find</key>
                                <data>
                                SIXAdAeAiyA=
                                </data>
                                <key>MatchOS</key>
                                <string>10.13.x</string>
                                <key>Replace</key>
                                <data>
                                SIXAkJCAiyA=
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>10.13 Installer/Updater essential</string>
                                <key>Disabled</key>
                                <true/>
                                <key>Find</key>
                                <data>
                                BwAAADHS6I/8//8=
                                </data>
                                <key>MatchOS</key>
                                <string>10.12.x,10.13.x</string>
                                <key>Replace</key>
                                <data>
                                BwAAADHSkJCQkJA=
                                </data>
                        </dict>
                </array>
                <key>KernelXCPM</key>
                <false/>
                <key>KextsToPatch</key>
                <array>
                        <dict>
                                <key>Comment</key>
                                <string>External NVME Icon Patch</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                SIXAdAeAiyA=
                                </data>
                                <key>InfoPlistPatch</key>
                                <false/>
                                <key>Name</key>
                                <string>IONVMeFamily</string>
                                <key>Replace</key>
                                <data>
                                SIXAkJCAiyA=
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Boot graphics glitch, 10.13 beta (based on denskop patch)</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                AQAAdSI=
                                </data>
                                <key>InfoPlistPatch</key>
                                <false/>
                                <key>MatchOS</key>
                                <string>10.13.x</string>
                                <key>Name</key>
                                <string>com.apple.iokit.IOGraphicsFamily</string>
                                <key>Replace</key>
                                <data>
                                AQAA6yI=
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>USB Port Limit Patch</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                g32MEA==
                                </data>
                                <key>InfoPlistPatch</key>
                                <false/>
                                <key>Name</key>
                                <string>AppleUSBXHCIPCI</string>
                                <key>Replace</key>
                                <data>
                                g32MGQ==
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>eDP, port 0000, 0x191e0000, 0x19160000, 0x19260000, 0x19270000, 0x191b0000, 0x19160002, 0x19260002, 0x191e0003, 0x19260004, 0x19270004, 0x193b0005 credit syscl</string>
                                <key>Disabled</key>
                                <false/>
                                <key>Find</key>
                                <data>
                                AAAIAAIAAACYAAAAAQUJAAAEAAA=
                                </data>
                                <key>InfoPlistPatch</key>
                                <false/>
                                <key>Name</key>
                                <string>com.apple.driver.AppleIntelSKLGraphicsFramebuffer</string>
                                <key>Replace</key>
                                <data>
                                AAAIAAAEAACYAAAAAQUJAAAEAAA=
                                </data>
                        </dict>
                </array>
        </dict>
        <key>RtVariables</key>
        <dict>
                <key>BooterConfig</key>
                <string>0x28</string>
                <key>CsrActiveConfig</key>
                <string>0x67</string>
        </dict>
        <key>SMBIOS</key>
        <dict>
                <key>BiosReleaseDate</key>
                <string>02/08/2018</string>
                <key>BiosVendor</key>
                <string>Apple Inc.</string>
                <key>BiosVersion</key>
                <string>MBP132.88Z.0242.B00.1802080916</string>
                <key>Board-ID</key>
                <string>Mac-66E35819EE2D0D05</string>
                <key>BoardManufacturer</key>
                <string>Apple Inc.</string>
                <key>BoardSerialNumber</key>
                <string>C02722102GUF0V51H</string>
                <key>BoardType</key>
                <integer>10</integer>
                <key>BoardVersion</key>
                <string>1.0</string>
                <key>ChassisAssetTag</key>
                <string>MacBook-Aluminum</string>
                <key>ChassisManufacturer</key>
                <string>Apple Inc.</string>
                <key>ChassisType</key>
                <string>0x09</string>
                <key>Family</key>
                <string>MacBook Pro</string>
                <key>FirmwareFeatures</key>
                <string>0xFC0FE137</string>
                <key>FirmwareFeaturesMask</key>
                <string>0xFF1FFF3F</string>
                <key>LocationInChassis</key>
                <string>Part Component</string>
                <key>Manufacturer</key>
                <string>Apple Inc.</string>
                <key>Mobile</key>
                <true/>
                <key>PlatformFeature</key>
                <string>0x1A</string>
                <key>ProductName</key>
                <string>MacBookPro13,2</string>
                <key>SerialNumber</key>
                <string>C02TT2IAGYFH</string>
                <key>Version</key>
                <string>1.0</string>
        </dict>
        <key>SystemParameters</key>
        <dict>
                <key>InjectKexts</key>
                <string>Yes</string>
                <key>InjectSystemID</key>
                <true/>
                <key>NvidiaWeb</key>
                <true/>
        </dict>
</dict>
</plist>


tsm1939314979 发表于 2018-4-15 23:56

WLS.pkg 发表于 2018-4-15 23:43 https://www.pcbeta.com/static/image/common/back.gif
贴上你的配置

配置如下
项目        当前值
计算机       
计算机类型        基于 ACPI x64 的电脑(Mobile)
操作系统        Microsoft Windows 10 Home China
操作系统版本升级(SP)        -
Internet Explorer        11.371.16299.0
Edge        41.16299.371.0
DirectX        DirectX 12.0
计算机名称        DESKTOP-OO2S4S6
用户名称        xiaoh
登录域        DESKTOP-OO2S4S6
日期/时间        2018-04-15 / 15:51
       
主板       
处理器名称        QuadCore Intel Core i5-6300HQ, 3200 MHz (32 x 100)
主板名称        Asus ROG GL552VW Series Notebook
主板芯片组        Intel Sunrise Point HM170, Intel Skylake-H
系统内存        3959 MB(DDR4 SDRAM)
BIOS 类型        AMI (09/06/2016)
       
显示设备       
显示适配器        Intel(R) HD Graphics 530(1 GB)
显示适配器        Intel(R) HD Graphics 530(1 GB)
显示适配器        Intel(R) HD Graphics 530(1 GB)
3D 加速器        Intel HD Graphics 530
显示器        AU Optronics B156HTN03.8
       
多媒体       
音频适配器        Conexant CX20751/2 @ Intel Sunrise Point PCH - High Definition Audio Controller
音频适配器        Intel Skylake HDMI @ Intel Sunrise Point PCH - High Definition Audio Controller
       
存储设备       
IDE 控制器        Realtek PCIE CardReader
IDE 控制器        标准 SATA AHCI 控制器
存储控制器        Microsoft 存储空间控制器
硬盘驱动器        HGST HTS541010A9E680(1 TB, 5400 RPM, SATA-III)
硬盘驱动器        Kingston DataTraveler 3.0 USB Device(14 GB, USB)
光盘驱动器        Slimtype DVD ADA8AESH
硬盘 SMART 状态        OK
       
磁盘分区       
C: (NTFS)        51201 MB (25808 MB 可用)
D: (NTFS)        51200 MB (30116 MB 可用)
E: (NTFS)        51200 MB (49315 MB 可用)
F: (NTFS)        20480 MB (20323 MB 可用)
G: (NTFS)        614399 MB (563368 MB 可用)
总大小        770.0 GB (672.8 GB 可用)
       
输入设备       
键盘        HID Keyboard Device
键盘        HID Keyboard Device
键盘        HID Keyboard Device
键盘        HID Keyboard Device
键盘        HID Keyboard Device
键盘        PC/AT 增强型 PS/2 键盘(101/102 键)
鼠标        HID-compliant mouse
鼠标        HID-compliant mouse
       
网络设备       
主 IP 地址        192.168.0.110
主 MAC 地址        F0-03-8C-21-EE-65
网络适配器        Microsoft Wi-Fi Direct Virtual Adapter
网络适配器        Qualcomm Atheros AR956x Wireless Network Adapter(192.168.0.110)
网络适配器        Realtek PCIe GBE Family Controller
       
外围设备       
打印机        Fax
打印机        Microsoft Print to PDF
打印机        Microsoft XPS Document Writer
USB3 控制器        Intel Sunrise Point PCH - USB 3.0 xHCI Controller
USB 设备        Qualcomm Atheros Bluetooth 4.0
USB 设备        USB Camera
USB 设备        USB Composite Device
USB 设备        USB Composite Device
USB 设备        USB Composite Device
USB 设备        USB 大容量存储设备
USB 设备        USB 输入设备
USB 设备        USB 输入设备
USB 设备        USB 输入设备
USB 设备        USB 输入设备
USB 设备        USB 输入设备
USB 设备        通用 USB 集线器
电池        Microsoft AC 适配器
电池        Microsoft ACPI 兼容的控制方法电池
       
DMI       
DMI BIOS 厂商        American Megatrends Inc.
DMI BIOS 版本        GL552VW.300
DMI 系统制造商        ASUSTeK COMPUTER INC.
DMI 系统产品        GL552VW
DMI 系统版本        1.0
DMI 主板制造商        ASUSTeK COMPUTER INC.
DMI 主板产品        GL552VW
DMI 主板版本        1.0
DMI 主机制造商        ASUSTeK COMPUTER INC.
DMI 主机版本        1.0
DMI 主机类型        Notebook

yjplayer 发表于 2018-4-16 00:25

本帖最后由 yjplayer 于 2018-4-16 00:28 编辑

tsm1939314979 发表于 2018-4-15 23:45 https://www.pcbeta.com/static/image/common/back.gif
帮我看一下config吧。。。。。我是直接用的镜像自带的,自己只修改了一点我核显HD530,独显960m,华硕笔记 ...
先参考前面3步就可
https://bbs.pcbeta.com/viewthread-1737021-1-1.html
1 ssdt
2 hwpenable
3 kernel to patch补丁

你这个u需要fakecpuid?应该不需要吧(觉得应该取消)。。。。smbios为13,3更合适(个人觉得)?


                                             


                                             
                                                

                                             

Eternal鼬 发表于 2018-4-16 08:59

同CPU,声卡很好解决,昨天我还想发教程的被秒删了

crosslcy 发表于 2018-4-16 09:16

我的CPU是6100
                <key>ig-platform-id</key>
                <string>0x19160000</string>

机型选的13.1
                <key>ProductName</key>
                <string>MacBookPro13,2</string>

crosslcy 发表于 2018-4-16 09:20

WLS.pkg 发表于 2018-4-16 09:27

WLS.pkg 发表于 2018-4-16 09:40

WLS.pkg 发表于 2018-4-16 09:41

lyonpc 发表于 2018-4-16 09:58

学习一下!
页: [1] 2
查看完整版本: 求教DSDT错误修复和驱动原生电源和声卡