Contribute
Register

Toshiba Satellite P75-A7200

Status
Not open for further replies.
So I looked in my SSDT's and I found Device (B0D3) in SSDT-4 with the IGPU device.
But looking though it I don't have:
Method (_DSM)

So would I just add this to Device (B0D3)
Code:
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{[INDENT]If (LEqual (Arg2, Zero))[/INDENT]
[INDENT]{[/INDENT]
[INDENT=2]Return (Buffer (One)[/INDENT]
[INDENT=2]{[/INDENT]
[INDENT=3]0x03[/INDENT]
[INDENT=2]})[/INDENT]
[INDENT]}[/INDENT]
[INDENT]Return (Package (0x02)[/INDENT]
[INDENT]{[/INDENT]
[INDENT=2]"hda-gfx",[/INDENT]
[INDENT=2]Buffer (0x0A)[/INDENT]
[INDENT=2]{[/INDENT]
[INDENT=3]"onboard-1"[/INDENT]
[INDENT=2]}[/INDENT]
[INDENT]})[/INDENT]
}
And then rename all instances of B0D3 in the DSDT and SSDT-4 to HDAU?

Yes.

And I would be able to use what I posted earlier for Clover's config.plist since it was for 0c0c right?

Seems like it...
 
So I did all that and everything seems to check out like it's supposed to in the Guide, except for the HDMI connector is showing as <02 00 00 00> instead of <00 08 00 00> and I feel like it has to do with the first find replace that I added.
Code:
<dict>[INDENT]<key>Name</key>[/INDENT]
[INDENT]<string>AppleIntelFramebufferAzul</string>[/INDENT]
[INDENT]<key>Find</key>[/INDENT]
[INDENT]<data>AQUJAAAEAACHAAAA</data>[/INDENT]
[INDENT]<key>Replace</key>[/INDENT]
[INDENT]<data>AQUJAAAIAAAGAAAA</data>[/INDENT]
[INDENT]<key>Comment</key>[/INDENT]
[INDENT]<string>10.10-Azul-Port_0x5-DP2HDMI</string>[/INDENT]
            </dict>
            <dict>[INDENT]<key>Name</key>[/INDENT]
[INDENT]<string>AppleIntelFramebufferAzul</string>[/INDENT]
[INDENT]<key>Find</key>[/INDENT]
[INDENT]<data>AgQKAAAEAACHAAAA</data>[/INDENT]
[INDENT]<key>Replace</key>[/INDENT]
[INDENT]<data>AgQKAAAIAAAGAAAA</data>[/INDENT]
[INDENT]<key>Comment</key>[/INDENT]
[INDENT]<string>10.10-Azul-Port_0x6-DP2HDMI</string>[/INDENT]
            </dict>
            <dict>[INDENT]<key>Name</key>[/INDENT]
[INDENT]<string>AppleIntelFramebufferAzul</string>[/INDENT]
[INDENT]<key>Find</key>[/INDENT]
[INDENT]<data>AwYIAAAEAAARAAAA</data>[/INDENT]
[INDENT]<key>Replace</key>[/INDENT]
[INDENT]<data>AwYIAAAIAAAGAAAA</data>[/INDENT]
[INDENT]<key>Comment</key>[/INDENT]
[INDENT]<string>10.10-Azul-Port_0x7-DP2HDMI</string>[/INDENT]
            </dict>
Am I right? And if so how would I change it to fix that? Like I understand more about what this is doing, changing AML cmp or jmp's probably but I haven't tried disassembling the binary file to see what's being changed.

Also I have attached my ioreg.
 

Attachments

  • Zoull’s MacBook Pro.ioreg
    3.7 MB · Views: 124
