Contribute
Register

[solved] Ativ Book 6 - Help patching DSDT and SSDT

Status
Not open for further replies.
Joined
Aug 21, 2014
Messages
46
Motherboard
Samsung Ativ Book 6
CPU
i7-3635QM / HM76
Graphics
HD4000 / AMD8870M / 1366x768
Mobile Phone
  1. Android
First of all, thanks RehabMan! :clap:

Also thanks for TeflonDon and Vairn, your topic really helped me out:
http://www.tonymacx86.com/el-capita...5-samsung-ativ-book-8-running-el-capitan.html

I'm close to get Yosemite working on my Ativ Book 6 (Brazilian model).
Model: 670Z5E-XD2
CPU: i7-3635QM
Chipset: Intel HM76
Memory: 8GB DDR3 1600 MHz
Graphics: AMD Radeon™ HD 8870M Graphics (2GB Dedicated)
Graphics: Intel HD Graphics 4000
Display: 15.4" 1366x768 (without touchscreen)
Hard Drive: Samsung HD 1TB 5400rpm

The system is running with a dual boot: Windows 10 and Yosemite using Clover UEFI.
I've extracted the aml files using Clover and decompiled with iasl.
Using MaciASL and Rehab repository, I managed to find the patches for my DSDT to fix Audio and Battery (Samsung Ativ 7 patch worked fine).


Attached are the original aml files extracted and also the current dsl files with the few patches above.

View attachment DSDT&SSDTs.zip

Currently I'm trying to disable AMD 8870M and also enable Brightness controls. I know there are topics explaining these procedures, but I could not advance on the patching, I need some help or guidance where to start.
Could someone help me applying those two patches and check if there is more work to do on those files?

When I get most of this system working, I'll right a guide!
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ativ Book 6 - Help patching DSDT and SSDT

First of all, thanks RehabMan! :clap:

Also thanks for TeflonDon and Vairn, your topic really helped me out:
http://www.tonymacx86.com/el-capita...5-samsung-ativ-book-8-running-el-capitan.html

I'm close to get Yosemite working on my Ativ Book 6 (Brazilian model).
Model: 670Z5E-XD2
CPU: i7-3635QM
Chipset: Intel HM76
Memory: 8GB DDR3 1600 MHz
Graphics: AMD Radeon™ HD 8870M Graphics (2GB Dedicated)
Graphics: Intel HD Graphics 4000
Display: 15.4" 1366x768 (without touchscreen)
Hard Drive: Samsung HD 1TB 5400rpm

The system is running with a dual boot: Windows 10 and Yosemite using Clover UEFI.
I've extracted the aml files using Clover and decompiled with iasl.
Using MaciASL and Rehab repository, I managed to find the patches for my DSDT to fix Audio and Battery (Samsung Ativ 7 patch worked fine).


Attached are the original aml files extracted and also the current dsl files with the few patches above.

View attachment 179752

Currently I'm trying to disable AMD 8870M and also enable Brightness controls. I know there are topics explaining these procedures, but I could not advance on the patching, I need some help or guidance where to start.
Could someone help me applying those two patches and check if there is more work to do on those files?

When I get most of this system working, I'll right a guide!

http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html
 
Joined
Aug 21, 2014
Messages
46
Motherboard
Samsung Ativ Book 6
CPU
i7-3635QM / HM76
Graphics
HD4000 / AMD8870M / 1366x768
Mobile Phone
  1. Android
Ativ Book 6 - Help patching DSDT and SSDT

Alright, almost all SSDT are compiling without errors. Only the last one SSDT-8 is returning this error:

Code:
SSDT-8.dsl    130:         OperationRegion (APXM, SystemMemory, AMDA (0x00010400), Field (APXM, AnyAcc, NoLock, Preserve)
Error    6126 -                                syntax error, unexpected PARSEOP_FIELD ^ 

SSDT-8.dsl    747: 
Error    6126 - syntax error, unexpected PARSEOP_METHOD, expecting $end and premature End-Of-File

Any tips how to fix those?

View attachment SSDT-8.zip

--EDIT--
Fixed, changed to:
Code:
OperationRegion (APXM, SystemMemory, AMDA, 0x00010400) Field (APXM, AnyAcc, NoLock, Preserve)

Now I have this list of errors:

Code:
SSDT-8.dsl     69:     External (_SB_.PCI0.GFX0, DeviceObj)
Error    6074 -             Name already exists in scope ^  (_SB_.PCI0.GFX0)

SSDT-8.dsl     72:     External (_SB_.PCI0.PEG0, UnknownObj)
Error    6074 -              Name already exists in scope ^  (_SB_.PCI0.PEG0)

SSDT-8.dsl     73:     External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
Error    6074 -                  Name already exists in scope ^  (_SB_.PCI0.PEG0.PEGP)

SSDT-8.dsl     98:     Scope (\_SB.PCI0.PEG0.PEGP)
Error    6117 -                                ^ Existing object has invalid type for Scope operator (\_SB.PCI0.PEG0.PEGP [Untyped])

SSDT-8.dsl    128:     Scope (\_SB.PCI0.GFX0)
Error    6117 -                           ^ Existing object has invalid type for Scope operator (\_SB.PCI0.GFX0 [Untyped])

SSDT-8.dsl    253:                 CreateWordField (Arg1, Zero, FN2S)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATPX])

