Contribute
Register

Patching your DSDT ProBook 4x30s using MaciASL

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Joined
Nov 10, 2011
Messages
1,484
Motherboard
GA-H77N-WIFI F4
CPU
i7-3770
Graphics
HD 4000
Mobile Phone
Android
Native editor at last! Nice! But are you sure the URL to the patches is correct, because it looks to me like a URL to the patches for your DIY board and not for the ProBooks and when I tried to use something like:
Code:
http://raw.github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/master
I got only one .DS_Store inside?
 
Joined
Mar 26, 2012
Messages
761
Motherboard
Lenovo V330-15IKB
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
Android
SJ_UnderWater has released (public beta) his replacement for DSDT Editor, MaciASL: http://www.tonymacx86.com/dsdt/83565-native-dsdt-aml-ide-compiler-maciasl-open-beta.html#post517290

I've been testing this, working out the bugs as they related to both my patch repos for my desktop (DH67xx) and my laptop (ProBook 4x30s). It works for patching our laptop DSDT and I think it is a much easier program to use as compared to DSDT Editor.

So, if you haven't patched your DSDT yet, now would be a good time to try MaciASL and if you've already patched your DSDT you might want to try this software anyway.

So, first, you need a native/raw DSDT extracted with one of the methods I describe in the wiki: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/wiki/How-to-patch-your-DSDT

Once you have your native DSDT transfered to an area where MaciASL can find it, you're ready to patch it:

- Run MaciASL
- First time through, check preferences, iASL tab: Compiler options set to ACPI 5.0.
- While in preferences add my repo under Sources tab: Click the [+] button to add a patch repo.
- Type whatever name you like in the first column... "HP 4x30s" is fitting.
- Type (or copy/paste) the URL for the patch repo:
Code:
http://raw.github.com/RehabMan/Intel-DH67XX-DSDT-Patch/master
- Now you can close Preferences
- Use File Open to open your unpatched/raw DSDT you extracted earlier
- Choose Patch from the toolbar
- On the left you should see "HP 4x30s" patch repo added in preferences ealier
- Choose one of "All (standard screens)", "All (dual-link screens)", "All (standard screens, quiet fan)", and "All (dual-link screens, quiet fan)" depending on your hardware and your desire for a less agressive fan.
- The patch text will load in the upper part of the patch window, and after a few seconds the preview window in the lower section will fill in with before/after data
- For my machine (dual-link, quiet-fan) it shows 127 Patches, 177 Changes, 0 Rejects
- Click on the Apply button to apply the patches. The patch window will clear. Then click the Close button.
- Choose Save As... and pick a location to save your patched DSDT

Now you have your patched DSDT, you can copy it to /Extra/dsdt.aml to use it.
Interesting..
which version of the iASL compiler it have? the last one (acpica_20121220)?
Do you consider it "safe" even if is a beta version?
The good thing is that it don't need java!
Thanks!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Native editor at last! Nice! But are you sure the URL to the patches is correct, because it looks to me like a URL to the patches for your DIY board and not for the ProBooks and when I tried to use something like:
Code:
http://raw.github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/master
I got only one .DS_Store inside?
You should see something like this:

Screen Shot 2012-12-22 at 7.02.58 AM.png

Preferences should look something like this:
(I have my repo for dh67gd added as well, not necessary for Probook users...)

Screen Shot 2012-12-22 at 7.05.38 AM.png
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Interesting..
which version of the iASL compiler it have? the last one (acpica_20121220)?
Do you consider it "safe" even if is a beta version?
The good thing is that it don't need java!
Thanks!
This is the version it has:
Code:
Probook-Hack:MacOS Admin$ pwd
/Users/Admin/Downloads/Maciasl 210.app/Contents/MacOS
Probook-Hack:MacOS Admin$ ./iasl5 -v

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20121114-64 [Nov 15 2012]
Copyright (c) 2000 - 2012 Intel Corporation
Anything past about May 2012 have been fine...
 
Joined
Nov 10, 2011
Messages
1,484
Motherboard
GA-H77N-WIFI F4
CPU
i7-3770
Graphics
HD 4000
Mobile Phone
Android
You should see something like this:

View attachment 41801

Preferences should look something like this:
(I have my repo for dh67gd added as well, not necessary for Probook users...)

View attachment 41802
Ok, I see them now, but I wasn't able this morning and between 13:00 and 15:00 (GMT+2) the whole GitHub site was down for a while. Maybe a site problem. Anyway, it works now.

And I was talking about the URL in the first post, it points to your Intel DH67GD patches.
 
Joined
Nov 10, 2011
Messages
1,484
Motherboard
GA-H77N-WIFI F4
CPU
i7-3770
Graphics
HD 4000
Mobile Phone
Android
This is the version it has:
Code:
Probook-Hack:MacOS Admin$ pwd
/Users/Admin/Downloads/Maciasl 210.app/Contents/MacOS
Probook-Hack:MacOS Admin$ ./iasl5 -v

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20121114-64 [Nov 15 2012]
Copyright (c) 2000 - 2012 Intel Corporation
Anything past about May 2012 have been fine...
Yeah, and you can update the compiler with a newer version pretty easy, only have to copy the new version, named iasl5, to Maciasl 210.app/Contents/MacOS, replacing the current.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,075
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Ok, I see them now, but I wasn't able this morning and between 13:00 and 15:00 (GMT+2) the whole GitHub site was down for a while. Maybe a site problem. Anyway, it works now.

And I was talking about the URL in the first post, it points to your Intel DH67GD patches.
OK. Didn't realize I copy/pasted the wrong one... Fixed.

I suppose if a repo doesn't respond correctly, MaciASL probably does weird stuff...
 
Joined
Mar 26, 2012
Messages
761
Motherboard
Lenovo V330-15IKB
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
Android
Yeah, and you can update the compiler with a newer version pretty easy, only have to copy the new version, named iasl5, to Maciasl 210.app/Contents/MacOS, replacing the current.
I downloaded the acpica_20121220_bin.zip from your #233 post http://www.tonymacx86.com/hp-probook/70490-hp-probook-4x30s-4330-4430-4530-4730-patches-updated-24.html

Now I have to unzip it and rename the iasl file to iasl5 (in the bin64 folder).
Once renamed, I have to copy and paste it in Maciasl 210.app/Contents/MacOS and that's it, right?
Thanks!
 
Joined
Mar 26, 2012
Messages
761
Motherboard
Lenovo V330-15IKB
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
Android
OK. Didn't realize I copy/pasted the wrong one... Fixed.

I suppose if a repo doesn't respond correctly, MaciASL probably does weird stuff...
So it's not so "safe" using it?
Thanks!
 
Top