Contribute
Register

Problems with my Laptop after installing Yosemite

Status
Not open for further replies.
You do not need SSDT-3 unless you plan to disable nvidia (a good idea)...

If you plan to do that, then you'll need to fix the errors. But most of the errors are in it due to improper disassembly....

You will get a better disassembly if you disassemble all at once...

You will need to extract all DSDT/SSDT from Linux. They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic. Place them on USB or otherwise transfer to OS X.

It is not necessary to install Linux. Simply run it from USB: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows

In Linux Terminal:
Code:
# substitute DEST with the mountpoint of a FAT32 formatted USB stick
sudo cp -R /sys/firmware/acpi/tables DEST

Place all SSDT/DSDT in a single directory (rename them to *.aml as you move them) and use a recent build of iasl to disassemble:
https://bitbucket.org/RehabMan/acpica/downloads
Code:
cd "to directory where you placed all SSDT/DSDT"
iasl -da -dl *.aml

Then work with the resulting *.dsl. You'll find you have less errors to deal with.

I tried coping the contents from tables using Ubuntu. I had a SSDT1 to SSDT4 inside tables folder. Inside Dynamic folder I had SSDT5 to SSDT7.

The problem that I mentioned before is that SSDT-3 from MaciASL had errors (it contained GFX). Here, in the tables folder the GFX variables were present in SSDT4.aml.

I tried compiling the SSDT4.aml without any changes. But still I keep getting errors!

Screen Shot 2014-12-09 at 10.44.18 pm.png

I have attached my entire tables folder. Can you please help me to solve these errors! :)

SilleBille
 

Attachments

  • tables.zip
    498.5 KB · Views: 55
I tried coping the contents from tables using Ubuntu. I had a SSDT1 to SSDT4 inside tables folder. Inside Dynamic folder I had SSDT5 to SSDT7.

The problem that I mentioned before is that SSDT-3 from MaciASL had errors (it contained GFX). Here, in the tables folder the GFX variables were present in SSDT4.aml.

I tried compiling the SSDT4.aml without any changes. But still I keep getting errors!

View attachment 117453

I have attached my entire tables folder. Can you please help me to solve these errors! :)

SilleBille

There is no errors in SSDT-3.dsl after:
Code:
iasl -da -dl *.aml dynamic/*.aml

Plus, you likely do not need SSDT-3 anyway.

For SSDT-4, you simply remove the offending code:
Code:
into_all method label MXMX remove_entry;
into device label WMI1 remove_entry;
into_all method label _DSM remove_entry;
into_all method label HDSM remove_entry;
into_all method label HGAS remove_entry;
into_all method label HNOT remove_entry;
into_all method label HDOS remove_entry;
 
There is no errors in SSDT-3.dsl after:
Code:
iasl -da -dl *.aml dynamic/*.aml

Plus, you likely do not need SSDT-3 anyway.

For SSDT-4, you simply remove the offending code:
Code:
into_all method label MXMX remove_entry;
into device label WMI1 remove_entry;
into_all method label _DSM remove_entry;
into_all method label HDSM remove_entry;
into_all method label HGAS remove_entry;
into_all method label HNOT remove_entry;
into_all method label HDOS remove_entry;

Ah Finally! Thank you so much! I was able to patch my SSDT!! :thumbup:

I have got a brightness slider in the Prefs > Displays. But, even though I slide nothing changes. Even my keys aren't working! :confused:

Thanks again for guiding me! :clap:
SilleBille
 
Ah Finally! Thank you so much! I was able to patch my SSDT!! :thumbup:

I have got a brightness slider in the Prefs > Displays. But, even though I slide nothing changes. Even my keys aren't working! :confused:

Thanks again for guiding me! :clap:
SilleBille

Keyboard mapping is a separate issue. Need slider to work first...

Download patchmatic: https://github.com/RehabMan/OS-X-MaciASL-patchmatic.
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
 
Keyboard mapping is a separate issue. Need slider to work first...

Download patchmatic: https://github.com/RehabMan/OS-X-MaciASL-patchmatic.
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

I have done whatever you have asked. Check the attachments :)
 

Attachments

  • Dinesh’s MacBook Pro IOReg.zip
    319.5 KB · Views: 54
  • Output of kextstat.zip
    967 bytes · Views: 50
  • RehabMan.zip
    46.6 KB · Views: 53
I have done whatever you have asked. Check the attachments :)

You used the incorrect DSDT patch for brightness. Read post #5 carefully.
 
You used the incorrect DSDT patch for brightness. Read post #5 carefully.

I'll explain the steps that I did:

1. Renamed GFX0 to IGPU using your patch (This patch) in SSDT-4 (From tables extracted from linux) and DSDT (Original System)
2. Applied your patch for Intel 3000/4000 brightness fix (This patch) to DSDT (since it had the term 'Device (IGPU)')
3. Renamed SSDT-4 to SSDT-3.aml (Since ssdt-4 from linux was identical to ssdt3 of Mac).
4. Placed SSDT-3.aml and DSDT.aml in /EFI/Clover/ACPI/patched

Have I done anything wrong? :cry:

SilleBille
 
I'll explain the steps that I did:

1. Renamed GFX0 to IGPU using your patch (This patch) in SSDT-4 (From tables extracted from linux) and DSDT (Original System)
2. Applied your patch for Intel 3000/4000 brightness fix (This patch) to DSDT (since it had the term 'Device (IGPU)')
3. Renamed SSDT-4 to SSDT-3.aml (Since ssdt-4 from linux was identical to ssdt3 of Mac).
4. Placed SSDT-3.aml and DSDT.aml in /EFI/Clover/ACPI/patched

Have I done anything wrong? :cry:

SilleBille

#2 is wrong.

Read the README at the repo so you're using MaciASL as intended.
 
#2 is wrong.

Read the README at the repo so you're using MaciASL as intended.

Am I applying the correct patches? I'll try setting Matias again based on your readme? Just want to ensure whether I'm applying the correct patches! (Since there are many!)

SilleBille
 
Am I applying the correct patches? I'll try setting Matias again based on your readme? Just want to ensure whether I'm applying the correct patches! (Since there are many!)

SilleBille

The correct patches for brightness are documented in post #5.
 
Status
Not open for further replies.
Back
Top