Jump to content

DSDT of an Asus K550JK


zeno.dalla
 Share

27 posts in this topic

Recommended Posts

Hy all,

after installing Yosemite and enabling the Graphics I tried to build an DSDT and SSDT in order to have apple HDA, Nvida Disabler, brightness controll and acpi battery working but i'm experiencing some troubles, can someone help me please? this is the tables i extracted both with ubuntu and maciasl....i can't compile some of them...

 

https://www.dropbox.com/sh/i00l3eplbrm7wom/AABl2demFEOvbn4qDFkfw8Rua?dl=0

 

i don't know how to solve that problem...

 

thank you all,

Zeno

Link to comment
Share on other sites

Hy all,

after installing Yosemite and enabling the Graphics I tried to build an DSDT and SSDT in order to have apple HDA, Nvida Disabler, brightness controll and acpi battery working but i'm experiencing some troubles, can someone help me please? this is the tables i extracted both with ubuntu and maciasl....i can't compile some of them...

 

https://www.dropbox.com/sh/i00l3eplbrm7wom/AABl2demFEOvbn4qDFkfw8Rua?dl=0

 

i don't know how to solve that problem...

 

thank you all,

Zeno

Work on one problem at a time. Your link is broken.

Link to comment
Share on other sites

i can't compile my DSDT and the SSDT for some error can you fix them and tell me how you did?

 

My best

Disassemble with 'iasl -da -dl DSDT.aml SSDT*.aml'. Then work with *.dsl.

 

Your DSDT.dsl compiles without error after fixing a couple of very common errors:

Patches: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply: "Fix ADBG Error"

Apply: "Fix PARSEOP_ZERO Error"

 

Use my recent build of iasl: https://bitbucket.org/RehabMan/acpica/downloads

Link to comment
Share on other sites

i have used -d -ls instead because those flag didn't woked, but my dsdt.dsl still doesn't compile in a new folder called DSDT RehabMan there are both dsdt.dsl extracted, and dsdt2.dsl after have applied your first patch, the second doesn't apply...(0 changes)

Link to comment
Share on other sites

i have used -d -ls instead because those flag didn't woked, but my dsdt.dsl still doesn't compile in a new folder called DSDT RehabMan there are both dsdt.dsl extracted, and dsdt2.dsl after have applied your first patch, the second doesn't apply...(0 changes)

"-d" is incorrect.

Link to comment
Share on other sites

i'm sorry rehabman, i can't understand...if you said that my dsdt compiles couldn't you send me it?

Because you need to learn to do it yourself. This will not be the last time you have to disassemble your DSDT (it must be done after all hardware changes, major BIOS option changes, and after any BIOS upgrade).

 

Complete instructions are at post #8. Follow them carefully.

Link to comment
Share on other sites

ok thank you very much RehabMan :):thumbsup_anim:

now i have DSDT and all the SSDT but DSDT2 and 7 compiled correctly automatically, 2 and 7 fixed by me by removing lines with errors (1 or 2 per file)

i thought it would have been easier to apply the patches...i'm getting always stucked

 

which patch should be the better one for you for my battery, brightness and nvidia disabler?

i'm getting also stucked with audio...mirone suggested me a patched CX20752...

"this was the .rtf included" 

 

Codec: Conexant CX20752

Address: 0

Vendor Id: 0x14F1510F

 

 

EN: Use Layout 3 in the Patch HDEF your DSDT.

 

PT_BR: Usar layout 3 no patch HDEF do seu DSDT.

 

@Kext Patched by Mirone - www.olarila.com - www.insanelymac.com - www.hackintoshosx.com

 

 

Method (_DSM, 4, NotSerialized)

                {

                    Store (Package (0x0c)

                    {                        

                        "built-in",

                        Buffer (One)

                        {

                            0x00

                        },

                        "layout-id",

                        Buffer (0x04)

                        {

                            0x03, 0x00, 0x00, 0x00

                        },

                       "PinConfigurations",

                       Buffer (0x00)

                       {

                           0x00

                       }

                    }, Local0)

                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

                    Return (Local0)

                }

i can't get the audio working...if i insert this in HDEF section i get error at "DTGP...."'s line and i have to remove that line, if i remove that line and use dsdt it doesn't work

now i have tried to set HDA layout ="3" in clover configurator...but it didn't worked

 

it's so hard...

 

for the battery i've tried ASUS N55SL...compiles but doesn't work, then i've tried G75vw but doesn't compile...

 

(UPDATE: battery seems to work natively)

 

those are the kext placed in my kext/10,10 folder https://www.dropbox.com/s/qpzqj5kwq3llen4/Screenshot%202014-12-21%2016.51.43.png?dl=0

 

ps:

previously i was using a DSDT of another computer which worked fine about the battery with those kexts...i post here so maybe you can see what patch had used and i'll try it

 

https://www.dropbox.com/s/p1qyeuwhkk3s7ny/DSDT.aml?dl=0

 

 

ps2: i've notice that without fixHPET, fixHDA and DSDT of the other computer and appleHDA for my conexant cx20752 audio is working at 70%, speaker, headphones are ok, and i think also internal microphone, the microphone of the headphones doesn't work...

Edited by zeno.dalla
Link to comment
Share on other sites

...

i'm getting also sucked with audio...mirone suggested me a patched CX20752...

See: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply: "Audio Layout 12" (change the layout-id from 12 to 3)

Apply: "IRQ Fix"

 

for the battery i've tried ASUS N55SL...compiles but doesn't work, then i've tried G75vw but doesn't compile...

