RadarURL
Toggle Button
회원 가입 아이디/비밀번호 찾기
보드명과 함께 작동하는 부품에 관련된 상세한 정보가 가급적 포함된 글을 작성하여 주시기 바랍니다.

This article let you know how to make DSDT patches in config.plist. DSDT consists of bunch of Hex codes that we don't understand at all. IASL translate these hex codes into understandable text results in aml file. We don't need to know all of combination of hex codes. I am concentrating on Method, Device and Name which are enough for patching dsdt.



1. make ssdt.dsl to find out which is what.

Here is simple test.dsl. I got this code from one of my ssdt files.


Screen Shot 2017-08-16 at 2.51.06 PM.png

I assume you have iasl file in your /usr/bin directory. 

Open terminal and execute following command " iasl -l test.dsl ". There are two files that would be showed up. test.aml and test.lst.  lst file is important. Open test.lst with Text Edit application. You can see text and hex codes together like this.

Screen Shot 2017-08-16 at 2.57.15 PM.png

As you can see the sample, you can understand which reserved words are what.

Name starts with 0x08, Method starts with 0x14and Device starts with 0x5B, respectively. 

This will help you when you patch device name or method correctly and let you know which hex code should be included or started in order to make sure you have only one choice for special case.


One more thing. If you want to patch name, you should know hex number of each text. This is simple.

Let's say, you are trying to patch SBRG to LPCB. Open terminal and execute following this command.

Screen Shot 2017-08-16 at 3.08.34 PM.png

 You don't need to website to translate this. xxd command will solve this problem.


2. DSDT patches in config.plist

Here is the sample from my config.plist.

Screen Shot 2017-08-16 at 3.15.29 PM.png

This sample patches Name (SS3, Zero) to Name (SS3, One). Hex code starts with 08 as we found out the above.

Because there are several SS3 in the dsdt.aml, I need to narrow down one match exactly what I want like below.

Screen Shot 2017-08-18 at 3.59.33 PM.png



The most important point of hex patching including DSDT, info.plist is that patch same bytes. If not, hex patching is not working at all. Name patching can be executed multiple times. 


I hope this would be helpful.

 





번호 제목 글쓴이 날짜 조회 수 추천 수
148 X10SLV-O보드와 HD4400 내장 그래픽 High-Sierra 설치 히스토리 file [레벨:15]id: ilove_u 2017.10.29 391 0
147 shell script for creating 10.13 usb installer based on BaseSystem.dmg file [레벨:12]뉴해킨 2017.09.27 394 0
146 to avoid "the path /system/installation/packages/osinstall.mpkg" when installing High Sierra Beta file [레벨:12]뉴해킨 2017.09.21 739 0
145 Tyan S7050GM4NR + e5 2670 x2 High Sierra boot file [레벨:12]뉴해킨 2017.09.04 398 0
144 half way succeed to install High Sierra with Tyan S7050GM4NR file [레벨:12]뉴해킨 2017.09.05 468 0
143 AppleGraphicsDevicePolicy bin and info.plist patch with config.plist file [레벨:12]뉴해킨 2017.08.21 402 0
142 Let's enable ACPI debug file [레벨:12]뉴해킨 2017.08.17 422 0
» How to find dsdt hex patches in config.plist when we use Clover boot loader file [레벨:12]뉴해킨 2017.08.16 571 0
140 intel DQ77KB m-itx + HD4000 구성하기 [8] file [레벨:15]id: ilove_u 2016.12.17 3102 0
139 Failing to install High Sierra 10.13 beta [2] file [레벨:12]뉴해킨 2017.06.10 1321 0
138 HighPoint RocketRaid 2720SGL - HDD 3TB x2 : raid 0 benchmark [1] file [레벨:12]뉴해킨 2017.06.06 1192 0
137 PCIe approach of FL1100 and Asmedia 1142 [1] file [레벨:12]뉴해킨 2017.05.18 1456 0
136 Asmedia 1142 usb3.1 type-c and type-A card from China and SSDT code [2] file [레벨:12]뉴해킨 2017.05.18 1564 0
135 ssdt for FL1100 pci_e .. revisited ( conflicting problem solved) file [레벨:12]뉴해킨 2017.05.13 1194 0
134 Let's make Tyan S7050GM4NR sleep [1] file [레벨:12]뉴해킨 2017.05.09 1339 0
133 New ssdt code for FL1100 pci-e card.. (outdated) [2] file [레벨:12]뉴해킨 2017.04.25 1464 0
132 Let's get rid of AMD RADEON HD 7xxx [5] file [레벨:12]뉴해킨 2017.04.26 1567 0
131 Nvidia GTX 10x0 Series [9] [레벨:1]dfghtqop 2017.02.25 2319 0
130 How to control FL1100 usb3.0 [9] file [레벨:12]뉴해킨 2016.12.07 2704 0
129 customization of Tyan S7050GM4NR + E5 2670x2 + MSI R9 280X for Sierra 10.12.1 file [레벨:12]뉴해킨 2016.12.07 2331 1

Copyright © 2011-2017 sixflow.net All rights reserved.

ipv6 ready
ipv6 test