Memphiz Posted September 12, 2011 Share Posted September 12, 2011 Hi, i've searched a bit but didn't find a explicit solution for this. As some other people mentioned too there seems to be a shutdown issue with some of the Asus P8P67 Boards. It shuts down and some secs later it just powers on again. I have this issue with the P8P67 LE and didn't find a hint if this issue is fixed by somebody already. The big thread about the P8P67-M Pro (slim ACPI tables and so on) did state that shutdown is fixed, but i don't know if this means that poweron after shutdown issue. Since i don't want to use precompiled DSDTs (and there isn't one out for my board nevertheless) i just wanted to know what needs to be changed in the DSDT for getting that shutdown bug fixed. Thx in advance Memphiz Link to comment Share on other sites More sharing options...
wiraone Posted September 15, 2011 Share Posted September 15, 2011 Had this problem before, did a drastic measure, changed to Gigabyte motherboard. Moons later when ASUS came out with a BIOS update, updated mine and built another hackintosh .. this behavior was gone. So, check your BIOS and see if you've the latest one. If this doesn't help, you probably need to disable some of the features in the BIOS. Since I'm no longer using this motherboard, I can't really help much. Link to comment Share on other sites More sharing options...
Memphiz Posted September 15, 2011 Author Share Posted September 15, 2011 Had this problem before, did a drastic measure, changed to Gigabyte motherboard. Moons later when ASUS came out with a BIOS update, updated mine and built another hackintosh .. this behavior was gone. So, check your BIOS and see if you've the latest one. If this doesn't help, you probably need to disable some of the features in the BIOS. Since I'm no longer using this motherboard, I can't really help much. Thx for the reply. Mhh i already have the latest BIOS. Windows and Ubuntu are shutting down fine - so there has to be a solution in principal. I already tried to adapt the _PTS method in my DSDT for arg0 == 0x5 (shutdown). But i think that is already done by the Chameleon shutdown fix. It didn't work Link to comment Share on other sites More sharing options...
LatinMcG Posted September 16, 2011 Share Posted September 16, 2011 chameleon shutdown fix ? show me this.. i know there is restartfix.. but shutdownfix is news to me. let me see your _PTS Link to comment Share on other sites More sharing options...
Memphiz Posted September 17, 2011 Author Share Posted September 17, 2011 Ahh i mixed things up. Ok so chameleon only has a restart fix. here is my _PTS Method (_PTS, 1, NotSerialized) { Store (0x80000008, \_SB.PINX) \_SB.ISMI (0x90) Store (Arg0, DBG8) If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) { Sleep (0x0BB8) } PTS (Arg0) Store (Zero, Index (WAKP, Zero)) Store (Zero, Index (WAKP, One)) Store (ASSB, WSSB) Store (AOTB, WOTB) Store (AAXB, WAXB) Store (Arg0, ASSB) Store (OSFL (), AOTB) Store (Zero, AAXB) Store (One, \_SB.SLPS) } Method (PTS, 1, NotSerialized) { If (Arg0) { \_SB.PCI0.LPCB.SPTS (Arg0) \_SB.PCI0.PEX0.SPRT (Arg0) \_SB.PCI0.PEX1.SPRT (Arg0) \_SB.PCI0.PEX2.SPRT (Arg0) \_SB.PCI0.PEX3.SPRT (Arg0) \_SB.PCI0.PEX4.SPRT (Arg0) \_SB.PCI0.PEX5.SPRT (Arg0) \_SB.PCI0.PEX6.SPRT (Arg0) \_SB.PCI0.PEX7.SPRT (Arg0) \_SB.SARM (Arg0) \_SB.PCI0.LPCB.SIOS (Arg0) } } This is the original _PTS method extracted from linux. As already mentioned i also tried a version where i do nothing if arg0==0x5 - same behaviour. Link to comment Share on other sites More sharing options...
chinese_spy Posted September 19, 2011 Share Posted September 19, 2011 Try to set "stay off after power failure" in BIOS. Link to comment Share on other sites More sharing options...
Memphiz Posted September 19, 2011 Author Share Posted September 19, 2011 Try to set "stay off after power failure" in BIOS. Sets already set ... also i have deactivated all WakUp functions in the BIOS... Link to comment Share on other sites More sharing options...
chinese_spy Posted September 20, 2011 Share Posted September 20, 2011 Sets already set ... also i have deactivated all WakUp functions in the BIOS... OK there is the correct _PTS method: Method (_PTS, 1, NotSerialized) { If (LEqual (Arg0, 0x05)) {} Else { Store (Arg0, DBG8) If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) { Sleep (0x0BB8) } PTS (Arg0) Store (Zero, Index (WAKP, Zero)) Store (Zero, Index (WAKP, One)) Store (ASSB, WSSB) Store (AOTB, WOTB) Store (AAXB, WAXB) Store (Arg0, ASSB) Store (OSFL (), AOTB) Store (Zero, AAXB) Store (One, \_SB.SLPS) } } Link to comment Share on other sites More sharing options...
Memphiz Posted September 20, 2011 Author Share Posted September 20, 2011 As already mentioned i also tried a version where i do nothing if arg0==0x5 - same behaviour. OKthere is the correct _PTS method: Thats exactly what i've tried already. It doesn't work. Same behaviour is on sleep btw. It goes to sleep for some secs - and then wakesup automatically. Everything is fine after wakeup. So something seems to wakeup the system. I already tried to detach all of the USB stuff and so on. But no chance. It just doesn't stay off Here is the output of sleep + wakup: hibernate_page_list_setall start 0xffffff8169dea000, 0xffffff8169e6a000 hibernate_page_list_setall time: 545 ms pages 489571, wire 181709, act 61827, inact 42, spec 34, zf 0, throt 0, could discard act 28923 inact 54229 purgeable 5132 spec 157675 hibernate_page_list_setall found pageCount 243612 IOHibernatePollerOpen, ml_get_interrupts_enabled 0 IOHibernatePollerOpen(0) writing 242254 pages encryptEnd fcb9cd0 image1Size 524185088, encryptStart1 0, End1 fcb9cd0 encryptEnd 253020b0 PMStats: Hibernate write took 6541 ms all time: 6541 ms, comp time: 1142 ms, deco time: 0 ms, image 623911424, uncompressed 1730990080 (422605), compressed 615731784 (35%), sum1 345353c, sum2 1abd19ea wired_pages_encrypted 180351, wired_pages_clear 180351, dirty_pages_encrypted 61903 hibernate_write_image done(0) sleep Wake reason = System Wake /drv/ MacModule.cpp:261 powerStateWillChangeTo: flags=82 stateNumber=4 /drv/ MacModule.cpp:262 powerStateWillChangeTo: found flag=kIOPMPowerOn (2) /drv/ MacModule.cpp:267 powerStateWillChangeTo: found flag=kIOPMRestartCapability (80) /drv/ MacModule.cpp:261 powerStateDidChangeTo: flags=82 stateNumber=4 /drv/ MacModule.cpp:262 powerStateDidChangeTo: found flag=kIOPMPowerOn (2) /drv/ MacModule.cpp:267 powerStateDidChangeTo: found flag=kIOPMRestartCapability (80) Link to comment Share on other sites More sharing options...
chinese_spy Posted September 20, 2011 Share Posted September 20, 2011 very strange... post kextstat result. Link to comment Share on other sites More sharing options...
Memphiz Posted September 20, 2011 Author Share Posted September 20, 2011 here you go: http://pastebin.com/q8HGUwaV thx - your help is much appreciated. Do you have a P8P67 board aswell without shutdown issues? Link to comment Share on other sites More sharing options...
LatinMcG Posted September 20, 2011 Share Posted September 20, 2011 com.LaCie.driver.PXHCD ? (firewire? or usb 3 ?) com.parallels.kext.prl_usb_connect (a lot of parallells in here) com.bresink.driver.BRESINKx86Monitoring ? org.pqrs.driver.KeyRemap4MacBook ? com.apple.driver.Apple16X50Serial (disable LPT and COM ports in bios) com.apple.driver.AppleIntelMeromProfile com.apple.driver.AppleIntelNehalemProfile com.apple.driver.AppleIntelPenrynProfile strange on my laptop shows only meromprofile with core2duo. (will check my g31m Q8200 to see if it loads all 3) likely smbios.plist issue or different device ids for devices loading certain profiles. post your full dsdt.aml and smbios.plist Link to comment Share on other sites More sharing options...
Memphiz Posted September 20, 2011 Author Share Posted September 20, 2011 yeah its an onboard firewire and onboard usb3 - i could disable that ... and yes im using parallels, KeyRemap4MacBook is for having the home and end buttons work instead of allways using ctrl+a and ctrl+e. I use the serial port for atmel programming so i don't really want to turn it off (had it turned off on the very first start until i had hooked up the serial port to the mainboard - same behaviour according to the shutdown problem). FYI ... i've used this sam snow leo installation with an asus p5kpl 1600 before - i only changed boards + cpu and (and made a new dsdt of course). I hadn't any shutdown issues with the old board and all these kexts loaded ... i'll try to deactivate firewire because i don't need it ... Link to comment Share on other sites More sharing options...
LatinMcG Posted September 20, 2011 Share Posted September 20, 2011 i think its bios settings. set power failure last state. S3 also not S1. im almost sure its related to power management settings in bios. or usb legacy. we need screenshots of bios likely to see what options. .. looking at the wake reason none. did u uncheck "use secure virtual memory" in security ? writing 242254 pages encryptEnd fcb9cd0 image1Size 524185088, encryptStart1 0, End1 fcb9cd0 encryptEnd 253020b0 PMStats: Hibernate write took 6541 ms dont forget to zip the dsdt and smbios (has anyone got this mobo running good on wake ? maybe their kextstat and ioreg and dsdt can guide to issue.) bios version? chameleon version rc5 rev r1xxx (thats a lot of xxx) ? Link to comment Share on other sites More sharing options...
Memphiz Posted September 20, 2011 Author Share Posted September 20, 2011 gimme a sec for that ... Here is everything you requested: Screenshots of BIOS Settings, org.chameleon.Boot.plist, smbios.plist, dsdt and ssdt, bdmesg output. I'm using Chameleon 2.1svn (svn-r1516) [2011-09-06 19:33:56] BIOS version 1013 .. looking at the wake reason none. did u uncheck "use secure virtual memory" in security ? Yes - this is unchecked ... debug_p8p67le.zip Link to comment Share on other sites More sharing options...
LatinMcG Posted September 20, 2011 Share Posted September 20, 2011 on the 3659 picture. all power on by are off. try power on by pci enabled.. is that defaults ? EHCI handoff Enable it on the bios side i find this interesting P8P67 LE 1013 BIOS 1. Fix function "AC Power Loss" failure issue in some conditions. ============== P8P67 LE 1011 BIOS 1. Fixed some cards will down to GEN1 after S3 ============== P8P67 LE 1003 BIOS 1. Support F12 hot key in BiosSetup. try 1011 and dump dsdt. then text compare the .dsl of each. i have to step out. see you later today. Link to comment Share on other sites More sharing options...
Memphiz Posted September 20, 2011 Author Share Posted September 20, 2011 I've tested: Wakup on PCI -> no change EHCI Handoff Enabled -> no change Firewire disabled -> no change Then i Tested BIOS version 1003, 1011 and 1013 - once without custom dsdt and once with patched dsdst (i did a new patch for each bios version of course). -> no change - all bios version behave the same. Here are the DSDT diffs between the bios version. I couldn't try lower versions because the updater didn't allow a downgrade below 1003. Version 1003 -> 1011 http://pastebin.com/aQNae4Uk Version 1011 -> 1013 http://pastebin.com/4K5fYXcy Default APM BIOS settings is "all off" like in my photos ... Link to comment Share on other sites More sharing options...
LatinMcG Posted September 20, 2011 Share Posted September 20, 2011 MacPro3,1 (Mac-F42C88C8) = wrong if using imac12,1 try 11,1 bios.date: 10/30/09 bios.vendor: Apple Inc. bios.version: IM111.88Z.0034.B00.0910301727 board.name: Mac-F2268DAE board.vendor: Apple Inc. chassis.version: Mac-F2268DAE product.name: iMac11,1 product.version: 1.0 Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted September 20, 2011 Share Posted September 20, 2011 Can you sleep in safe mode? (boot with -x) Try (for troubleshooting purposes) disabling hibernation with the command pmset via terminal and see if it will sleep. Type man pmset for instructions and remember you must run pmset with admin rights. Press command+n to spawn a new Terminal window so that you can read the instructions and type..wow nice tip eh? If you're on 10.6.8, try installing the latest Nvidia drivers: http://www.nvidia.com/object/quadro-macosx...f01-driver.html Don't worry about the Quadro 4000 name, the drivers are universal. Of course if you have added your video card device ID to any of the nvidia kernel extensions you must do this again. If you're not using a MacPro model identifier, you need to do some hacking (yeah boiii): Drag the installer pkg off of the disk image, right click, show contents, find distribution.dist and open it with textedit. Look for the model identifier section and swap one of the modifiers for the one you're using (it should be obvious what to do once you're looking at it). Save the file, now you can run the installer. Congratulations, you have joined the Light Hackers Club. com.apple.driver.AppleIntelMeromProfilecom.apple.driver.AppleIntelNehalemProfile com.apple.driver.AppleIntelPenrynProfile strange on my laptop shows only meromprofile with core2duo. (will check my g31m Q8200 to see if it loads all 3) Yeah that's odd..surely that's not supposed to happen. I'm using MacPro3,1 (P45/ICH10/Core2Duo) and only the Penryn profile is loaded. Memphiz should only have the NehalemProfile loaded. com.parallels.kext.prl_usb_connect (a lot of parallells in here) I don't think those are to blame, I've been using Parallels 5 and now 6 on Snow Leopard and S3 sleep works fine for me. Link to comment Share on other sites More sharing options...
Memphiz Posted September 20, 2011 Author Share Posted September 20, 2011 MacPro3,1 (Mac-F42C88C8) = wrong if using imac12,1try 11,1 i've tried with this one: http://pastebin.com/ceivvGVE didn't help (and i want to use iMac12,2 because i have a SandyBridge CPU). But thx for the pointer - i've fixed my smbios and it reads now like this: http://pastebin.com/TTc2e8Ni Can you sleep in safe mode? (boot with -x) Same with -x - it sleeps, then power led blinks 3 times (so it is really sleeping) and after 3 blinks it wakesup successfully, but unwanted Try (for troubleshooting purposes) disabling hibernation with the command pmset via terminal and see if it will sleep. I've tried with pmset hibernatemode 0. I saw the difference (images wasn't written to disk before sleep) - but still - 3 blinks and then the unwanted wakeup. If you're on 10.6.8, try installing the latest Nvidia drivers: Updated to the latest NVidia Drivers: 72 0 0xffffff7f80e24000 0x59e000 0x59e000 com.apple.nvidia.nvGF100hal (6.3.7) <71 9 4 3> 80 0 0xffffff7f81416000 0x18f000 0x18f000 com.apple.nvidia.nv40hal (6.3.7) <71 9 4 3> 88 0 0xffffff7f81761000 0x404000 0x404000 com.apple.nvidia.nv50hal (6.3.7) <71 9 4 3> Nothing changed ... Sleeping for 3 blinks and then wakeup ... Where are the other p8p67* board users? Would be interesting if it is a thing of the LE version of this board or a generic problem ... Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted September 20, 2011 Share Posted September 20, 2011 Just an FYI, nothing to do with your issue: <key>SMbiosdate</key> <string>11/06/2009</string> <key>SMbiosversion</key> <string>IM111.88Z.0034.B02.1003171314</string> The first six digits in the last part of the SMbiosversion (100317) is the SMbiosdate. This means that either your SMbiosdate or your SMbiosversion is wrong. For example, if your SMbiosversion is correct, the SMbiosdate should be 03/17/10. Also note that SMbiosversion is YY/MM/DD and SMbiosdate is DD/MM/YY, not DD/MM/YYYY You can confirm this yourself by looking at smbios/DMI dumps from real Macs, there are two in this thread: http://www.insanelymac.com/forum/index.php?showtopic=266634 (the posted MacPro4,1 one is from a Hackintosh, it has the same error as yours) Link to comment Share on other sites More sharing options...
Memphiz Posted September 21, 2011 Author Share Posted September 21, 2011 Yeah i think the error is from using Chameleon Wizard when generating complete smbios.plist files Link to comment Share on other sites More sharing options...
bergoulle Posted October 21, 2011 Share Posted October 21, 2011 I have the same problem as you with the unwanted poweron, did you find a solution? Thank you in advance! Link to comment Share on other sites More sharing options...
Memphiz Posted October 24, 2011 Author Share Posted October 24, 2011 I have the same problem as you with the unwanted poweron, did you find a solution? Thank you in advance! No i didn't find a solution. I'm just cutting of the power after shutdown by using a switchable extension lead. Link to comment Share on other sites More sharing options...
Musabadiane Posted October 24, 2011 Share Posted October 24, 2011 No i didn't find a solution. I'm just cutting of the power after shutdown by using a switchable extension lead. No other solution Please let us know if you find a real solution and I'll also do it if I find it. Kind regards, Link to comment Share on other sites More sharing options...
Recommended Posts