gurde Posted September 19, 2010 Share Posted September 19, 2010 Hello. This is my story. I have a Dell Inspiron 1520 with Core2Duo 1.66 CPU and 4GB DDR2 and GeForece 8400M GS 128MB. I installed OS X 10.6.3 from retail DVD, used Chameleon as bootloader, then updated to 10.6.4. Almost everything works fine, except shutdown and sleep. Putting the computer to sleep, it goes to sleep, but after a 1 or 2 seconds wakes up automatically. So this is a no go. The other problem is that when I shutdown the computer, apparently everything is close, but the power led is still on and I have to push the power button for 6 seconds to turn it off completely. Both CPU cores work fine, video card works fine @ full resolution, audio works, wireless work, ethernet work, bluetooth work, media buttons work. In /Extra/Extensions I have these kexts: EvOreboot.kext, FakeSMC.kext, IOAHCIBlockStorageInjector.kext, NullCPUPowerManagement.kext and SleepEnabler.kext. In /System/Library/Extensions I have these kexts: AppleBCM440XEthernet.kext, IOBluetoothFamily.kext, IONetworkingFamily.kext, OSXRestart.kext, AppleACPIPS2Nub.kext, VoodooPS2Controller.kext, VoodooBattery.kext, VoodooHDA.kext and VoodooSDHC.kext. All these kexts were installed by me, since some of them are for running in 64 bit mode. If I disable the GraphicsEnabler then the shutdown work as it should, but as soon as I enable it, shutdown brakes. Also pressing the power button brings up the dialog box for selection options to restart, sleep or shutdown. However restart work just fine. Could someone help me out with this? I would really appreciate some help, since I'm struggling with these problems for almost a month now. PS: I also uploaded the DSDT extracted from the system, if it helps dsdt.zip Link to comment Share on other sites More sharing options...
gurde Posted September 19, 2010 Author Share Posted September 19, 2010 If it helps, it has an Intel PM965 chipset. Somebody, please help me. Link to comment Share on other sites More sharing options...
YoMuS Posted September 20, 2010 Share Posted September 20, 2010 Try to uncheck "Allow ethernet devices to wake up computer", under System Preferences->Energy Saver. Good luck Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 I have nothing like that in Energy Saver. Link to comment Share on other sites More sharing options...
YoMuS Posted September 20, 2010 Share Posted September 20, 2010 Wake for Ethernet network administrator access Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 Not even that. Link to comment Share on other sites More sharing options...
YoMuS Posted September 20, 2010 Share Posted September 20, 2010 EvOReboot and OSXRestart at once? Try removing one of them. Also try removing external USB plugged devices and SleepEnabler. Good luck P.S: Check System Profiler->Logs->Kernel.log to see what's happening. Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 I disabled SleepEnabler and when I put it into sleep, well, only the long pressed power button can "wake" it. You know, shut down. I removed both of the restart kexts, restart didn't work, shutdown didn't work. I put them back individually, restart worked with either of them but shutdown didn't. Any other suggestions? PS: here is my kernel log dump: Sep 20 21:03:29 PuppetMaster kernel[0]: Kext loading now disabled. Sep 20 21:03:29 PuppetMaster kernel[0]: Kext unloading now disabled. Sep 20 21:04:01 localhost kernel[0]: npvhash=4095 Sep 20 21:04:01 localhost kernel[0]: Darwin Kernel Version 10.4.0: Fri Apr 23 18:27:12 PDT 2010; root:xnu-1504.7.4~1/RELEASE_X86_64 Sep 20 21:04:01 localhost kernel[0]: vm_page_bootstrap: 964703 free pages and 83873 wired pages Sep 20 21:04:01 localhost kernel[0]: kext submap [0xffffff7f80600000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000600000] Sep 20 21:04:01 localhost kernel[0]: standard timeslicing quantum is 10000 us Sep 20 21:04:01 localhost kernel[0]: mig_table_max_displ = 73 Sep 20 21:04:01 localhost kernel[0]: NullCPUPowerManagement::init: properties=0xffffff80097c2940 Sep 20 21:04:01 localhost kernel[0]: NullCPUPowerManagement::start Sep 20 21:04:01 localhost kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled Sep 20 21:04:01 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled Sep 20 21:04:01 localhost kernel[0]: calling mpo_policy_init for Quarantine Sep 20 21:04:01 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine) Sep 20 21:04:01 localhost kernel[0]: calling mpo_policy_init for Sandbox Sep 20 21:04:01 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox) Sep 20 21:04:01 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet Sep 20 21:04:01 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet) Sep 20 21:04:01 localhost kernel[0]: Copyright © 1982, 1986, 1989, 1991, 1993 Sep 20 21:04:01 localhost kernel[0]: The Regents of the University of California. All rights reserved. Sep 20 21:04:01 localhost kernel[0]: MAC Framework successfully initialized Sep 20 21:04:01 localhost kernel[0]: using 16384 buffer headers and 4096 cluster IO buffer headers Sep 20 21:04:01 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87 Sep 20 21:04:01 localhost kernel[0]: ACPI: System State [s0 S3 S4 S5] (S3) Sep 20 21:04:01 localhost kernel[0]: RTC: Only single RAM bank (128 bytes) Sep 20 21:04:01 localhost kernel[0]: mbinit: done (64 MB memory set for mbuf pool) Sep 20 21:04:01 localhost kernel[0]: From path: "uuid", Sep 20 21:04:01 localhost kernel[0]: Waiting for boot volume with UUID 1C1BF247-4AD0-322E-B55E-043262A30396 Sep 20 21:04:01 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict> Sep 20 21:04:01 localhost kernel[0]: netkas presents fakesmc, a kext which emulates smc device Sep 20 21:04:01 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start Sep 20 21:04:01 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded Sep 20 21:04:01 localhost kernel[0]: AppleIntelPIIXPATA: Secondary PCI IDE channel is disabled Sep 20 21:04:01 localhost kernel[0]: FireWire runtime power conservation disabled. (2) Sep 20 21:04:01 localhost kernel[0]: FireWire (OHCI) VendorID 1180 ID 832 built-in now active, GUID 424fc00032301870; max speed s400. Sep 20 21:04:01 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IDE0@1F,2/AppleICH8AHCI/PRI@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD3200BEKT-00F3T0 Media/IOGUIDPartitionScheme/System@2 Sep 20 21:04:01 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2 Sep 20 21:04:01 localhost kernel[0]: Kernel is LP64 Sep 20 21:04:02 localhost kernel[0]: systemShutdown false Sep 20 21:04:07 localhost kernel[0]: Waiting for DSMOS... Sep 20 21:04:12 PuppetMaster kernel[0]: wl0: Broadcom BCM4311 802.11 Wireless Controller Sep 20 21:04:12 PuppetMaster kernel[0]: 5.10.91.27 Sep 20 21:04:14 PuppetMaster kernel[0]: Previous Shutdown Cause: 0 Sep 20 21:04:14 PuppetMaster kernel[0]: VoodooSDHCI ::: an SDHCI driver for Ricoh, TI, and JMicron SD Host Controllers ::: rev 20091008 Sep 20 21:04:14 PuppetMaster kernel[0]: VoodooSDHCI: initializing SD host controller Sep 20 21:04:14 PuppetMaster kernel[0]: NVDANV50HAL loaded and registered. Sep 20 21:04:16 PuppetMaster kernel[0]: VoodooPS2SynapticsTouchPad loaded Sep 20 21:04:16 PuppetMaster kernel[0]: VoodooPS2Trackpad: Synaptics TouchPad v6.3 Sep 20 21:04:16 PuppetMaster kernel[0]: DSMOS has arrived Sep 20 21:04:16 PuppetMaster kernel[0]: VoodooBattery 1.3 © 2009 Superhai, All Rights Reserved. Jan 7 2010 23:18:58 64 bit Sep 20 21:04:16 PuppetMaster kernel[0]: AppleBCM440XEthernet: Ethernet address 00:1c:23:94:6a:88 Sep 20 21:04:16 PuppetMaster kernel[0]: AirPort_Brcm43xx: Ethernet address 00:1c:26:a5:40:6f Sep 20 21:04:16 PuppetMaster kernel[0]: IO80211Controller::dataLinkLayerAttachComplete(): adding AppleEFINVRAM notification Sep 20 21:04:16 PuppetMaster kernel[0]: IO80211Interface::efiNVRAMPublished(): Sep 20 21:04:17 PuppetMaster kernel[0]: AirPort: Link Down on en0. Reason 1 (Unspecified). Sep 20 21:04:31 PuppetMaster kernel[0]: ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out Sep 20 21:04:31 PuppetMaster kernel[0]: ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized Link to comment Share on other sites More sharing options...
JBraddock Posted September 20, 2010 Share Posted September 20, 2010 Hello.This is my story. I have a Dell Inspiron 1520 with Core2Duo 1.66 CPU and 4GB DDR2 and GeForece 8400M GS 128MB. I installed OS X 10.6.3 from retail DVD, used Chameleon as bootloader, then updated to 10.6.4. Almost everything works fine, except shutdown and sleep. Putting the computer to sleep, it goes to sleep, but after a 1 or 2 seconds wakes up automatically. So this is a no go. The other problem is that when I shutdown the computer, apparently everything is close, but the power led is still on and I have to push the power button for 6 seconds to turn it off completely. Both CPU cores work fine, video card works fine @ full resolution, audio works, wireless work, ethernet work, bluetooth work, media buttons work. In /Extra/Extensions I have these kexts: EvOreboot.kext, FakeSMC.kext, IOAHCIBlockStorageInjector.kext, NullCPUPowerManagement.kext and SleepEnabler.kext. In /System/Library/Extensions I have these kexts: AppleBCM440XEthernet.kext, IOBluetoothFamily.kext, IONetworkingFamily.kext, OSXRestart.kext, AppleACPIPS2Nub.kext, VoodooPS2Controller.kext, VoodooBattery.kext, VoodooHDA.kext and VoodooSDHC.kext. All these kexts were installed by me, since some of them are for running in 64 bit mode. If I disable the GraphicsEnabler then the shutdown work as it should, but as soon as I enable it, shutdown brakes. Also pressing the power button brings up the dialog box for selection options to restart, sleep or shutdown. However restart work just fine. Could someone help me out with this? I would really appreciate some help, since I'm struggling with these problems for almost a month now. PS: I also uploaded the DSDT extracted from the system, if it helps Sleep Problem: The very first thing that pops into my mind is to fix your usb devices. Check out this topic and see which DSDT hacks are apply to you. USB, LPC ( did you notice that you have an error message on Console about LPC?), TMR, PIC, RTC, HPET, SBUS these will probably work for you. BTW, try to change sleep mode. Read this and the following. Speedstep: If you use NullCPUPowerManagement, you should also use VoodooPowerMini. Otherwise you can't get P-States. VoodooPowerMini can keep your computer cool until you find a better solution. If you apply RTC, SBUS, LPC and HPET fixes, you can hopefully remove NullCPUPowerManagement and use vanilla power management. Pay attention here please, you may get kernel panic after removing NullCPUPowerManagement so back up first. Graphic Card Apparently, built-in enabler feature is not working for you although it gives you proper resolution etc. Search the forum and see if there are other people using the same card. Dell 1330 has the same graphic card so I suggest you take a look at their DSDT fix. It should work for you. There is a special thread for this laptop. Also there should be a dsdt fix for this laptop as well. See if it works for you. There is newer version of Chameleon, give it a try too. Finally, for the sake of keeping the system as vanilla as possible, I suggest you move AppleACPIPS2Nub.kext, VoodooPS2Controller.kext, VoodooBattery.kext to Extra folder. Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 I already tried doing the dsdt.aml compile stuff, I got errors. Have no clue how this stuff works. Unless somebody helps me out with that, I have no idea how to do it. Why do you think my video card is not working as it should? In system profiler is detected. I get the transparent menu bar and the ripple effect when adding a dashboard widget (as I read these are the ways to find out if it works). Reading that guide and searching in my dsl extracted from the system I cand find many of the things that it tells to search. Link to comment Share on other sites More sharing options...
JBraddock Posted September 20, 2010 Share Posted September 20, 2010 I already tried doing the dsdt.aml compile stuff, I got errors. Have no clue how this stuff works. Unless somebody helps me out with that, I have no idea how to do it. Why do you think my video card is not working as it should? In system profiler is detected. I get the transparent menu bar and the ripple effect when adding a dashboard widget (as I read these are the ways to find out if it works). Reading that guide and searching in my dsl extracted from the system I cant find many of the things that it tells to search. Sorry, I am not a DSDT geek either. I suggest you start step by step. First, find Dell 1330 topic on forum and apply Nvidia hack. If you have compile errors then share it on that topic. I think someone may help you. If you don't know how to edit DSDT file then first download DSDTSE editor and take a look. I think, the built-in NVCAP value is problematic in your case. Sure there isn't a guide for this laptop? Good luck, By the way, take a look at this topic. http://www.insanelymac.com/forum/index.php?showtopic=223205 Use that editor and share your errors. People may help you. Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 When trying to sleep I get these in the kernel log: Sep 20 23:00:35 PuppetMaster kernel[0]: FakeSMC: key info not found CLWK, length - 6 Sep 20 23:00:37 PuppetMaster kernel[0]: System Sleep Sep 20 23:00:39 PuppetMaster kernel[0]: Wake reason = AZAL PBTN LID EHC2 EHCI Sep 20 23:00:39 PuppetMaster kernel[0]: System Wake Sep 20 23:00:39 PuppetMaster kernel[0]: Previous Sleep Cause: 0 Sep 20 23:00:39 PuppetMaster kernel[0]: FakeSMC: key info not found CLWK, length - 6 Sep 20 23:00:39 PuppetMaster kernel[0]: USB (EHCI):Port 6 on bus 0xfd connected or disconnected: portSC(0x301002) Sep 20 23:00:39 PuppetMaster kernel[0]: USB (EHCI):Port 2 on bus 0xfa connected or disconnected: portSC(0x101002) Sep 20 23:00:39 PuppetMaster kernel[0]: The USB device Laptop Integrated Webcam (Port 6 of Hub at 0xfd000000) may have caused a wake by being disconnected Sep 20 23:00:39 PuppetMaster kernel[0]: FakeSMC: key info not found CLWK, length - 6 Sep 20 23:00:39 PuppetMaster kernel[0]: The USB device BCM2045B2 (Port 2 of Hub at 0x1a000000) may have caused a wake by being disconnected Link to comment Share on other sites More sharing options...
JBraddock Posted September 20, 2010 Share Posted September 20, 2010 Download the modified FakeSMC.kext from this topic I mentioned above. On the same topic you could also find the DSDT hacks for the following problems. Azal: This is audio device. You need to patch this. Lid: This is laptop Lid. When you close it computer should go to sleep. EHC and EHCI are USB bus and they also need patching. Please, first try to learn how to modify DSDT file, sometimes it is a copy paste thing if you find the hack you need. Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 Don't know how to tell you, but my extracted DSDT doesn't look like the one on that page. I tried to follow those examples, but I don't know how to patch it. I'm just to dumb. I extracted the DSDT form the system, and I changed nothing, tried to compile it. I got a lot of errors. Don't even know what they are. Link to comment Share on other sites More sharing options...
JBraddock Posted September 20, 2010 Share Posted September 20, 2010 Could you please download DSDTSE and then run it. Click "Extract DSDT" and then save that file (should be dsdt.dsl) and upload it here. The clean and reliable way of doing this is actually to use Linux. You can try that as well. Just look at the topic I'd referred to. Link to comment Share on other sites More sharing options...
MaLd0n Posted September 20, 2010 Share Posted September 20, 2010 only one error Name (_HID, "*pnp0c14") Mac OS X you can remove the DSDT being used restart run on terminal perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > dsdt.aml") or die; print PIP "$1"; } }' Windows use Everest http://www.insanelymac.com/forum/index.php?showtopic=225991 DSDT EDITOR and PATCHER - LINUX - MAC - WINDOWS http://www.insanelymac.com/forum/index.php...st&id=77589 Link to comment Share on other sites More sharing options...
JBraddock Posted September 20, 2010 Share Posted September 20, 2010 Well. it certainly does not compile with DSDTSE. Apparently, it is something to do with the compiler version. Link to comment Share on other sites More sharing options...
MaLd0n Posted September 20, 2010 Share Posted September 20, 2010 dsdt.aml_GURDE.zip Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 MaLd0n you already posted that zip, right? When I tried that, my screen got black after booting up. Could not do anything. dsdt.dsl.zip Link to comment Share on other sites More sharing options...
MaLd0n Posted September 20, 2010 Share Posted September 20, 2010 MaLd0n you already posted that zip, right? When I tried that, my screen got black after booting up. Could not do anything. Nops I just compiled that correcting the error http://www.insanelymac.com/forum/index.php...t&p=1550996 Name (_HID, "*pnp0c14") has no fix applied no correction Link to comment Share on other sites More sharing options...
gurde Posted September 20, 2010 Author Share Posted September 20, 2010 I tried it again, 1st time black screen. 2nd time managed to sign in. Nothing changed. Link to comment Share on other sites More sharing options...
MaLd0n Posted September 20, 2010 Share Posted September 20, 2010 I extracted the DSDT form the system, and I changed nothing, tried to compile it. I got a lot of errors. I just compiled without errors you need to apply the fixs if you did not apply any fix has no difference from your original bios see the fixs cited by JBraddock Link to comment Share on other sites More sharing options...
gurde Posted September 21, 2010 Author Share Posted September 21, 2010 I'm trying to tell you, that I have no idea how to apply any fix. I'm new to this stuff. 1 month ago I started to research, 3 weeks ago I installed for the 1st time OS X, 1 week ago I just managed to make it run with no kernel panics. Now patching dsdt is a more complex stuff, especially with non so understandable fixes. In those tutorials they write to do that and that on that line. Why? And what does that change compared to the previous code. I would like to understand that. I hope you understand me, but not everybody is meant to do stuff like this, at least without learning something about it. As I wrote before, some of the examples don't match anything as in my dsdt, so what am I supposed to do? Link to comment Share on other sites More sharing options...
JBraddock Posted September 21, 2010 Share Posted September 21, 2010 My friend I know how you feel and no one expects you to create a miracle over a night. Please just read carefully. I just looked into your DSDT code and clearly you have USB1, USB2, USB3, USB4, USB5, EHC1 and EHC2. You also have Device (RTC), Device (TMR). For these hacks, you only need to copy and paste. Check out this topic and the other topic I gave you. Device names can be different. for example, in my case, my usb devices are named like UHC1, UHC2 etc. Just go step by step and first apply USB fixes. You'll see the result and then you'll know that you are doing. Post you DSDT problems to DSDT Editor and Patches topic. Link to comment Share on other sites More sharing options...
gurde Posted September 21, 2010 Author Share Posted September 21, 2010 Can't these problems be fixed with kexts? However I'll give it one more try. Do you think this will fix my shutdown issue or just sleep? Link to comment Share on other sites More sharing options...
Recommended Posts