Dogez Posted November 25, 2013 Posted November 25, 2013 (edited) Hello, I have a Samsung RC530-S03 -Core i7 2670QM with HD3000 (speedstep working with patched AppleIntelCPUPowerManagement) -Chipset Intel HM65 -nVidia GT540M (not working) -ALC269 (working with patched AppleHDA) -Ethernet: I'm using AppleRTL8169Ethernet and works fine; Wifi card: ATH-AR5B95 (working with patched IO802.11) -Chameleon bootloader Sleep works fine for the first time after startup (i don't know why, but I have to press the power button twice to wake), but after that: -case 1: clicking sleep on Apple menu does nothing -case 2: clicking sleep causes the screen to shut down for 1 second / occasionally freezes the computer for a few seconds -case 3: clicking sleep or waiting for auto-sleep causes the screen to shut down and fans and HDD to stop, while the power light stays ON and after a few minutes (10 or less) it wakes automatically Everything is working fine after wake (except for internal speakers). When I get case 3 (it wakes automatically), kernel log says: "Wake reason = PWRB EHC2 EHC1" or "Wake reason = PWRB" and "The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2) or something like that." -I tried using SleepEnabler but it gives me KP on boot (attempt to re-register power management... or version mismatch between kernel and CPU). -Since I'm using a DSDT (it's basically the original one, i just corrected errors, no other patches), I tried deleting Method _PRW from Device USB (1 to 7) but no success. Anyway it doesn't make any difference without DSDT. -I tried the following code Method (_PSW, 1, NotSerialized) { If (Arg0) { // Store (0x03, U4EN) // Disable USB4 capability to wake a sleeping system Store (0x00, U4EN) } Else { Store (0x00, U4EN) } } but again no success -I tried to generate C-States with Chameleon -I tried EHCI and UHCI DSDT patches -I tried sleep without any USB device connected -I don't know whether I could edit EHC1 and EHC2 since kernel log says they're responsible for wake I'm attaching my DSDT (I've already corrected errors and warnings) and the untouched one. Thanks for your help! Archivio.zip Edited November 26, 2013 by Guest Samsung RC530-S03 OSX 10.9 Mavericks
artur-pt Posted November 25, 2013 Posted November 25, 2013 @Dogez hello try this one DSDT.zip good hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
Dogez Posted November 25, 2013 Author Posted November 25, 2013 @artur-pt: Thanks for your support With your DSDT, after the first sleep, I only get "case 3" (the screen shuts down, the fan and the HDD stop, but power light doesn't blink, it stays still), so after a few minutes it wakes automatically. I'm still using GenerateC-States, if it can make any difference. Anyway I noticed something from kernel log: after the first sleep, Wake reason = PWRB happens as soon as I click Sleep (19.32.20), and not when it actually wakes (19.35.34), so probably he doesn't even enter sleep mode. Any help is appreciated, thanks! Samsung RC530-S03 OSX 10.9 Mavericks
artur-pt Posted November 25, 2013 Posted November 25, 2013 @Dogez i apply another fix to PWRB (is related with power button) u can test it DSDT.aml.zip good hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
Dogez Posted November 25, 2013 Author Posted November 25, 2013 @artur-pt: Still doesn't work, the only difference is that now it says "Wake reason = power-button" instead of PWRB I'm not sure about that, but I was wondering if I could disable this PWRB/PowerButton from DSDT, even if this means I won't be able to access the menu Reboot/Sleep/Shutdown by pressing it... Samsung RC530-S03 OSX 10.9 Mavericks
artur-pt Posted November 25, 2013 Posted November 25, 2013 hello man no ideas.. u now can test that .. remove the device from dsdt ? u should google for that particular note .. any fix.. good hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
pernacabeluda Posted November 25, 2013 Posted November 25, 2013 Try this DSDT.aml.zip -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
Dogez Posted November 26, 2013 Author Posted November 26, 2013 I finally managed to solve the sleep issue! Simply added _PRW to H_EC Device in DSDT: Device (H_EC) { Name (_HID, EisaId ("PNP0C09")) Name (_UID, One) Name (_PRW, Package (0x02) { 0x1E, 0x04 }) Now sleep works even after the first time Thanks anyway to those who helped me! Samsung RC530-S03 OSX 10.9 Mavericks
yioulas Posted December 26, 2015 Posted December 26, 2015 Hi all I have an ACER 7720g working perfectly on yosemite. Everything works except sleep which works only once like Dogez. I tried to add the _PWR secrion like Dogez did below me EC0 device section in my case. Device (EC0) { Name (_HID, EisaId ("PNP0C09")) Name (_UID, One) Name (_GPE, 0x1C) Name (_PRW, Package (0x02) { 0x1E, 0x04 }) Method (_CRS, 0, NotSerialized) { Name (BFFR, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) Return (BFFR) } It didn't work. Do the numbers blow the within the _PRW section mean anything? Name (_PRW, Package (0x02) { 0x1E, 0x04 }) I'm a noob when it comes to dsdt editing. How do I find the kernel log file? I've attached my dsdt. My pc sleeps and wakes perfectly the first time. Wakes from power button or from usb devices. The second time the screen goes black and I have to restart. The system uses only fakesmc and voodoops2 for trackpad and laptop keyboard so it's a clean yosemite install using clover. AppleLPC is loaded. If I can get sleep to work more than once it would be a perfect install. Thanks in advance!!! dsdt.aml.zip
jcmrdc Posted January 21, 2018 Posted January 21, 2018 Greetings to you all! My hackintosh is running macOS High Sierra 10.13.2 and I was able to fix sleep and shutdown issues with a series of terminal commands. They must be entered in the order listed below. I hope it helps you guys too. sudo defaults write /System/Library/LaunchDaemons/com.apple.securityd ExitTimeOut -int 5 sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ExitTimeOut -int 5 sudo defaults write /System/Library/LaunchDaemons/com.apple.diskarbitrationd ExitTimeOut -int 5 sudo defaults write /System/Library/LaunchDaemons/com.apple.coreservices.appleevents ExitTimeOut -int 5 sudo defaults write /System/Library/LaunchAgents/com.apple.coreservices.appleid.authentication ExitTimeOut -int 5
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