SSDT-8.dsl    270:                 CreateWordField (Arg1, Zero, FN3S)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATPX])

SSDT-8.dsl    287:                 CreateWordField (Arg1, Zero, FN4S)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATPX])

SSDT-8.dsl    304:                 CreateWordField (Arg1, Zero, FN5S)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATPX])

SSDT-8.dsl    313:                 CreateWordField (Arg1, Zero, FN6S)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATPX])

SSDT-8.dsl    511:                 CreateByteField (TMP2, 0x06, F2EM)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    512:                 CreateByteField (TMP2, 0x07, F2TG)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    513:                 CreateByteField (TMP2, 0x08, F2SI)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    514:                 CreateByteField (TMP2, 0x09, F2FG)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    515:                 CreateByteField (TMP2, 0x0A, F2FI)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    516:                 CreateByteField (TMP2, 0x0B, F2SP)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    535:                 CreateWordField (Arg1, Zero, AI3S)
Remark   2089 -                          Object is not referenced ^  (Name is within method [ATIF])

SSDT-8.dsl    758:         Notify (\_SB.PCI0.GFX0, 0x81)
Error    6010 -        Internal compiler error ^  (could not map type)

SSDT-8.dsl    758:         Notify (\_SB.PCI0.GFX0, 0x81)
Error    6058 -                   Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    797:                 Notify (\_SB.PCI0.GFX0, 0x81)
Error    6010 -                Internal compiler error ^  (could not map type)

SSDT-8.dsl    797:                 Notify (\_SB.PCI0.GFX0, 0x81)
Error    6058 -                           Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    804:         Name (_T_0, Zero)  
Remark   2011 -                    ^ Use of compiler reserved name (_T_0)

SSDT-8.dsl    814:                         Notify (\_SB.PCI0.GFX0, 0x80)
Error    6010 -                        Internal compiler error ^  (could not map type)

SSDT-8.dsl    814:                         Notify (\_SB.PCI0.GFX0, 0x80)
Error    6058 -                                   Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    819:                         Notify (\_SB.PCI0.PEG0.PEGP, 0x80)
Error    6010 -                             Internal compiler error ^  (could not map type)

SSDT-8.dsl    819:                         Notify (\_SB.PCI0.PEG0.PEGP, 0x80)
Error    6058 -                                        Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    825:                     Notify (\_SB.PCI0.GFX0, 0x81)
Error    6010 -                    Internal compiler error ^  (could not map type)

SSDT-8.dsl    825:                     Notify (\_SB.PCI0.GFX0, 0x81)
Error    6058 -                               Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    837:                         Notify (\_SB.PCI0.GFX0, 0x80)
Error    6010 -                        Internal compiler error ^  (could not map type)

SSDT-8.dsl    837:                         Notify (\_SB.PCI0.GFX0, 0x80)
Error    6058 -                                   Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    842:                         Notify (\_SB.PCI0.PEG0.PEGP, 0x80)
Error    6010 -                             Internal compiler error ^  (could not map type)

SSDT-8.dsl    842:                         Notify (\_SB.PCI0.PEG0.PEGP, 0x80)
Error    6058 -                                        Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    847:                     Notify (\_SB.PCI0.GFX0, 0x80)
Error    6010 -                    Internal compiler error ^  (could not map type)

SSDT-8.dsl    847:                     Notify (\_SB.PCI0.GFX0, 0x80)
Error    6058 -                               Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    858:                             Notify (\_SB.PCI0.GFX0, 0x80)
Error    6010 -                            Internal compiler error ^  (could not map type)

SSDT-8.dsl    858:                             Notify (\_SB.PCI0.GFX0, 0x80)
Error    6058 -                                       Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    863:                             Notify (\_SB.PCI0.PEG0.PEGP, 0x80)
Error    6010 -                                 Internal compiler error ^  (could not map type)

