menu arrow_back 辰风网盘 chevron_right ... chevron_right doc chevron_right HowToFixDsdt.txt
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    辰风网盘
    web
    辰风博客
    group
    小米谷歌相机摄影群1
    group
    小米谷歌相机摄影群2
    group
    小米谷歌相机摄影群3
    chat
    小米谷歌相机摄影微信群
    computer
    黑苹果MAC/IOS交流群
    HowToFixDsdt.txt
    2.37 KB / 2020-04-14 18:59:51
        
    ==========================================================================================================================
    
                                                  How to Fix DSDT using Clover                                (since rev. 479)
                                  ----------------------------------------------------------------
    
    
    New setting in /EFI/config.plist:
    
    ACPI:
    <key>FixDsdtMask</key>
    <string>0xFFFF</string>
    
    Suggest to remove /EFI/ACPI/patched/dsdt.aml if get kernel panic.
    All mask values are as below. Some patches need Method DTGP (0x0001) to work fine.
    
    Definition of 0x00FF:
    0000 0000 0000 0001 = 0x0001 = FIX_DTGP
    0000 0000 0000 0010 = 0x0002 = FIX_WARNING
    0000 0000 0000 0100 = 0x0004 = FIX_SHUTDOWN
    0000 0000 0000 1000 = 0x0008 = FIX_MCHC
    0000 0000 0001 0000 = 0x0010 = FIX_HPET
    0000 0000 0010 0000 = 0x0020 = FIX_LPC
    0000 0000 0100 0000 = 0x0040 = FIX_IPIC
    0000 0000 1000 0000 = 0x0080 = FIX_SBUS
    
    Definition of 0xFF00:
    0000 0001 0000 0000 = 0x0100 = FIX_DISPLAY
    0000 0010 0000 0000 = 0x0200 = FIX_IDE
    0000 0100 0000 0000 = 0x0400 = FIX_SATA
    0000 1000 0000 0000 = 0x0800 = FIX_FIREWIRE
    0001 0000 0000 0000 = 0x1000 = FIX_USB
    0010 0000 0000 0000 = 0x2000 = FIX_LAN
    0100 0000 0000 0000 = 0x4000 = FIX_WIFI
    1000 0000 0000 0000 = 0x8000 = FIX_HDA
    
    
    How to use dsdt fix:
    --------------------
    
    0000 0000 1111 1111 = 0x00FF = Fix all of bit(0) ~ bit(7).
    1111 1111 0000 0000 = 0xFF00 = Fix all of bit(8) ~ bit(15). Need to be 0xFF01 with method DTGP first.
    
    You can fix dsdt for single function. Need method DTGP to work without dsdt.aml.
    
    0000 0000 0000 1001 = 0x0009 = DTGP + MCHC
    0000 0000 0010 0001 = 0x0021 = DTGP + LPC
    0000 0000 1000 0001 = 0x0081 = DTGP + SBUS
    0000 0001 0000 0001 = 0x0101 = DTGP + DISPLAY
    0000 0010 0000 0001 = 0x0201 = DTGP + IDE
    0000 0100 0000 0001 = 0x0401 = DTGP + SATA
    0000 1000 0000 0001 = 0x0801 = DTGP + FIREWIRE
    0001 0000 0000 0001 = 0x1001 = DTGP + USB
    0010 0000 0000 0001 = 0x2001 = DTGP + LAN
    0100 0000 0000 0001 = 0x4001 = DTGP + WIFI
    1000 0000 0000 0001 = 0x8001 = DTGP + HDA
    
    Or fix dsdt for multi functions. Need method DTGP to work without dsdt.aml.
    
    0000 0101 0000 0001 = 0x0501 = DTGP + DISPLAY + SATA
    0011 0001 0000 0001 = 0x3101 = DTGP + DISPLAY + USB + LAN
    1011 0101 0000 0001 = 0xB501 = DTGP + DISPLAY + SATA + USB + LAN + HDA
    
    ==========================================================================================================================
    
    
    links
    file_download