Contribute
Register

[SOLVED]Clevo N850HK1 ACPI patches (see #14)

Joined
Jan 30, 2016
Messages
15
Motherboard
Gigabyte Gaming Z170-SLI
CPU
i7 6700K
Graphics
MSI GTX 970 GAMING 4G
Mobile Phone
  1. iOS
I want to install Sierra on my laptop (Clevo N850HK1), and I've got the system and the built in HID working so far. My next step was going to be turning off the dGPU, but I ran into a problem I can't solve.

The guide for doing so, as seen here, tells me to patch my DSDT/SSDT, and refers to the guide here. However, when I try to disassemble my ACPI files, as shown in the guide, I get the following error:

ACPI Error: [_CST] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During namespace lookup/catalog (20161012/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS

This error also shows up when booting into e.g. Linux, but Linux just ignores it and boots anyway.

Now, the guide seems to suggest I must fix my ACPI files to remove this error, but in order to do that I must edit them, and in order to do that I must first disassemble them, but I can't disassemble them because they're broken. What crucial part of the story am I missing?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I want to install Sierra on my laptop (Clevo N850HK1), and I've got the system and the built in HID working so far. My next step was going to be turning off the dGPU, but I ran into a problem I can't solve.

The guide for doing so, as seen here, tells me to patch my DSDT/SSDT, and refers to the guide here. However, when I try to disassemble my ACPI files, as shown in the guide, I get the following error:

ACPI Error: [_CST] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During namespace lookup/catalog (20161012/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS

This error also shows up when booting into e.g. Linux, but Linux just ignores it and boots anyway.

Now, the guide seems to suggest I must fix my ACPI files to remove this error, but in order to do that I must edit them, and in order to do that I must first disassemble them, but I can't disassemble them because they're broken. What crucial part of the story am I missing?

Duplicate symbols caused by duplicate SSDTs (usually the first dynamic SSDT) are covered in the guide.
Read it carefully.
 
Joined
Jan 30, 2016
Messages
15
Motherboard
Gigabyte Gaming Z170-SLI
CPU
i7 6700K
Graphics
MSI GTX 970 GAMING 4G
Mobile Phone
  1. iOS
Duplicate symbols caused by duplicate SSDTs (usually the first dynamic SSDT) are covered in the guide.
Read it carefully.

First of all, thank you for the amazingly quick reaction.

I have read the guide and removed the duplicate files. Now I'm getting the same error but it applies not to _CST but to _UPC, and also, Immediately before the error it says "pass 1 parse of [DSDT]"
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
First of all, thank you for the amazingly quick reaction.

I have read the guide and removed the duplicate files. Now I'm getting the same error but it applies not to _CST but to _UPC, and also, Immediately before the error it says "pass 1 parse of [DSDT]"

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Joined
Jan 30, 2016
Messages
15
Motherboard
Gigabyte Gaming Z170-SLI
CPU
i7 6700K
Graphics
MSI GTX 970 GAMING 4G
Mobile Phone
  1. iOS
Ok, I got them to disassemble by disassembling SSDT and DSDT separately. I then followed your guide on fixing Dual GPU issues, recompiled ACPI, put in in ACPI/Patched, set dropOEM=True, and...

to no one's surprise, after selecting macOS from clover I got a black screen, even in verbose mode.

Now, I suspect this is because I incorrectly patched the ACPI. This could be a result of BNUM appearing as both an external and an internal resource in DSDT, which I fixed by removing the second occurrence.

Attached is the raw output of ACPI/Origins with duplicates removed, and my disassembled version of it. If you would be so kind as to take a look at it I would be very grateful.
 

Attachments

  • origin.zip
    190.2 KB · Views: 47

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ok, I got them to disassemble by disassembling SSDT and DSDT separately. I then followed your guide on fixing Dual GPU issues, recompiled ACPI, put in in ACPI/Patched, set dropOEM=True, and...

to no one's surprise, after selecting macOS from clover I got a black screen, even in verbose mode.

Now, I suspect this is because I incorrectly patched the ACPI. This could be a result of BNUM appearing as both an external and an internal resource in DSDT, which I fixed by removing the second occurrence.

Attached is the raw output of ACPI/Origins with duplicates removed, and my disassembled version of it. If you would be so kind as to take a look at it I would be very grateful.

You need to attach "Problem Reporting" files as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.232978/

Note: Correct fix for BNUM is to remove the unneeded 'External' declaration. Anything else is wrong.

Your profile also lacks details on your laptop hardware. Please fix as per FAQ.
 
Joined
Jan 30, 2016
Messages
15
Motherboard
Gigabyte Gaming Z170-SLI
CPU
i7 6700K
Graphics
MSI GTX 970 GAMING 4G
Mobile Phone
  1. iOS
please ignore this message
 
Last edited:
Joined
Jan 30, 2016
Messages
15
Motherboard
Gigabyte Gaming Z170-SLI
CPU
i7 6700K
Graphics
MSI GTX 970 GAMING 4G
Mobile Phone
  1. iOS
You need to attach "Problem Reporting" files as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.232978/

Note: Correct fix for BNUM is to remove the unneeded 'External' declaration. Anything else is wrong.

Your profile also lacks details on your laptop hardware. Please fix as per FAQ.


As per request, problem reporting files are attached. The output of the requested commands are attached as text files, but I pasted them here as well. I also attached a zip containing my clumsily patched ACPI that booted to black screen.

Dragonfly:problem Reporting floris$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext

KernelCache ID: 7AE29A41177E8CFE078CF66953414C8E

Dragonfly:problem Reporting floris$ kextstat|grep -y acpiplat

13 2 0xffffff7f82f43000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Dragonfly:problem Reporting floris$ kextstat|grep -y appleintelcpu

Dragonfly:problem Reporting floris$ kextstat|grep -y applelpc

Dragonfly:problem Reporting floris$ kextstat|grep -y applehda

Dragonfly:problem Reporting floris$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Dragonfly:problem Reporting floris$ pmset -g assertions

2017-11-08 09:27:27 +0100

Assertion status system-wide:

BackgroundTask 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 99(hidd): [0x0000003500098026] 08:19:02 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968102.3"

Timeout will fire in 597 secs Action=TimeoutActionRelease

Kernel Assertions: 0x104=USB,MAGICWAKE

id=500 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14b00000 owner=USB Laser Mouse

id=501 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000 owner=Chicony USB2.0 Camera

id=502 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14300000 owner=BCM2045A0

id=503 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14700000 owner=EgisTec_ES603

id=504 level=255 0x100=MAGICWAKE mod=01/01/1970, 01:00 description=en1 owner=en1

Idle sleep preventers: IODisplayWrangler

Dragonfly:problem Reporting floris$ system_profiler SPSerialATADataType|grep TRIM
 

Attachments

  • CLOVER.zip
    1.6 MB · Views: 40
  • IoReg.zip
    590.6 KB · Views: 34
  • kextcache.txt
    551 bytes · Views: 244
  • kextstat.txt
    1.9 KB · Views: 228
  • patched.zip
    205.2 KB · Views: 30
  • Patchmatic.zip
    51.6 KB · Views: 34

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
As per request, problem reporting files are attached. The output of the requested commands are attached as text files, but I pasted them here as well. I also attached a zip containing my clumsily patched ACPI that booted to black screen.

Dragonfly:problem Reporting floris$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext

KernelCache ID: 7AE29A41177E8CFE078CF66953414C8E

Dragonfly:problem Reporting floris$ kextstat|grep -y acpiplat

13 2 0xffffff7f82f43000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Dragonfly:problem Reporting floris$ kextstat|grep -y appleintelcpu

Dragonfly:problem Reporting floris$ kextstat|grep -y applelpc

Dragonfly:problem Reporting floris$ kextstat|grep -y applehda

Dragonfly:problem Reporting floris$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Dragonfly:problem Reporting floris$ pmset -g assertions

2017-11-08 09:27:27 +0100

Assertion status system-wide:

BackgroundTask 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 99(hidd): [0x0000003500098026] 08:19:02 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968102.3"

Timeout will fire in 597 secs Action=TimeoutActionRelease

Kernel Assertions: 0x104=USB,MAGICWAKE

id=500 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14b00000 owner=USB Laser Mouse

id=501 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000 owner=Chicony USB2.0 Camera

id=502 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14300000 owner=BCM2045A0

id=503 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14700000 owner=EgisTec_ES603

id=504 level=255 0x100=MAGICWAKE mod=01/01/1970, 01:00 description=en1 owner=en1

Idle sleep preventers: IODisplayWrangler

Dragonfly:problem Reporting floris$ system_profiler SPSerialATADataType|grep TRIM

"Problem reporting" files must represent the problem scenario.
You mentioned having an issue booting with a certain EFI/Clover setup (patched ACPI), but then you provided no EFI/Clover with patched ACPI.
 
Joined
Jan 30, 2016
Messages
15
Motherboard
Gigabyte Gaming Z170-SLI
CPU
i7 6700K
Graphics
MSI GTX 970 GAMING 4G
Mobile Phone
  1. iOS
"Problem reporting" files must represent the problem scenario.
You mentioned having an issue booting with a certain EFI/Clover setup (patched ACPI), but then you provided no EFI/Clover with patched ACPI.

Here you go
 

Attachments

  • CLOVER 2.zip
    1.6 MB · Views: 40
Top