So I did all that and everything seems to check out like it's supposed to in the Guide, except for the HDMI connector is showing as <02 00 00 00> instead of <00 08 00 00> and I feel like it has to do with the first find replace that I added.
Code:
<dict>[INDENT]<key>Name</key>[/INDENT]
[INDENT]<string>AppleIntelFramebufferAzul</string>[/INDENT]
[INDENT]<key>Find</key>[/INDENT]
[INDENT]<data>AQUJAAAEAACHAAAA</data>[/INDENT]
[INDENT]<key>Replace</key>[/INDENT]
[INDENT]<data>AQUJAAAIAAAGAAAA</data>[/INDENT]
[INDENT]<key>Comment</key>[/INDENT]
[INDENT]<string>10.10-Azul-Port_0x5-DP2HDMI</string>[/INDENT]
            </dict>
            <dict>[INDENT]<key>Name</key>[/INDENT]
[INDENT]<string>AppleIntelFramebufferAzul</string>[/INDENT]
[INDENT]<key>Find</key>[/INDENT]
[INDENT]<data>AgQKAAAEAACHAAAA</data>[/INDENT]
[INDENT]<key>Replace</key>[/INDENT]
[INDENT]<data>AgQKAAAIAAAGAAAA</data>[/INDENT]
[INDENT]<key>Comment</key>[/INDENT]
[INDENT]<string>10.10-Azul-Port_0x6-DP2HDMI</string>[/INDENT]
            </dict>
            <dict>[INDENT]<key>Name</key>[/INDENT]
[INDENT]<string>AppleIntelFramebufferAzul</string>[/INDENT]
[INDENT]<key>Find</key>[/INDENT]
[INDENT]<data>AwYIAAAEAAARAAAA</data>[/INDENT]
[INDENT]<key>Replace</key>[/INDENT]
[INDENT]<data>AwYIAAAIAAAGAAAA</data>[/INDENT]
[INDENT]<key>Comment</key>[/INDENT]
[INDENT]<string>10.10-Azul-Port_0x7-DP2HDMI</string>[/INDENT]
            </dict>
Am I right? And if so how would I change it to fix that? Like I understand more about what this is doing, changing AML cmp or jmp's probably but I haven't tried disassembling the binary file to see what's being changed.

Also I have attached my ioreg.

The ioreg does not show an HDMI device connected.
 
The ioreg does not show an HDMI device connected.
That's because there wasn't, sorry. But in the System Information the HDMI Device shows up as ZORAN.
Here's the ioreg with my HDMI TV plugged in.
 

Attachments

  • Zoull’s MacBook Pro.ioreg
    3.8 MB · Views: 129
You might look a the patch I use on the u430. I don't think your Azul patch is working.

See here: https://github.com/RehabMan/Lenovo-U430-Touch-DSDT-Patch
Where do you think I went wrong? Like in my DSDT, SSDT, or my config.plist? Should I remove the 5 KextsToPatch entries that I added to try and get the HDMI Audio working, maybe also return my DSDT and SSDT prior to renaming B0D3 to HDAU and adding Method (_DSM)? And then attach my HDMI TV and attach another ioreg?

