haydendo Posted August 21, 2012 Share Posted August 21, 2012 Hi. My laptop (ThinkPad T420s) is not on your DSDT list. Is it possible for me to create my own patched DSDT? I tried creating my own base DSDT.Using DSDT Editor app, Extract DSDT, compiled it, then Fix errors button, then installed it with multishit. When I rebooted my laptop, it now freezes. Is there a minimum required code change or patch for it to work? Link to comment Share on other sites More sharing options...
oldnapalm Posted August 21, 2012 Share Posted August 21, 2012 For some laptops (I know of some Samsung) you can't fix errors or it won't boot, so you need to use older version or run IASL from command line (it will create AML even if there are errors). You may also have made some mistake, like saving DSL (source) instead of AML (binary). Just extract and compile (fixing errors or not) won't make a difference. If you don't make any changes, it's the same as if you don't have a dsdt.aml at all. Usual patches http://Olarila.com/forum/viewtopic.php?f=19&t=634 -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
haydendo Posted August 21, 2012 Author Share Posted August 21, 2012 Thank you. Some comments on the following: For some laptops (I know of some Samsung) you can't fix errors or it won't boot, so you need to use older version or run IASL from command line (it will create AML even if there are errors). -you mean older version of DSDT Editor? In running IASL from command line, DSDT Editor is still the tool to use? You may also have made some mistake, like saving DSL (source) instead of AML (binary). -On DSDT Editor, I click on "Save AML as..." then save it on desktop, then install it using multishit. Is this the proper way. Just extract and compile (fixing errors or not) won't make a difference. If you don't make any changes, it's the same as if you don't have a dsdt.aml at all. -This is correct. But my goal here is to have a working patched DSDT first which can I edit incrementally. Link to comment Share on other sites More sharing options...
oldnapalm Posted August 21, 2012 Share Posted August 21, 2012 -you mean older version of DSDT Editor? In running IASL from command line, DSDT Editor is still the tool to use? Older version of IASL. The editor doesn't matter, can be any. If you use DSDT Editor, replace iasl in Contents/Resources/Java. -On DSDT Editor, I click on "Save AML as..." then save it on desktop, then install it using multishit. Is this the proper way. I don't know about multishit, but the rest is correct. I don't get why someone needs to use a tool to something as simple as drag and drop a file to a folder. -This is correct. But my goal here is to have a working patched DSDT first which can I edit incrementally. It won't be patched unless you patch it first. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
haydendo Posted August 23, 2012 Author Share Posted August 23, 2012 Finally, I got a working DSDT without the need of a motherboard-specific/compatible patched file. Thanks for this forum for inputs, especially oldnapalm. Below are the steps I used and might help others. Please correct me for mistakes or let me know if it shouldn't be here. A. Prepare a clean DSDT 1. Run a DSDT Editor on Windows 7 (of course, Windows version of DSDT Editor is used). 2. Then on File -> Extract DSDT. 3. On IASL -> Compile. Here I got 17 errors. 4. Click "Fix errors" button. I now have 0 errors, 3 warnings, 1 remark. Although I have compiled DSDT now. I decided to try to fix the Warnings and Remarks. For warnings which is just ("Not all control paths return a value...", I just added this statement at the end of erroring method: "Return (Zero)". 5. For the Remark message ("Use of compiler reserved name (_T_0), on Patch -> Open, I then browse "_T_x rename.txt" under "/Patches" folder which is included in the DSDT Editor package. Click "Apply" button. 6. Compile again and now it's all clean. B. Apply a patch 1. A method (or function) that's always been called by almost all patches should be added to DSDT. It's called "DTGP". If it's not present, you'll get "Object does not exist (DTGP)" error. To do this, on Patch -> Open, and then browse to "DTGP.txt". Click "Apply" button again. 2. Now, copy an existing patch from here (http://Olarila.com/forum/viewtopic.php?f=19&t=634) or from an existing DSDT.aml that contains the patch you need. 3. Compile again. 4. If no errors are found, on IASL -> Save AML as... and save it with filename "DSDT.aml" on location accessible when you boot on Mac. 5. Boot to your hackintosh (Mac) now. Copy the "DSDT.aml" you saved to "/Extra" folder. 6. Reboot. That's it. Link to comment Share on other sites More sharing options...
Casey Stellar Posted November 18, 2012 Share Posted November 18, 2012 The above mentioned is certainly helping me. I used the: 5) For the Remark message ("Use of compiler reserved name (_T_0), on Patch -> Open, I then browse "_T_x rename.txt" under "/Patches" folder which is included in the DSDT Editor package. Click "Apply" button. method and those issues have been cleared. However I'm still receiving what's in the attachment. I can't seem to find anything in the provided directories to patch the errors. Please help. I can boot into my Hackintosh with boot flags -x -v & I got Ethernet to work but, I can't move past that to at least a normal boot without a good DSDT file. Laptop: Acer Aspire Ethos 8951G-9630 Motherboard: Acer SM81_HR Processor: Intel Core i7 2670QM @ 2.2-3.9GHz 64-bit ready Multi-core (4 total) Hyper-threaded (8 total) Please help. Link to comment Share on other sites More sharing options...
artur-pt Posted November 18, 2012 Share Posted November 18, 2012 hello remove the line with the error like the editor say the the name already exist about the warnings no problem must be no error save it DSDT.aml and try it good hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files Link to comment Share on other sites More sharing options...
Casey Stellar Posted November 18, 2012 Share Posted November 18, 2012 Okay update, i found this: http://legacy.tonycrapx86.com/viewtopic.php?t=9229&p=255840 but, now I have the attached screenshot. Please help. I'm still Googling like crazy but, I'm just making sure I cross all my Ts & dotting all my Is. Link to comment Share on other sites More sharing options...
Casey Stellar Posted November 18, 2012 Share Posted November 18, 2012 Okay I'm now here in the pictures. I can't figure out how to fix it. Google is not my friend this time Link to comment Share on other sites More sharing options...
Casey Stellar Posted November 18, 2012 Share Posted November 18, 2012 I'm gonna try it now. I guess it's just the fact I'm anal retentive lol. Thanks posters for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now