Jump to content

Shut down & sleep issues with OSX 10.6.4 on Dell Inspiron 1520


  • Please log in to reply
95 replies to this topic

#1
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
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

Attached Files

  • Attached File  dsdt.zip   16.75KB   31 downloads


#2
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
If it helps, it has an Intel PM965 chipset.

Somebody, please help me.

#3
YoMuS

YoMuS

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 195 posts
  • Location:Valencia
Try to uncheck "Allow ethernet devices to wake up computer", under System Preferences->Energy Saver.

Good luck

#4
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
I have nothing like that in Energy Saver.

#5
YoMuS

YoMuS

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 195 posts
  • Location:Valencia
Wake for Ethernet network administrator access

#6
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Not even that.

Attached Files



#7
YoMuS

YoMuS

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 195 posts
  • Location:Valencia
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.

#8
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
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

#9
JBraddock

JBraddock

    Ph.D (Can) in Human Rights

  • Members
  • PipPipPipPipPipPipPip
  • 549 posts
  • Location:UK

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.

#10
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
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.

#11
JBraddock

JBraddock

    Ph.D (Can) in Human Rights

  • Members
  • PipPipPipPipPipPipPip
  • 549 posts
  • Location:UK

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.insanelym...howtopic=223205

Use that editor and share your errors. People may help you.

#12
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
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

#13
JBraddock

JBraddock

    Ph.D (Can) in Human Rights

  • Members
  • PipPipPipPipPipPipPip
  • 549 posts
  • Location:UK
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.

#14
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
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.

#15
JBraddock

JBraddock

    Ph.D (Can) in Human Rights

  • Members
  • PipPipPipPipPipPipPip
  • 549 posts
  • Location:UK
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.

#16
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro
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.insanelym...howtopic=225991

DSDT EDITOR and PATCHER - LINUX - MAC - WINDOWS
http://www.insanelym...p...st&id=77589

#17
JBraddock

JBraddock

    Ph.D (Can) in Human Rights

  • Members
  • PipPipPipPipPipPipPip
  • 549 posts
  • Location:UK
Well. it certainly does not compile with DSDTSE.
Apparently, it is something to do with the compiler version.

#18
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro
Attached File  dsdt.aml_GURDE.zip   8.97KB   10 downloads

#19
gurde

gurde

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
MaLd0n you already posted that zip, right? When I tried that, my screen got black after booting up. Could not do anything.

Attached Files



#20
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

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.insanelym...p...t&p=1550996

Name (_HID, "*pnp0c14")

has no fix applied
no correction





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy