ashishpatelmac Posted February 10, 2014 Share Posted February 10, 2014 Hello everyone, can you please help me patch DSDT for my laptop: Lenovo G570 Intel i3-2330M CPU (2.2Ghz, 2 cores, 4 threads) I need few things working to make it a perfect hackintosh : Sleep & power management I'm getting some errors trying to compile and save dsdt.aml even without any modifications. I will upload it as soon as i find a fix. (UPDATED: I've attached the dsdt.aml file. thanks to carbo178!) Thanks to everyone and I hope we will find a way happy hackintoshing! dsdt.zip Link to comment Share on other sites More sharing options...
carbo178 Posted February 10, 2014 Share Posted February 10, 2014 Hi, extract your dsdt with this command in terminal: perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(){ chomp; if($_ =~ /\"DSDT\.?\d?\"=]*)>/) { $buff = $1; open(PIP,"|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }' You find dsdt.aml in desktop, compress and send the file Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 10, 2014 Author Share Posted February 10, 2014 wow that works great. Thank you Moderator. I've attached the file dsdt.zip Link to comment Share on other sites More sharing options...
carbo178 Posted February 11, 2014 Share Posted February 11, 2014 This is the dsdt.aml without errors, warnings and remarks; now you can apply patches for sleep and power management dsdt.aml.zip Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 11, 2014 Author Share Posted February 11, 2014 Thank you so much, carbo178. But I don't know where to find a right patch for my sandy bridge i3 processor? Please help me! 1 Link to comment Share on other sites More sharing options...
carbo178 Posted February 11, 2014 Share Posted February 11, 2014 For speedstep you can generate SSDT file using ssdtprgen script (Google search). The sleep is more difficult... Try this dsdt.aml.zip Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 11, 2014 Author Share Posted February 11, 2014 Should I place this file inside /Extra? or some other clover boot loader folder. thank you for helping. Link to comment Share on other sites More sharing options...
carbo178 Posted February 11, 2014 Share Posted February 11, 2014 If you use Chameleon put the file in Extra, if you use Clover put the file in ACPI-Patched, disable dsdt patching in Clover config.plist Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 11, 2014 Author Share Posted February 11, 2014 We made some good progress today. Now my system seems to go to sleep. the hdd blinker goes off and power lights keeps blinking. but when I press any key, the system starts as usual boot pattern. I thought it will quickly take me to the login screen preserving all my work. but it restarts the computer and re-opens all the windows that were open before going to sleep. it is how it was supposed to behave? I'm using nullcpupowermanagement.kext because of kernel panics. I'll extract ssdt and try removing this kext. Link to comment Share on other sites More sharing options...
carbo178 Posted February 12, 2014 Share Posted February 12, 2014 You can patch the bios with PMPatch, or use AppleIntelCPUPowermanagement patched before deleting NullCPUPM Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 12, 2014 Author Share Posted February 12, 2014 Hello carbo178, thank you so much for helping me. I will search more about the script and PMPatch on google. But I wanted to know why it's important to patch bios? Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 12, 2014 Author Share Posted February 12, 2014 My BIOS is InsydH20 I don't know if it's compatible with PMPatch? Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 12, 2014 Author Share Posted February 12, 2014 wow. thank you so so much. I can boot without Nullcpupm kext. I'm using patched Appleintelcpupm kext with ssdtPRGen generated SSDT file. Now only problem is that my system goes to sleep but restarts when I press any key on the keyboard. It's takes more than a minute to boot. I don't know how sleep works. maybe it's working fine? what do you think? Also, I want to enable my brightness keys (fn + arrow up / down) which isn't working. Sound works (fn + arrow left /right) fine. It's not as important as sleep which is a necessity since I don't want to restart my laptop. Please guide me Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 12, 2014 Author Share Posted February 12, 2014 We did it. Now I have a fully working Hackintosh! For sleep, I Patched dsdt device RTC. and it worked Thank to everyone in osx86 community and carbo178 (insanelymac moderator) who helped me personally fixing errors in dsdt and patching. The purpose of this thread is completed. I have fully native power management with intel speedstep. working sleep, now I can get back to work as soon as I open lid on my laptop. One again thanks to everyone. This topic maybe closed now. -attached working dsdt and ssdt for lenovo g570 intel i3 2330M dsdt.aml.zip ssdt.aml.zip 1 Link to comment Share on other sites More sharing options...
carbo178 Posted February 12, 2014 Share Posted February 12, 2014 Good!!! I was going to suggest that you apply the patch for RTC, but you were good at it alone Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 12, 2014 Author Share Posted February 12, 2014 Hackbook Pro on Lenovo Laptop Hello carbo178, Is it possible to get rid of voodooHDA? Link to comment Share on other sites More sharing options...
carbo178 Posted February 12, 2014 Share Posted February 12, 2014 I think it is not in my ability, it is necessary patching AppleHDA for the codec cx 20671 Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 14, 2014 Author Share Posted February 14, 2014 I have already fixed the audio issue and AppleHDA works fine. no more voodoo stuff in kexts now I have only few third-party kexts like fakesmc and sensors. Bro, where can I find more information on dsdt patch for VGA port? Link to comment Share on other sites More sharing options...
carbo178 Posted February 14, 2014 Share Posted February 14, 2014 Hi, i found this methods to enable HD3000 laptop vga http://olarila.com/forum/viewtopic.php?f=3&t=725 http://www.insanelymac.com/forum/topic/293393-how-to-enable-vga-output-on-a-notebook-with-hd4000/ post#2 http://forum.osxlatitude.com/index.php?/topic/1969-guide-for-enabling-vga-and-hdmi-in-intel-hd3000-gpu/ http://www.osx86.net/topic/14127-success-enable-vga-and-hdmi-video-for-intel-hd-3000/ Link to comment Share on other sites More sharing options...
ashishpatelmac Posted February 15, 2014 Author Share Posted February 15, 2014 Hi, I've got VGA working with patched AppleIntelSNBGraphicsFB.kext. good to see it working on my big screen Link to comment Share on other sites More sharing options...
Recommended Posts