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

Let's enable ACPI debug

2017.08.17 15:05

[레벨:12]뉴해킨 조회 수:422

There are two ways to enable ACPI debug in macOS Sierra as far as I know until now. One is using Rehabman's kext and the other one is PikeAlpha's method. You can check the how to  do here for PikeAlpha's. It's kind of easy. Just add this to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist.  debug=0x12a api_layer=0x08 api_level=0x02 when you are using macOS Sierra.


Here is the result of PikeAlpha's method.

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

But this is a little buggy and a little hard to recover non-debugging mode.


So I am concentrating here with Rehabman's ACPIDegug.kext method. This tutorial is only how to do that.


1. Basic information of Rehabman's ACPIDebug.kext 

You can check the information from here and down from here. debug.txt is the code needed and debug_extern.txt shows how to import this code. 


2. aml code for ACPIDebug.kext

Device (RMDT) code is needed to enable this kext. You can use it in DSDT or SSDT. But I am not modifying DSDT.aml directly so I made a ssdt file. SSDT-RMDT.aml


3. example.

I am using Clover boot loader version 4156 and This ssdt is working very well with clover. Put the SSDT-RMDT.aml file to /ACPI/Patched along with your ssdt files and Install ACPIDebug.kext in /system/library/extensions.


Here is how.

Let's say we are injecting graphic slot which named GFX0 and HDAU at Device (\_SB.PCI0.NPE7).

It could be done simply by insert code "Device (\_SB.PCI0.NPE7.GFX0)  and Device (\_SB.PCI0.NPE7.HDAU)" like sample ssdt below. And add code " External (RMDT.P1, MetthodObj)" in first part of ssdt. One more thing to use ACPIDebug.kext by injecting Method (_INI,,,) {\RMDT.P1 ("Whatever you want to write.")}

After installing ACPIDebug.kext and modifying ssdt, reboot.


Following code is adopted from one of my ssdt files. You can understand it right away.


Screen Shot 2017-08-17 at 5.33.31 PM.png


4. confirm the result.

Open terminal and use command "log show "

The command I am using is "log  show --predicate 'process == "kernel" AND (eventMessage CONTAINS "ACPI" OR eventMessage CONTAINS "ACPIDebug")' --start "2017-08-16 00:00:00" --style syslog --source --info".

You need to change --start "2017-08-16 00:00:00" to time you want to check.


Here is the result in my case.

Screen Shot 2017-08-17 at 5.31.47 PM.png


I hope this would be helpful to you all.

번호 제목 글쓴이 날짜 조회 수 추천 수
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 401 0
» Let's enable ACPI debug file [레벨:12]뉴해킨 2017.08.17 422 0
141 How to find dsdt hex patches in config.plist when we use Clover boot loader file [레벨:12]뉴해킨 2017.08.16 570 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