SSDT-8.dsl    863:                             Notify (\_SB.PCI0.PEG0.PEGP, 0x80)
Error    6058 -                                            Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    868:                         Notify (\_SB.PCI0.GFX0, 0x80)
Error    6010 -                        Internal compiler error ^  (could not map type)

SSDT-8.dsl    868:                         Notify (\_SB.PCI0.GFX0, 0x80)
Error    6058 -                                   Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

SSDT-8.dsl    873:                     Notify (\_SB.PCI0.GFX0, 0x80)
Error    6010 -                    Internal compiler error ^  (could not map type)

SSDT-8.dsl    873:                     Notify (\_SB.PCI0.GFX0, 0x80)
Error    6058 -                               Invalid type ^  ([Reference] found, Notify operator requires [Device|Processor|Thermal])

The three first errors I can just comment out the code, right? And what should I do with the others?

--EDIT.2--

Fixed! I was not getting exactly what external references to move, but I've found out.

Should sleep work with all the SSDT and DSDT compiling?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Aug 21, 2014
Messages
46
Motherboard
Samsung Ativ Book 6
CPU
i7-3635QM / HM76
Graphics
HD4000 / AMD8870M / 1366x768
Mobile Phone
  1. Android
Ativ Book 6 - Help patching DSDT and SSDT

Postponed the sleep problem, I'll get to it later. System was going to sleep, but not waking up (fans start, HD kicks in, no image and system reboots).

NOW I really need to get backlight control to work, oh my eyes are burning. :p

I've installed IntelBacklight.kext and applied Brightness fix patch to SSDT-7. After this my system won't boot. Verbose mode tells me : "IntelBacklightPanel not found (PNLF patch missing?)" and a few lines later "IntelBacklight: Version starting on..." Boot hangs there.

How and what logs I need to check to find the issue?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ativ Book 6 - Help patching DSDT and SSDT

Postponed the sleep problem, I'll get to it later. System was going to sleep, but not waking up (fans start, HD kicks in, no image and system reboots).

NOW I really need to get backlight control to work, oh my eyes are burning. :p

I've installed IntelBacklight.kext and applied Brightness fix patch to SSDT-7. After this my system won't boot. Verbose mode tells me : "IntelBacklightPanel not found (PNLF patch missing?)" and a few lines later "IntelBacklight: Version starting on..." Boot hangs there.

How and what logs I need to check to find the issue?

Read guide: http://www.tonymacx86.com/yosemite-...ching-dsdt-ssdt-laptop-backlight-control.html

If you have an issue, read post #1, "Problem Reporting".
 
Joined
Aug 21, 2014
Messages
46
Motherboard
Samsung Ativ Book 6
CPU
i7-3635QM / HM76
Graphics
HD4000 / AMD8870M / 1366x768
Mobile Phone
  1. Android
Ativ Book 6 - Help patching DSDT and SSDT

All the logs as requested (without brightness fix patch): View attachment AtivBook6.zip

If I patch DSDT or any of the SSDT with the Brightness patch, my system can't boot anymore. Check photo below:
 

Attachments

  • IMG_20160306_190946.jpg
    IMG_20160306_190946.jpg
    659.3 KB · Views: 269

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ativ Book 6 - Help patching DSDT and SSDT

All the logs as requested (without brightness fix patch): View attachment 179856

If I patch DSDT or any of the SSDT with the Brightness patch, my system can't boot anymore. Check photo below:

You need to provide the files that reproduce the problem.

Files that don't reproduce the problem are not useful for determining your mistake.
 
Joined
Aug 21, 2014
Messages
46
Motherboard
Samsung Ativ Book 6
CPU
i7-3635QM / HM76
Graphics
HD4000 / AMD8870M / 1366x768
Mobile Phone
  1. Android
Ativ Book 6 - Help patching DSDT and SSDT

Here it is, SSDT-7 with Brightness Fix from your repository applied:

View attachment SSDT-7.dsl

System won't boot after using this SSDT, it returns the error from the photo above. All the other files are exactly the same from the last post.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Ativ Book 6 - Help patching DSDT and SSDT

Here it is, SSDT-7 with Brightness Fix from your repository applied:

View attachment 179887

System won't boot after using this SSDT, it returns the error from the photo above. All the other files are exactly the same from the last post.

No -- a single file simply is not enough information to find your mistake.

Need entire EFI/Clover that produces the "can't boot" problem.

Please post as ZIP and don't forget to remove themes (in order to reduce the size).
 
Status
Not open for further replies.
Top