Jump to content

[SUCCESS] Latitude 5590 (Coffee Lake) High Sierra


quartz38

Recommended Posts

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

Hi Jake,

 

Again good news, slider is working. I think one file SSDT-PNLF or SSDT-ALS0 was corrupted.

Compile it again, and all is working.

 

I upgraded successfully to 10.13.6.

 

Many thanks for help.

 

PS Please, what was the patches list you apply to my origin files ?

 

Link to comment
Share on other sites

  • Moderators

Patches for DSDT are the following in this order:

  • rename HDAS to HDEF
  • Rename HECI to IMEI

Then from Rehabman github, apply the following

http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master

 

  • _DSM to XDSM
  • HDEF layout-id2 //need to manually change it to 56 or leave out the layout-id string and buffer
  • B0D3 to HDAU
  • GFX0 to IGPU
  • Mutex fix
  • HPET Fix
  • IRQ Fix
  • RTC Fix
  • LPC Skylake //not sure it's needed
  • USB 3.0 _pwr 0x6D Skylake

Finally to fix compiling errors and add I2C touchpad patches, add the following patches

Spoiler

 

#========= by Jake Lo (OSXLatitude) 
# Remove unnecessary External declarations that cause errors on Kabylake model and some Skylake

into definitionblock code_regex External\s+\(BNUM,\s+UnknownObj\) replace_matched
begin
// %0
end;
into definitionblock code_regex External\s+\(IDPC,\s+UnknownObj\) replace_matched
begin
// %0
end;
into definitionblock code_regex External\s+\(DLPN,\s+UnknownObj\) replace_matched
begin
// %0
end;
into definitionblock code_regex External\s+\(IDMN,\s+UnknownObj\) replace_matched
begin
// %0
end;
into definitionblock code_regex External\s+\(CBID,\s+UnknownObj\) replace_matched
begin
// %0
end;

 

# ====Fix IASL bug on some DSDT with ECRW
# created by Jake Lo (OSXLatiude)
into method label _CRS code_regex Store\s+\(Zero,\s+ECRW\s+\(If\s+\(PM0H\) replace_matched
begin
Store (Zero, ECRW) } If (PM0H)
end;

into method label _CRS code_regex Store\s+\(Zero,\s+F0LN\)\s+?\}\)\) replace_matched
begin
Store (Zero, F0LN)
end;

 

#===== GPI0 Status patch for I2C
# Ensures that OS X can enumerate the GPI0 controller
# Written and maintained by Alexandre Daoud

into method label _STA parent_label GPI0 replace_content begin

Return (0x0F)

end;

 

#============= Windows 10 DSDT Patch for VoodooI2C
# Allows I2C controllers and devices to be discovered by OS X.
# Based off patches written by RehabMan

into_all method code_regex If\s+\([\\]?_OSI\s+\(\"Windows\s2015\"\)\) replace_matched begin If(LOr(_OSI("Darwin"),_OSI("Windows 2015"))) end;


#=========== Patch GPI0 for I2C based off Alexandre Daoud's guide =================

# created by Jake Lo (OSXLatitude)

into device label TPD1 code_regex Pin\s+\list\s+?0x0000 replace_matched begin
Pin list\n
0x1B\n
end;

#============ Patch _CRS for I2C based off Alexandre Daoud's guide ==========================

# Jake Lo (OSXLatitude)

into method label _CRS parent_label TPD1 replace_content begin
Return (ConcatenateResTemplate (SBFB, SBFG))\n                     
end;

 

 

Don't forget to rename these to the associated SSDT's or add it to Config ACPI / Patches section

  • _DSM to XDSM
  • B0D3 to HDAU
  • HDAS to HDEF
  • GFX0 to IGPU
Link to comment
Share on other sites

Hi Jake,

 

I discovered that the trackpad is working but not the buttons ! no action on clic.

 

I mostly use mouse but in this case I used only trackpad with buttons

 

I will try to analyse your patches (to try to understand ...)

 

An idea ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...