pmdsp Posted July 30, 2012 Share Posted July 30, 2012 Hi Guys, I have to say that i found some really nice stuff about hackintosh here which i couldn't find anywhere else . I have a mini ITX hackintosh which is performing ok but i cant get the system to sleep no matter what i do. If i put my system to sleep it wakes up in 1 second and the monitor goes black. I have to hold the power button till the computer is off and turn it back again. The machine is connected to a samsung Monitor/TV using HDMI. Been using this machine for almost 6 months and during the process of getting it running smoothly i have learnt a lot. DSDT details : DSDT_with Wifi edits for 9825 halfmini.aml.zip RAW DSDT extracted on fresh install. H67M ITX HT Patch. ALC892 patch. AHCI SATA orange icon patch. Atheros - 9825 Half mini wifi card edits. (Works without any kext with these edits) I do get some error during boot up Cheers. ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted July 30, 2012 Share Posted July 30, 2012 Look for "wake reason" in logs. -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 Link to comment Share on other sites More sharing options...
pmdsp Posted July 30, 2012 Author Share Posted July 30, 2012 Look for "wake reason" in logs. Wow. Thanks for the quick reply. Sorry i cant find "wake reason" on the logs. But i can see zzz.log which is showing info about sleep. Screenshot attached to show there is nothing under "/var/log" Mon Jul 30 07:03:28 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 17:16:54 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 17:37:03 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 17:43:48 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 17:47:04 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/ModeConfig.m:41 Waiting for IOPlatformPluginFamily to load ... Mon Jul 30 17:47:06 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/ModeConfig.m:41 Waiting for IOPlatformPluginFamily to load ... Mon Jul 30 17:47:08 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 17:49:19 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/ModeConfig.m:41 Waiting for IOPlatformPluginFamily to load ... Mon Jul 30 17:49:21 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 19:34:44 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/ModeConfig.m:41 Waiting for IOPlatformPluginFamily to load ... Mon Jul 30 19:34:46 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported Mon Jul 30 19:42:01 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/ModeConfig.m:41 Waiting for IOPlatformPluginFamily to load ... Mon Jul 30 19:42:04 201 [sleepServicesD] /SourceCache/SleepServicesD_executables/SleepServicesD-1.43/SleepServicesD/PowerStateTracker.m:129 Platform not supported ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
pmdsp Posted July 31, 2012 Author Share Posted July 31, 2012 Please can anyone tell me where to get the wake logs in ML? or do i have to install lion to get these logs? Thanks ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted July 31, 2012 Share Posted July 31, 2012 It's in system.log $ grep -i wake /var/log/* /var/log/system.log:Jul 10 14:12:52 Cassios-Mac-Pro kernel[0]: Wake reason = USB2 /var/log/system.log:Jul 10 14:12:52 Cassios-Mac-Pro kernel[0]: The USB device USB OPTICAL MOUSE (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2) -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 1, 2012 Author Share Posted August 1, 2012 It's in system.log $ grep -i wake /var/log/* /var/log/system.log:Jul 10 14:12:52 Cassios-Mac-Pro kernel[0]: Wake reason = USB2 /var/log/system.log:Jul 10 14:12:52 Cassios-Mac-Pro kernel[0]: The USB device USB OPTICAL MOUSE (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2) Hi Cassio, I could not find anything that says Kernel{0]: Wake reason or Kernel{0]: The USB in the logs. But i did find the cause for my system to wakeup immediately after sleep. It was the apply bluetooth A1181 device, which i have currently connect to my system on USB6. If i boot my machine without bluetooth the system goes to sleep normally and stays in sleep mode till i touch my mouse or keyboard, but after it wakes up i see nothing on the screen the screen goes completely blank, i can hear the cpu fan running. The logs with bluetooth connect and without bluetooth is attached. I know this is not what you wanted to see but sorry i almost spent an hour to find the logs but i could not find it. sleep logs.zip ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 1, 2012 Share Posted August 1, 2012 Have you tried the darkwake=0 kernel flag? -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 1, 2012 Author Share Posted August 1, 2012 Have you tried the darkwake=0 kernel flag? Thanks for your response. Yes i have that flag in my boot.plist. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>EthernetBuiltIn</key> <string>Yes</string> <key>GenerateCStates</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>GraphicsEnabler</key> <string>Yes</string> <key>Graphics Mode</key> <string>1980x1080x32</string> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>npci=0x3000 darkwake=0</string> <key>Legacy Logo</key> <string>Yes</string> <key>Timeout</key> <string>2</string> <key>UseKernelCache</key> <string>Yes</string> <key>device-properties</key> <string>4b00000001000000010000003f0000000100000002010c00d041030a0000000001010600031c0101060000007fff0400160000006200750069006c0074002d0069006e0000000500000001</string> </dict> </plist> System sleeps fine but no monitor after wakeup. Logs attached if you want to see it. sleep working no monitor.zip ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
pmdsp Posted August 3, 2012 Author Share Posted August 3, 2012 Hi Cassio, Since sleep was not working for me, i decided to try something new. I read in some other form that people have managed to get sleep working with new BIOS updates and proper DSDT edits. I have updated my BIOS and extracted the DSDT. I am getting these errors while compiling in "DSDT Editor". please help. Thanks DSDT after patches.dsl.zip ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 3, 2012 Share Posted August 3, 2012 Try this http://Olarila.com/forum/viewtopic.php?f=19&t=1421#p12392 http://Olarila.com/forum/viewtopic.php?f=19&t=1421#p12446 -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 3, 2012 Author Share Posted August 3, 2012 Try this http://Olarila.com/forum/viewtopic.php?f=19&t=1421#p12392 http://Olarila.com/forum/viewtopic.php?f=19&t=1421#p12446 Thank you very much for your response. To be honest with you i came across that thread this morning and i was confused about the code changes below. I thought these codes will go on DSDT but after clicking on the above link i saw that you have attached a txt file at the bottom of that thread and then i realised these changes should be done on motherboard patch. into method label _DSM parent_adr 0x001B0000 remove_entry; into device name_adr 0x001B0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x04)\n {\n "layout-id", \n Buffer (0x04)\n {\n 0x0C, 0x00, 0x00, 0x00\n }, \n "PinConfigurations", \n Buffer (Zero) {}\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; Long story short i did these changes and applied mother board patches "H67M ITX HT", "ALC892", "AHCI SATA orange icon" and compiled the DSDT. This is what i get before i click Fix errors. And after i click Fix errors. Can we get rid of those errors and warnings with out clicking on the button "Fix erros" ? Thank you. ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 3, 2012 Share Posted August 3, 2012 Can we get rid of those errors and warnings with out clicking on the button "Fix erros" ? Why would you want to do that? Just check what "fix errors" changes on those lines. If you mean compile ignoring errors, you can run iasl in terminal or use some frontend like iaslMe. Warnings should not cause any problem. -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 3, 2012 Author Share Posted August 3, 2012 Why would you want to do that? It just bothers me thats all not an issue. thanks for your help. I will let you how it goes. Thanks again. ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
pmdsp Posted August 3, 2012 Author Share Posted August 3, 2012 wooo0000 I cannot believe sleep finally works on my system.. Cassio Thank you so much you are a star *. Here is what i did to get the system up and running smoothly with HDMI A/V with Sleep. Updated my BIOS to 2.20 Extracted RAW DSDT and Applied "H67M ITX HT", "ALC892" patches compiled and fixed errors. Thanks to Cassio.. To get HDMI working below codes should be added. HDMI Audio codes. Device (HDEF) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } Method (_DSM, 4, NotSerialized) { Store (Package (0x06) { "hda-gfx", Buffer (0x0A) { "onboard-2" }, "layout-id", Buffer (0x04) { 0x88, 0x01, 0x00, 0x00 }, "PinConfigurations", Buffer (Zero) {} }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } HDMI Video codes Search for GFX0 and replace it with IGPU (this edit is must, all GFX0 in DSDT should be replaced with IGPU) Device (IGPU) { Name (_ADR, 0x00020000) Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "device-id", Buffer (0x04) { 0x26, 0x01, 0x00, 0x00 }, "AAPL,snb-platform-id", Buffer (0x04) { 0x10, 0x00, 0x03, 0x00 }, "model", Buffer (0x18) { "Intel HD Graphics 3000" }, "hda-gfx", Buffer (0x0A) { "onboard-2" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Last and important step. To get sleep working make sure you delete. \_SB.PCI0.LPCB.SIOW (Arg0) DSDT.aml.zip ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 3, 2012 Share Posted August 3, 2012 So what code stays in HDEF after all? To which BIOS version did you update? Please try the attached patch, if it's fine I will submit it to database. H67M ITX.txt.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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 4, 2012 Author Share Posted August 4, 2012 So what code stays in HDEF after all? I changed all the HDEF codes after applying "H67M ITX/HT" and "ALC892" patches. (These audio codes does not work without Graphic edits) To which BIOS version did you update? I updated the BIOS to latest Version 2.20. http://www.asrock.com/mb/Intel/H67M-ITXHT/?cat=Download&o=BIOS Please try the attached patch, if it's fine I will submit it to database. I am really impressed this one patch did everything. . Did a fresh install, extracted a RAW DSDT and patched it with the new patch and bamm everything works. HDMI Video, Audio and Sleep. had to install Audio kext from multishit. Screenshots of Graphics and Audio. This is not something really important. I got 3 errors after compiling the DSDT. The third error was an easy fix. Name (_HID, "ABCDEFGH") Changed "ABCDEFGH" to decimals Name (_HID, "11259375") The other 2 errors got fixed after hitting "Fix errors". The only small issue after updating to new BIOS Version 2.20 is, i have to install patched 10.7.4 "IntelCPUPowermanagement.kext" multishit. But its ok coz my geekbench score has gone up from 8400 to 8975 with SSDT drop. The SpeedStep works flawless. The above method applies to Mobo "H67 ITX". ("\_SB.PCI0.SBRG.SIOW (Arg0)" must be removed for sleep to work) I also did changes to wifi cades. My WiFi card "Atheros 9285" works OTB with these edits!. Let me know if you need details. Again thank you for all the help. ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 4, 2012 Share Posted August 4, 2012 About AICPM you can apply this patch to original kext http://Olarila.com/forum/viewtopic.php?f=9&t=1003 Didn't the patch remove "\_SB.PCI0.SBRG.SIOW (Arg0)"? Is the wifi on-board or you installed it? -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 4, 2012 Author Share Posted August 4, 2012 (edited) Thanks ill try the AICPM patch. Didn't the patch remove "\_SB.PCI0.SBRG.SIOW (Arg0)"? Yes, it did remove the code. I think you got confused with my comment. The above method applies to Mobo "H67 ITX". ("\_SB.PCI0.SBRG.SIOW (Arg0)" must be removed for sleep to work) I am talking about the Motherboard AsRock H67M ITX (without WiFi). My board is AsRock H67M ITX/HT (with WiFi ) You have both motherboards patch in the database. You can apple those changes to the H67M ITX patch too. Is the wifi on-board or you installed it? The motherboard H67M ITX/HT cames with the wifi card AzureWave ModelNo : RTL8191SE which didn't work on OSX and there are no kext available as well. I replaced that card with "Atheros 9285" and got it working with the help of this thread. http://www.projectosx.com/forum/index.php?showtopic=1416 There is a patch available for "Atheros 9285" card in your database and it doesn't work. Im wondering if you need the codes i have used? Thanks. Edited August 4, 2012 by Guest ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 4, 2012 Share Posted August 4, 2012 You need to edit the 9285 patch. Does device ARPT already exist in original DSDT or you added it? -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 4, 2012 Author Share Posted August 4, 2012 You need to edit the 9285 patch. Does device ARPT already exist in original DSDT or you added it? I added it. Using IOReg i found out that RP05 was my wifi port and i added ARPT codes on it. ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 4, 2012 Share Posted August 4, 2012 In the file you attached it's inside PEX4. The patch should be like this to work in your DSDT (or adjust the address) into device name_adr 0x001C0004 insert begin Device (ARPT)\n {\n Name (_ADR, 0x00)\n Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x0C)\n {\n "AAPL,slot-name", \n Buffer (0x08)\n {\n "AirPort"\n }, \n "device-id", \n Unicode ("*"), \n "device_type", \n Buffer (0x08)\n {\n "AirPort"\n }, \n "model", \n Buffer (0x34)\n {\n "Atheros 9285 8802.11 b/g/n Wireless Network Adapter"\n }, \n "subsystem-id", \n Buffer (0x04)\n {\n 0x8F, 0x00, 0x00, 0x00\n }, \n "subsystem-vendor-id", \n Buffer (0x04)\n {\n 0x6B, 0x10, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n } end -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 5, 2012 Author Share Posted August 5, 2012 In the file you attached it's inside PEX4. The patch should be like this to work in your DSDT (or adjust the address) Yes you are right but, there is no more PEX4 after updating the BIOS to Version 2.20. Latest RAW DSDT has wifi on RP05. RAW DSDT attached. RAW DSDT.dsl.zip ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 5, 2012 Share Posted August 5, 2012 Ok, address is the same (0x001C0004) so the patch in previous post should work. I think I won't add it in the full patch since it's not the default wifi. -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 Link to comment Share on other sites More sharing options...
pmdsp Posted August 6, 2012 Author Share Posted August 6, 2012 Thanks, I will try that patch and let you know how it goes. I was talking about changing the patch you guys have in database. This doesn't work. ASRock H67M ITX HT, i5 2500K 8GB Ram GB Score - 9815 Link to comment Share on other sites More sharing options...
Cassio Posted August 6, 2012 Share Posted August 6, 2012 It works if you change the address, it's not the same for all boards, so we can't have a generic patch that will work for all. -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 Link to comment Share on other sites More sharing options...
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