fyodor Posted September 7, 2011 Share Posted September 7, 2011 Hello friends. I have Asus N53SN laptop with i5 2410m cpu. Which part of the dsdt should i fix in order to get proper sleep and power managment? Is there any document about fixing dsdt? Also i m having another issue. Chameleon repairs kext caches at every boot. Even I dont use -f option it repairs kext caches. That s way the boot proccess takes longer time than it should be. Please help me. Thank you. OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 7, 2011 Share Posted September 7, 2011 For power management you will probably need this http://www.insanelymac.com/forum/index.php?showtopic=258611 In DSDT you may need the LPC patch, if your LPC device ID isn't in AppleLPC, check if the kext is loaded running kextstat in terminal. Other patches that you may need are UHCI and EHCI, if you have problems related to USB devices. The patches IRQs and RTC are "generic" and should be applied in all cases. Here you can find patches used in Sandy Bridge laptops http://Olarila.com/Patches/Notebook%20Core%20i%20Sandy%20Bridge/ About kexts loading at boot, you have to enable UseKernelCache in org.chameleon.Boot.plist, or create an Extensions.mkext for system kexts. Link to comment Share on other sites More sharing options...
fyodor Posted September 7, 2011 Author Share Posted September 7, 2011 74 0 0xffffff7f81422000 0x3000 0x3000 com.apple.driver.AppleLPC (1.5.1) <9 5 4 3> that means i don't need to fix Lpc ? OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 7, 2011 Share Posted September 7, 2011 Yes, you don't need it. Link to comment Share on other sites More sharing options...
fyodor Posted September 7, 2011 Author Share Posted September 7, 2011 Okay. About kext cache repairing. I added UseKernelCache and it caused kernel panic AppleIntelCPUPowerManagment. And i have already .mkext in my extra folder. I used Mald0n's guide to install lion. And i m sure i do everything correct. So where do you think is the problem ? Thank you. OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 7, 2011 Share Posted September 7, 2011 If you enable UseKernelCache, all kexts must go in /S/L/E. Kexts (and mkext) from /Extra won't be loaded. If you don't want to UseKernelCache, create (and update always you make changes/updates in /S/L/E) an Extensions.mkext in /System/Library/Caches/com.apple.kext.caches/Startup sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions Link to comment Share on other sites More sharing options...
fyodor Posted September 8, 2011 Author Share Posted September 8, 2011 Okay. I used it. And it fixed the problem. But now new problem shows up. I lost qe/cl. In the boot screen it says snb framebuffer did not show up unload. i deleted extension.mkext and qe/cl came back. So do you think where is the problem mate? OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 8, 2011 Share Posted September 8, 2011 No idea. How did you enable the video drivers? I would move all kexts to /S/L/E and use kernelcache. Actually, what takes time when you don't use kernelcache or mkext is the verbose (print kexts on screen), if you don't use -v it shouldn't take more than a couple of seconds. Link to comment Share on other sites More sharing options...
fyodor Posted September 8, 2011 Author Share Posted September 8, 2011 No idea. How did you enable the video drivers? I used GraphicsEnabler Yes via Chimeria bootloader. I would move all kexts to /S/L/E and use kernelcache. Actually, what takes time when you don't use kernelcache or mkext is the verbose (print kexts on screen), if you don't use -v it shouldn't take more than a couple of seconds. Okay I ve tested it and reached this results. Boot time takes about 50 sec without -v option and it takes about one and half minutes with -v option. And I can't get sleep work. I used the link that you've posted about power managment. Now it says 4 cpu enabled. Despite this sleep doesn't work. The screen goes blank and than nothing happens. OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 8, 2011 Share Posted September 8, 2011 Even using kernelcache all kexts are printed on screen if you use -v? I heard that from other people, maybe it's a Chameleon (Chimera) bug. Check you kernel log (/var/log/kernel.log) about sleep problem. Link to comment Share on other sites More sharing options...
fyodor Posted September 8, 2011 Author Share Posted September 8, 2011 Check you kernel log (/var/log/kernel.log) about sleep problem. I checked it. But i don't understand where is the proplem. Can you take a look please. By the way I tried to put the pc sleep at 22.03, screen turned black and nothing happened. then i pushed the power button for a while and rebooted. kernel.txt.zip OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 8, 2011 Share Posted September 8, 2011 The attached log is too small. Sleep needs working power management (which NullCPUPowerManagement kext disables), or use SleepEnabler kext. Link to comment Share on other sites More sharing options...
fyodor Posted September 8, 2011 Author Share Posted September 8, 2011 This is the full kernel log. Also I don't use NullCPUPowerManagment kext. I used this http://www.insanelymac.com/forum/index.php?showtopic=258611 for power managment. kernel.txt.zip OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 8, 2011 Share Posted September 8, 2011 It's there in your log Sep 8 20:51:35 localhost kernel[0]: NullCPUPowerManagement::init: properties=0xffffff800cb02b00 Sep 8 20:51:35 localhost kernel[0]: NullCPUPowerManagement::start Link to comment Share on other sites More sharing options...
fyodor Posted September 9, 2011 Author Share Posted September 9, 2011 hello friend. i am trying to make extensions.mkext in way that you said. But there is some error or warnings which i couldn't solve. This is the screen. Can you help me please? Last login: Sat Sep 10 00:09:50 on console MYusufs-MacBook-Pro:~ fyodor$ sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions Password: VoodooPS2Trackpad.kext is not authentic; omitting. VoodooPS2Mouse.kext is not authentic; omitting. VoodooPS2Keyboard.kext is not authentic; omitting. VoodooPS2Controller.kext is not authentic; omitting. VoodooHDA.kext is not authentic; omitting. VoodooBattery.kext is not authentic; omitting. RealtekRTL81xx.kext is not authentic; omitting. PXHCD.kext is not authentic; omitting. JMicronATA.kext does not declare a kernel dependency; using com.apple.kernel.6.0. AirPortBrcm4331.kext - no compatible dependency found for com.apple.iokit.IO80211Family. AirPortBrcm4331.kext is missing dependencies (including anyway; dependencies may be available from elsewhere) AirPortAtheros9388.kext is not authentic; omitting. AppleHDADisabler.kext is not authentic; omitting. AppleACPIPS2Nub.kext is not authentic; omitting. VoodooPS2Trackpad.kext is not authentic; omitting. VoodooPS2Mouse.kext is not authentic; omitting. VoodooPS2Keyboard.kext is not authentic; omitting. VoodooPS2Controller.kext is not authentic; omitting. VoodooHDA.kext is not authentic; omitting. VoodooBattery.kext is not authentic; omitting. RealtekRTL81xx.kext is not authentic; omitting. PXHCD.kext is not authentic; omitting. AirPortBrcm4331.kext - no compatible dependency found for com.apple.iokit.IO80211Family. AirPortBrcm4331.kext is missing dependencies (including anyway; dependencies may be available from elsewhere) AirPortAtheros9388.kext is not authentic; omitting. AppleHDADisabler.kext is not authentic; omitting. AppleACPIPS2Nub.kext is not authentic; omitting. Created mkext archive /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext. MYusufs-MacBook-Pro:~ fyodor$ OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
oldnapalm Posted September 9, 2011 Share Posted September 9, 2011 You need to repair permissions of those kexts sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions Link to comment Share on other sites More sharing options...
l0l0 Posted September 10, 2011 Share Posted September 10, 2011 Hi oldnapalm, I have been trying to get my machine to wake up from sleep but I'm having the typical black screen. Mald0n made me a dsdt which works great (thanks again Mald0n) but the only issue is the sleep. Can you tell me anything by the kernel.log, if not thanks anyway. Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: hibernate image path: /var/vm/sleepimage Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: sizeof(IOHibernateImageHeader) == 512 Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: Opened file /var/vm/sleepimage, size 4294967296, partition base 0xc805000, maxio 400000 ssd 0 Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: hibernate image major 14, minor 2, blocksize 512, pollers 5 Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: hibernate_setup(0) took 0 ms Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving). Sep 10 01:06:41 l0l0s-Mac-Pro kernel[0]: System SafeSleep Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_page_list_setall start 0xffffff8049c4a000, 0xffffff8049ca1000 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_page_list_setall time: 197 ms Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: pages 450790, wire 69727, act 110907, inact 193, spec 267, zf 0, throt 0, could discard act 50797 inact 50828 purgeable 4252 spec 163819 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_page_list_setall found pageCount 181094 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: IOHibernatePollerOpen(0) Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: writing 181010 pages Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: encryptEnd 6c16740 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_machine_init: state 2, image pages 139288, sum was 8c5c8ccb, image1Size d7fce00, conflictCount 2, nextFree 8d8 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_page_list_discard time: 145 ms, discarded act 50797 inact 50828 purgeable 4252 spec 163819 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: IOHibernatePollerOpen(), ml_get_interrupts_enabled 0 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: IOHibernatePollerOpen(0) Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_machine_init reading Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: PMStats: Hibernate read took 2163 ms Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: hibernate_machine_init pagesDone 250655 sum2 ac2d7c1f, time: 2163 ms Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: Wake reason = Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: System SafeSleep Wake Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: Previous Sleep Cause: 0 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: Previous Shutdown Cause: 3 Sep 10 01:07:40 l0l0s-Mac-Pro kernel[0]: warning: couldn't set recording source to microphone Sep 10 01:07:44: --- last message repeated 1 time --- Sep 10 01:07:44 l0l0s-Mac-Pro kernel[0]: Auth result for: bc:ae:c5:b0:10:5e MAC AUTH succeeded Sep 10 01:07:44 l0l0s-Mac-Pro kernel[0]: AirPort: Link Up on en1 Sep 10 01:07:44 l0l0s-Mac-Pro kernel[0]: AirPort: RSN handshake complete on en1 Sep 10 01:07:46 l0l0s-Mac-Pro kernel[0]: AppleRTL8169Ethernet: phyWaitForAutoNegotiation TIMEOUT Regards, AR Link to comment Share on other sites More sharing options...
fyodor Posted September 15, 2011 Author Share Posted September 15, 2011 You need to patch your AppleIntelCPUPowerManagment kext. Here is how to. http://www.insanelymac.com/forum/index.php?showtopic=258611 OS X Lion 10.7.2 Asus N53SN-SZ007 Intel Core i5 2410M 2.3 gHz CPU with Intel HD300 Graphics Nvidia Geforce GT550M 2gb GPU 4 gb ddr3 Ram 500 gb 5400rpm HDD Atheros AR9285 wifi Realtek alc269 audio Link to comment Share on other sites More sharing options...
l0l0 Posted September 17, 2011 Share Posted September 17, 2011 You need to patch your AppleIntelCPUPowerManagment kext. Here is how to.http://www.insanelymac.com/forum/index.php?showtopic=258611 No luck...thanks anyway. I give up 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