There are a couple of different ASUS battery patches in the repo.

 

Battery status does not work with DSDT patches alone... You need a kext: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

Link to comment
Share on other sites

thanl you rehabman, now :

 

battery is working picking BAT0 definitions from the other DSDT

audio is working at 70%...speaker, headphones ok...michrophone internal and esternal not...

 

brightness and nvda disabler not and also power management and stop...

 

 my best

Link to comment
Share on other sites

audio is working at 70%...speaker, headphones ok...michrophone internal and esternal not...

Problem is in patched AppleHDA you're using.

 

brightness and nvda disabler not and also power management and stop...

No idea what you mean by that.

 

 

Haswell Brightness Fix:

 

You will need to extract all DSDT/SSDT from Linux. Your GFX0 device is in one of the SSDTs not DSDT and to get a proper disassembly of your DSDT (and the SSDT that has GFX0) you will need all of them. They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic. Place them on USB for 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:

# 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

cd "to directory where you placed all SSDT/DSDT"
iasl -da -dl *.aml
Then search the resulting *.dsl so you know where GFX0 is defined. Search for "Device (GFX0)"...

 

Laptop repo: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply: "Rename GFX0 to IGPU" (to both DSDT and the SSDT that has your GFX0 device)

Apply: "Brightness Fix (Haswell)" to the file (SSDT or DSDT) with GFX0 device definition.

install: https://github.com/RehabMan/OS-X-ACPI-Backlight

 

Place patched DSDT.aml in /Extra/dsdt.aml. Place patched SSDT in /Extra/ssdt-1.aml (assuming you have already generated SSDT.aml for CPU). Obviously different locations for Clover (EFI/Clover/ACPI/patched).

 

Result: Working brightness slider in SysPrefs->Displays (mapping of keyboard keys is a separate issue), possible LID sleep, and IGPU power management.

 

--

 

There are plenty of guides for power management.

 

You should google for disabling nvidia (it is quite simple [call _OFF from _INI or _REG], but plenty of ways to make mistakes).

Link to comment
Share on other sites

thank you...i have GFX0 in SSDT 5,6,7 how should i go on?

 

also an other question...in order to generate SSDT.aml have i to rename SSDT1 in SSDT, SSDT2 in SSDT-1 etc?

 

thank you

Read the instructions carefully. Rename patch for DSDT and all SSDT with GFX0 references. "Brightness Fix (Haswell)" for the SSDT (or DSDT) where you find "Device (GFX0)".

Link to comment
Share on other sites

Thank you,

i disabled Nvidia Optimus, i generated SSDT.aml and installed LegacyAGPM.kext...

i put ACPI backlight in EFI/Clover/kext/10.10

i applied to all files the patch rename GFX0, then at SSDT5 (renamed SSDT-5) I applied graphics_PNLF_haswell. I checked "Drop OEM" in Clover configurator at ACPI section...

but in monitor setting i have no brightness slide.

Link to comment
Share on other sites

Thank you,

i disabled Nvidia Optimus, i generated SSDT.aml and installed LegacyAGPM.kext...

i put ACPI backlight in EFI/Clover/kext/10.10

i applied to all files the patch rename GFX0, then at SSDT5 (renamed SSDT-5) I applied graphics_PNLF_haswell. I checked "Drop OEM" in Clover configurator at ACPI section...

but in monitor setting i have no brightness slide.

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,

rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
Post contents of Downloads/RehabMan directory (as ZIP).

 

Also, post ioreg with IORegistryExplorer v2.1.

Link to comment
Share on other sites

Thank you,

i disabled Nvidia Optimus, i generated SSDT.aml and installed LegacyAGPM.kext...

i put ACPI backlight in EFI/Clover/kext/10.10

i applied to all files the patch rename GFX0, then at SSDT5 (renamed SSDT-5) I applied graphics_PNLF_haswell. I checked "Drop OEM" in Clover configurator at ACPI section...

but in monitor setting i have no brightness slide.

It is because you're using the wrong ig-platform-id. There should be no expectation of brightness slider using a desktop ig-platform-id.

Link to comment
Share on other sites

i had the same idea...so which platform id should i use? i followed this guide http://www.tonymacx86.com/yosemite-laptop-support/145427-fix-intel-hd4400-hd4600-mobile-yosemite.html because i read that hd 4600 mobile wasn't supported in 10.10

 

 

EDIT: I tried to inject 0x0A260006 and when it boots it have a great depression and then a great increase of the backlight level, but still no slide in monitor preference and no QE/CI. 

Link to comment
Share on other sites

i had the same idea...so which platform id should i use? i followed this guide http://www.tonymacx86.com/yosemite-laptop-support/145427-fix-intel-hd4400-hd4600-mobile-yosemite.html because i read that hd 4600 mobile wasn't supported in 10.10

 

 

EDIT: I tried to inject 0x0A260006 and when it boots it have a great depression and then a great increase of the backlight level, but still no slide in monitor preference and no QE/CI. 

You must have done it incorrectly. Post your config.plist.

Link to comment
Share on other sites

i solved:

in devices section:

intel GFX 0x04128086 let me have QE/CI

in graphics section:

Inject EDID, inject INTEL = true

display cfg=F15Ta028 (picked from some values in appleBacklight.kext > info.plist

ig-platform-id=0x0A260006

 

MERRY CHRISTMAS TO ALL...in particular to you RehabMan

 

EDIT: i removed BacklightACPI.kext from kext>10,10

Link to comment
Share on other sites

 Share

×
×
  • Create New...