I might have found a problem that I made with patching the OpenCL framework.
Ok so I found something weird a discrepancy.
Code:
[COLOR=#000000]sudo perl -i.bak -pe 's|([\xFF\xFC\x3D])\x86\x80\x12\x04|$1\x86\x80\x16\x0[FONT=verdana][B]4[/B][/FONT]|sg' /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib[/COLOR]
From the Fix Graphics thread:
http://www.tonymacx86.com/yosemite-...-fix-intel-hd4400-hd4600-mobile-yosemite.html
Code:
[COLOR=#333333][FONT=Consolas]sudo perl -i.bak -pe [/FONT][/COLOR][COLOR=#DF5000][FONT=Consolas]'s|([\xFF\xFC\x3D])\x86\x80\x12\x04|$1\x86\x80\x16\x0[/FONT][/COLOR][FONT=verdana][B]A[/B][/FONT][COLOR=#DF5000][FONT=Consolas]|sg'[/FONT][/COLOR][COLOR=#333333][FONT=Consolas] /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib[/FONT][/COLOR]
From the repository that you just linked.
Oh it looks like this one is for the HD4400.

The only thing I can see is to revert the DSDT and the SSDT and alter your hdmi_audio patch to rename everything and add the appropriate Methods, because I don't know if I have the Method in the HDEF Device that you have in that patch.
 
Where do you think I went wrong? Like in my DSDT, SSDT, or my config.plist? Should I remove the 5 KextsToPatch entries that I added to try and get the HDMI Audio working, maybe also return my DSDT and SSDT prior to renaming B0D3 to HDAU and adding Method (_DSM)? And then attach my HDMI TV and attach another ioreg?

I might have found a problem that I made with patching the OpenCL framework.
Ok so I found something weird a discrepancy.
Code:
[COLOR=#000000]sudo perl -i.bak -pe 's|([\xFF\xFC\x3D])\x86\x80\x12\x04|$1\x86\x80\x16\x0[FONT=verdana][B]4[/B][/FONT]|sg' /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib[/COLOR]
From the Fix Graphics thread:
http://www.tonymacx86.com/yosemite-...-fix-intel-hd4400-hd4600-mobile-yosemite.html
Code:
[COLOR=#333333][FONT=Consolas]sudo perl -i.bak -pe [/FONT][/COLOR][COLOR=#DF5000][FONT=Consolas]'s|([\xFF\xFC\x3D])\x86\x80\x12\x04|$1\x86\x80\x16\x0[/FONT][/COLOR][FONT=verdana][B]A[/B][/FONT][COLOR=#DF5000][FONT=Consolas]|sg'[/FONT][/COLOR][COLOR=#333333][FONT=Consolas] /System/Library/Frameworks/OpenCL.framework/Libraries/libCLVMIGILPlugin.dylib[/FONT][/COLOR]
From the repository that you just linked.
Oh it looks like this one is for the HD4400.

The only thing I can see is to revert the DSDT and the SSDT and alter your hdmi_audio patch to rename everything and add the appropriate Methods, because I don't know if I have the Method in the HDEF Device that you have in that patch.

I just noticed that the connector types are not correct for your HDMI device. It probably indicates the patch for the framebuffer to change HDMI->DP is not working. Thus why I suggested you look at the config.plist I use for the Lenovo u430 (because I'm also using 0xa260006).
 
I just noticed that the connector types are not correct for your HDMI device. It probably indicates the patch for the framebuffer to change HDMI->DP is not working. Thus why I suggested you look at the config.plist I use for the Lenovo u430 (because I'm also using 0xa260006).
So should I try what I suggested, since my DSDT and SSDT might be messed up from me manually renaming B0D3 and inserting the _DSM Method to the since renamed HDAU? Revert the DSDT and the SSDT from before I did that and then modify your hdmi_audio patch to work for the DSDT and SSDT and try again?
 
So should I try what I suggested, since my DSDT and SSDT might be messed up from me manually renaming B0D3 and inserting the _DSM Method to the since renamed HDAU? Revert the DSDT and the SSDT from before I did that and then modify your hdmi_audio patch to work for the DSDT and SSDT and try again?

"hda-gfx"="onboard-1" injections look fine on HDAU/HDEF. It is missing from IGPU.
 
"hda-gfx"="onboard-1" injections look fine on HDAU/HDEF. It is missing from IGPU.
Hmm for IGPU, which is in SSDT-4, I just did the "Rename GFX0 to IGPU" and "Brightness Fix (Haswell)" patches. So I guess if the _DSM Method isn't in the "Brightness Fix (Haswell)" patch, which it doesn't look like it's in there, I guess it wouldn't be. It looks like I have to apply either the "Haswell HD4400/HD4600/HD5000" or the "Haswell HD4600 Yosemite" patch, am I right? If so which one do you suggest? I'm not sure what the few extra lines do in the "Haswell HD4600 Yosemite" patch.

Also if that's the case should I remove the injection from Clover's config.plist once I have it in the SSDT?
 
Status
Not open for further replies.
Back
Top