Jump to content

Research: E6510 DSDT working with Sierra


bartl

Recommended Posts

Hi I am currently working on a dsdt for my e6510 (pretty similar to a e6410 as stated in other posts)
 
After successfully installing Sierra following available El Capitan guides (mostly for the e6410) I figured out that shutdown and sleep is not working. This is my primary goal to get this to work. Up to know I am not successful yet.
 
I have carefully read RehabMan guide for dsdt patching and at first figured out, that applelpc is not working on my machine:

MY MAC:~ bartl$ kextstat|grep -y applelpc
  104    0 0xffffff7f82971000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <92 12 5 4 3>

Here I found out that for the series 5 chipset a compatibility tag is needed in the DSDT's LPS definition
 
So by adding the following lines to the dsdt brings applelpc up:

...
Device (LPCB)
    {
    Name (_ADR, 0x001F0000)  // _ADR: Address
// start here
    Method (_DSM, 4, NotSerialized) // LPC compatible patch entry
        {
        If (!Arg2)
            {
            Return ( Buffer() { 0x03 } )
            }
            
        Return ( Package () { "compatible", "pci8086,3b09" } ) 
        }
// end here
        Scope (\_SB)
...

Further I noticed that USB is not being loaded in the new El Capitan/Sierra way.
 
So I started with renaming EHCI and EHC2 to EH01 and EH02. Unfortunately this leads into kernel panic telling me that _UPC can not be parsed correctly. Further inspection of my dsdt showed me that the _UPC method has been implemented only as name. So here I did some copy and paste work:

  Reveal hidden contents

 

 

Now after reboot my USB ports have not been available. So I have to inject them with USBInjectAll.kext. After placing it in efi/clover/kexts/10.12 a huge amount of ports are available so I created a custom ssdt which shrinks down the port number after placing it in refi/clover/acpi/patched:

 

  Reveal hidden contents

 

So far my current research.

Link to comment
Share on other sites

Have now shutdown working correctly (by accident 8-) figured out by my wife  :-P )

 

Here the short story: While doing trial and error research with my new created DSDT I always kept my "original" DSDT as default in clover. My wife want's to lookup something quickly before lunch and I just told her to switch on the machine. So it loaded my "original" DSDT in combination with USBInjectAll and my SSDT-UIAC-ALL. Then she just asked me to shut down the machine as the lunch was ready. And voilà - shutdown is working.

 

So now I have to examine the difference between my DSDT and the "original" one.

As far as I know there were no USB corrections made like above. But IORegistryExplorer is showing them as EHC1 and EHC2.

 

My clover configuration is only to generate C and P states and FixIPIC in the ACPI section - SMBIOS set to 6.2. 

 

Before you ask - sleep is still not working - already checked it.

Link to comment
Share on other sites

×
×
  • Create New...