Jump to content

Problem after Sleep


  • Please log in to reply
13 replies to this topic

#1
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
Hi,
I enabled the sleep on the notebook in signature
installing the Sleepenabler and enabling the option Wake = yes in Chameleon,
the only problem is that when I go to sleep it off the monitor, stop USB and hard drives, but the power LED stays on and fans continue to run;
also will not turn on by keyboard or mouse, but I have to forceshutdown and then restart again from sleep perfectly.
How can I fix this problem?

Thanks

#2
JamesLittler

JamesLittler

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Portsmouth, England
You are better off implementing sleep through your DSDT.

Set sleep to S3 in BIOS
Remove sleep enabler, remove this strange 'Wake=Yes' flag (never even heard of it, are you sure it's actually a real boot flag? Or do you mean ForceWake or DarkWake?).
Rebuild caches
Reboot

Now try sleep, report back with your results.

#3
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
Thanks for the reply,
in my bios i can't set sleep to S3 (there aren't setting on sleep), and i haven't dsdt..
How i can make it?
Thanks

#4
JamesLittler

JamesLittler

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Portsmouth, England
The easiest way to extract your DSDT is by using DSDT Editor in OS X.
Google DSDT Editor and I'm sure you'll fine a link (probably on sourceforge).

The setting may be called 'Suspend type' or something similar. Check to see if you've missed it anywhere in BIOS.

#5
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
Thanks,
i extracted DSDT with editor, i have compiled and saved it into the root,
then i removed sleepenabler and boot flag, and i rebuild caches,
but when i reboot there is kernel panic..
How i can fix it?

Thanks

#6
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,034 posts
  • Gender:Male
  • Location:Brazil
Extracting your DSDT, compiling it and placing it in /Extra (or / ) does not do anything.

When you do that, you're overriding your actual, unpatched DSDT with a copy of your actual, unpatched DSDT.

#7
JamesLittler

JamesLittler

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Portsmouth, England
You need to patch your dsdt.
As Gringo says, just compiling your unpatched DSDT and placing it in /Extra will do nothing.
The same DSDT is being loaded, just from a different place!

#8
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
I undestand, but how i can patch my dsdt to fix sleep probem?
Thanks

#9
JamesLittler

JamesLittler

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Portsmouth, England
First you need to find where you problem lies.

Open console, click 'kernel.log' in the left hand pane.
Clear the display.

Click Apple>Sleep

Post the output of console from this point on

#10
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
Thanks, i have done everything, this is the output:


Feb 7 18:02:47 host-001 kernel[0]: hibernate image path: /var/vm/sleepimage
Feb 7 18:02:47 host-001 kernel[0]: sizeof(IOHibernateImageHeader) == 512
Feb 7 18:02:47 host-001 kernel[0]: Opened file /var/vm/sleepimage, size 4294967296, partition base 0x174877b000, maxio 400000
Feb 7 18:02:47 host-001 kernel[0]: hibernate image major 14, minor 2, blocksize 512, pollers 5
Feb 7 18:02:47 host-001 kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
Feb 7 18:02:47 host-001 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
Feb 7 18:02:47 host-001 kernel[0]: System SafeSleep
Feb 7 18:03:35 host-001 kernel[0]: hibernate_page_list_setall start
Feb 7 18:03:35 host-001 kernel[0]: hibernate_page_list_setall time: 223 ms
Feb 7 18:03:35 host-001 kernel[0]: pages 436928, wire 111447, act 130169, inact 1242, spec 120, zf 4723, throt 0, could discard act 34551 inact 26143 purgeable 8441 spec 120092
Feb 7 18:03:35 host-001 kernel[0]: hibernate_page_list_setall found pageCount 247701
Feb 7 18:03:35 host-001 kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
Feb 7 18:03:35 host-001 kernel[0]: IOHibernatePollerOpen(0)
Feb 7 18:03:35 host-001 kernel[0]: writing 247205 pages
Feb 7 18:03:35 host-001 kernel[0]: hibernate_machine_init: state 2, image pages 111359, sum was 7ee0c9bd, image1Size 8ab0800, conflictCount 1, nextFree 191
Feb 7 18:03:35 host-001 kernel[0]: hibernate_page_list_discard time: 121 ms, discarded act 34551 inact 26143 purgeable 8441 spec 120092
Feb 7 18:03:35 host-001 kernel[0]: IOHibernatePollerOpen(), ml_get_interrupts_enabled 0
Feb 7 18:03:35 host-001 kernel[0]: IOHibernatePollerOpen(0)
Feb 7 18:03:35 host-001 kernel[0]: hibernate_machine_init reading
Feb 7 18:03:35 host-001 kernel[0]: PMStats: Hibernate read took 2993 ms
Feb 7 18:03:35 host-001 kernel[0]: hibernate_machine_init pagesDone 247613 sum2 59e4558a, time: 2993 ms
Feb 7 18:03:35 host-001 kernel[0]: Wake reason =
Feb 7 18:03:35 host-001 kernel[0]: System SafeSleep Wake
Feb 7 18:03:35 host-001 kernel[0]: Previous Sleep Cause: 0
Feb 7 18:03:35 host-001 kernel[0]: Previous Shutdown Cause: 0
Feb 7 18:03:35 host-001 kernel[0]: VoodooHDADevice[0x4653e000]::resume
Feb 7 18:03:35 host-001 kernel[0]: Resetting controller...
Feb 7 18:03:35 host-001 kernel[0]: Enabling input audio routing switching at node 24:
Feb 7 18:03:35 host-001 kernel[0]: Enabling output audio routing switching at node 27:
Feb 7 18:03:35 host-001 kernel[0]: Power down unsupported non-audio FG cad=1 nid=1 to the D3 state...
Feb 7 18:03:35 host-001 kernel[0]: Pin sense: cad 0 nid=27 res=1
Feb 7 18:03:35 host-001 kernel[0]: setDesc change description Headphones (Black Rear) channel 0 assoc 0
Feb 7 18:03:36 host-001 kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195
Feb 7 18:03:41 host-001 kernel[0]: AppleRTL8169Ethernet: phyWaitForAutoNegotiation TIMEOUT
Feb 7 18:03:43 MacBook-Pro-di-Giuseppe kernel[0]: Auth result for: d4:d1:84:30:7c:dc MAC AUTH succeeded
Feb 7 18:03:43 MacBook-Pro-di-Giuseppe kernel[0]: AirPort: Link Up on en1
Feb 7 18:03:43 MacBook-Pro-di-Giuseppe kernel[0]: AirPort: RSN handshake complete on en1

Thanks

#11
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,034 posts
  • Gender:Male
  • Location:Brazil

Feb 7 18:03:35 host-001 kernel[0]: Wake reason =


Ghost in the machine...

#12
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
Because to wake, i need to force shutdown and then restart again..
How i can fix?

Thanks

#13
JamesLittler

JamesLittler

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Portsmouth, England
Sleep state is set to 2 according to the kernel.log
Open BIOS, set suspend type to S3, if it doesn't appear in your BIOS you may be able to edit the BIOS flash it to your motherboard, but more than likely sleep is not going to work for you.

#14
gius92

gius92

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
  • Location:Napoli
  • Interests:Informatica, Djing
Thanks a lot, but in my bios there aren't settings about sleep or suspension..
I can only attend a solution to don't flash bios.

Thanks





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