Contribute
Register

HP Pavilion G6 1205sq

Status
Not open for further replies.
Ok. Now i have the View attachment AppleHDA.kext.zip for the IDT92HD81B1X5 and the View attachment DSDT.dsl.zip file. What i have to do next? I didn't understand exactly from the guide how to patch de DSDT file.
I looked at "Patches for using patched AppleHDA" section, and ended up with this:

LayoutID
0x111D7605=287143429 ?

ID.png
 
This is my next step from the guide?
  • With patched AppleHDA, there are two patches that are needed in conjunction with the kext: "Audio Layout 12" (change the layout-id from 12 to the one used by your DSDT)
"IRQ Fix"

If yes, how exactly do I patch DSDT with the audio HDEF-layout 12.text? I opened the DSDT file in MaciASL, but don't know what to copy (from where to where) and how to insert it in MaciASL. Can you explain me a bit how that works? Excuse me for such a hustle, but it's my first time when I do such complicate (for me) procedures.

Screen Shot 2015-08-18 at 9.09.18 PM.png
 
Now, I change the layout-id from 12 to the one used by the DSDT (3), which leads me to:

#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout12.txt

# Note: Change your layout ID if you need something different
# Note: "hda-gfx" is not needed with Haswell and should probably be removed

# Inject Audio info
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 3, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
Is that correct?
 
Now, I change the layout-id from 12 to the one used by the DSDT (3), which leads me to:

Code:
#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout12.txt

# Note: Change your layout ID if you need something different
# Note: "hda-gfx" is not needed with Haswell and should probably be removed

#   Inject Audio info
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
    Return (Package()\n
    {\n
        "layout-id", Buffer() { 3, 0x00, 0x00, 0x00 },\n
        "hda-gfx", Buffer() { "onboard-1" },\n
        "PinConfigurations", Buffer() { },\n
        //"MaximumBootBeepVolume", 77,\n
    })\n
}\n
end;

Is that correct?

Yes, simple replace the '12' with '3'. I'm assuming that's what you did above (I didn't check the rest of the content).
 
Yes, I just replaced 12 with 3 in this line only:
"layout-id", Buffer() { 3, 0x00, 0x00, 0x00 },\n
Next, what exactly do i copy from this patch, and where (and how) do I insert it?
It's ok like in the picture? (from the realm file that's comes with the patched AppleHDA folder)
Screen Shot 2015-08-19 at 2.40.22 AM.png
or do i have to use the text posted above (which is from the audio_HDEF-layout12.txt)?
If you could be as concise as you can, it would help enormously! That could eliminate the possibility of errors.
 
Last edited:
Yes, I just replaced 12 with 3 in this line only:
Next, what exactly do i copy from this patch, and where (and how) do I insert it? Is this ok to replace (selection from the Readme file over the selection from the DSDT opened with MaciASL)?
View attachment 147637

Patches are applied with the MaciASL "Patch" button.
 
I don't know from which file i have to copy:
  1. From the audio_HDEF-layout12.txt from GitHub or
  2. From the Readme file with comes with the AppleHDA-272.18-2.1-IDT92HD81B1X
because are different.

I choose to go with the Readme selection
Screen Shot 2015-08-19 at 4.18.44 AM.png
and paste it in here, overwriting the selection
Screen Shot 2015-08-19 at 4.15.37 AM.png
After i press "Compile" and get 8793, 4064, Object does not exist (DTGP) error (which is the only one gotted from the patch. The rest of them are warnings allready present in the DSDT)
Screen Shot 2015-08-19 at 4.21.05 AM.png
Fixed the error using "Patch" -> "Insert DTGP -> "Apply" -> "Close"
Fixed the "Unknown reserved name" warnings by deleting the _ in front of the "WDG" and "WED"

What about the rest of the warnings? Do i have to fix them all?
 
Last edited:
I don't know from which file i have to copy:
  1. From the audio_HDEF-layout12.txt from GitHub or
  2. From the Readme file with comes with the AppleHDA-272.18-2.1-IDT92HD81B1X
because are different.

Apply "Audio Layout 12" from here: https://github.com/RehabMan/Laptop-DSDT-Patch

Read the README for details.

Change the layout-id as required by your patched AppleHDA.

My patch does not use DTGP.

What about the rest of the warnings? Do i have to fix them all?

As is stated in the guide, only errors must be fixed.
 
Status
Not open for further replies.
Back
Top