pet1 Posted October 26, 2011 Share Posted October 26, 2011 Put ; after each patch that will be followed by another one. There won't be a ; only after the last patch in the file. Example: GA G31M-S2L Hi and thanks for the reply. I tried patching and everything seems to work except when I wake the computer from sleep is restarts. Any ideas? Link to comment Share on other sites More sharing options...
oldnapalm Posted October 26, 2011 Author Share Posted October 26, 2011 Which OS version? Did you apply this patch? Try selecting the "Start up automatically after power failure" checkbox on Energy Saver. Link to comment Share on other sites More sharing options...
pet1 Posted October 26, 2011 Share Posted October 26, 2011 I'm using 10.6.8. What patch is that exactly? Is it part of the the collection with dsdt editor? Link to comment Share on other sites More sharing options...
oldnapalm Posted October 26, 2011 Author Share Posted October 26, 2011 This part If (LEqual (Arg0, 0x05)) Store (One, \_SB.PCI0.LPCB.AG3E) } It's included in the patch on post #875. Link to comment Share on other sites More sharing options...
Nomad_Grabitel Posted October 26, 2011 Share Posted October 26, 2011 It is not correct. On GIGABYTE we just put this under the _PTS for "hardware" selection of "Start up automatically after power failure": Store (Zero, \_SB.PCI0.LPCB.AG3E) Link to comment Share on other sites More sharing options...
oldnapalm Posted October 26, 2011 Author Share Posted October 26, 2011 That's what the comments say Return to S5 after a power failureMimic "Start up automatically after power failure" checkbox on Energy Saver (Preferences). I'm not sure it can be related to his problem, just asked if he tried it when I wake the computer from sleep is restarts Link to comment Share on other sites More sharing options...
pet1 Posted October 26, 2011 Share Posted October 26, 2011 That's what the comments say I'm not sure it can be related to his problem, just asked if he tried it I'm not exactly sure how to make this edit. How would I go about doing this using dsdt editor? Link to comment Share on other sites More sharing options...
oldnapalm Posted October 26, 2011 Author Share Posted October 26, 2011 Did you apply the patch in post #875 or the individual patches? I suppose you are talking about the mobo in your signature. If it's correct, just apply the patch in post #875 to your original DSDT. Link to comment Share on other sites More sharing options...
pet1 Posted October 26, 2011 Share Posted October 26, 2011 Did you apply the patch in post #875 or the individual patches? I suppose you are talking about the mobo in your signature. If it's correct, just apply the patch in post #875 to your original DSDT. It works. But I wanted to know for the future so I can manually edit and create new dsdt's from scratch if needed. Link to comment Share on other sites More sharing options...
oldnapalm Posted October 26, 2011 Author Share Posted October 26, 2011 It's these parts into device name_adr 0x001F0000 insert begin OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)\n Field (LPC0, ByteAcc, NoLock, Preserve)\n {\n AG3E, 1\n } end into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched begin %1 Store (One, \\_SB.PCI0.PX40.AG3E)\n Store (Zero, SLPE)\n Sleep (0x10)\n %2\n Else\n {\n Store (Zero, \\_SB.PCI0.PX40.AG3E)\n } end It's like Shutdown Gigabyte but adds the AG3E part. Link to comment Share on other sites More sharing options...
LatinMcG Posted October 26, 2011 Share Posted October 26, 2011 I'm using 10.6.8. What patch is that exactly? Is it part of the the collection with dsdt editor? thats the after G3 (soft off) return to power = to turn off u have to add it. It is not correct. On GIGABYTE we just put this under the _PTS for "hardware" selection of "Start up automatically after power failure": Store (Zero, \_SB.PCI0.LPCB.AG3E) and add the AG3E to LPC scope Link to comment Share on other sites More sharing options...
Flashe Posted October 27, 2011 Share Posted October 27, 2011 Hi, I have a laptop HP DV7,i would like to know the patches possible apply for this config of laptop. Oct 26 17:20:26 localhost kernel[0]: PMAP: PCID enabled Oct 26 17:20:26 localhost kernel[0]: Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 Oct 26 17:20:26 localhost kernel[0]: vm_page_bootstrap: 1506906 free pages and 57766 wired pages Oct 26 17:20:26 localhost kernel[0]: kext submap [0xffffff7f8072e000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800072e000] Oct 26 17:20:26 localhost kernel[0]: zone leak detection enabled Oct 26 17:20:26 localhost kernel[0]: standard timeslicing quantum is 10000 us Oct 26 17:20:26 localhost kernel[0]: mig_table_max_displ = 72 Oct 26 17:20:26 localhost kernel[0]: TSC Deadline Timer supported and enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=1 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=2 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=4 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=5 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=7 LocalApicId=6 Enabled Oct 26 17:20:26 localhost kernel[0]: AppleACPICPU: ProcessorId=8 LocalApicId=7 Enabled Oct 26 17:20:26 localhost kernel[0]: calling mpo_policy_init for Sandbox Oct 26 17:20:26 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox) Oct 26 17:20:26 localhost kernel[0]: calling mpo_policy_init for Quarantine Oct 26 17:20:26 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine) Oct 26 17:20:26 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet Oct 26 17:20:26 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet) Oct 26 17:20:26 localhost kernel[0]: Copyright © 1982, 1986, 1989, 1991, 1993 Oct 26 17:20:26 localhost kernel[0]: The Regents of the University of California. All rights reserved. Oct 26 17:20:26 localhost kernel[0]: MAC Framework successfully initialized Oct 26 17:20:26 localhost kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers Oct 26 17:20:26 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87 Oct 26 17:20:26 localhost kernel[0]: ACPI: System State [s0 S3 S4 S5] (S3) Oct 26 17:20:26 localhost kernel[0]: PFM64 0xf10000000, 0xf0000000 Oct 26 17:20:26 localhost kernel[0]: [ PCI configuration begin ] Oct 26 17:20:26 localhost kernel[0]: console relocated to 0xf20000000 Oct 26 17:20:26 localhost kernel[0]: PCI configuration changed (bridge=15 device=3 cardbus=0) Oct 26 17:20:26 localhost kernel[0]: [ PCI configuration end, bridges 6 devices 14 ] Oct 26 17:20:26 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 6689 Oct 26 17:20:26 localhost kernel[0]: AppleIntelCPUPowerManagement: (built 13:08:12 Jun 18 2011) initialization complete Oct 26 17:20:26 localhost kernel[0]: RTC: Only single RAM bank (128 bytes) Oct 26 17:20:26 localhost kernel[0]: FakeSMC: Opensource SMC device emulator by netkas © 2009 Oct 26 17:20:26 localhost kernel[0]: FakeSMC: Monitoring plugins support by mozodojo © 2010 Oct 26 17:20:26 localhost kernel[0]: FakeSMC: Original idea of plugins and code sample by usr-sse2 © 2010 Oct 26 17:20:26 localhost kernel[0]: mbinit: done [64 MB total pool size, (42/21) split] Oct 26 17:20:26 localhost kernel[0]: Pthread support ABORTS when sync kernel primitives misused Oct 26 17:20:26 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start Oct 26 17:20:26 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start Oct 26 17:20:26 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded Oct 26 17:20:26 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded Oct 26 17:20:26 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready Oct 26 17:20:26 localhost kernel[0]: [:init] RealtekRTL81xxx.kext v0.0.67 ©2010 by Lnx2Mac (lnx2mac@gmail.com) Oct 26 17:20:26 localhost kernel[0]: rooting via boot-uuid from /chosen: 41E61944-C773-348C-A0E3-2F520CB7BF09 Oct 26 17:20:26 localhost kernel[0]: From path: "uuid", Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media Oct 26 17:20:26 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@1F,2/AppleIntelPchSeriesAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/OCZ-VERTEX2 Media/IOGUIDPartitionScheme/Mac OS X Lion 10.7@2 Oct 26 17:20:26 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2 Oct 26 17:20:26 localhost kernel[0]: Kernel is LP64 Oct 26 17:20:26 localhost kernel[0]: RealtekRTL81xxx.kext: NIC identified as RTL8168E/8111E (mcfg=23) Oct 26 17:20:26 localhost kernel[0]: [iOBluetoothHCIController::setConfigState] calling registerService Oct 26 17:20:29 MacBook-Pro-de-Flashe kernel[0]: VoodooPS2SynapticsTouchPad loaded Oct 26 17:20:29 MacBook-Pro-de-Flashe kernel[0]: No interval found for . Using 8000000 Oct 26 17:20:29 MacBook-Pro-de-Flashe kernel[0]: VoodooPS2Trackpad: Synaptics TouchPad v7.5 Oct 26 17:20:31 MacBook-Pro-de-Flashe kernel[0]: macx_swapon SUCCESS Oct 26 17:20:31 MacBook-Pro-de-Flashe kernel[0]: Waiting for DSMOS... Oct 26 17:20:32 MacBook-Pro-de-Flashe kernel[0]: Transcript Offline - Buffer Pool Allocate [181000] failed Oct 26 17:20:32 MacBook-Pro-de-Flashe kernel[0]: Sound assertion ""ERROR: EFI ROM did not publish 'hda-gfx' associative property!\n"" failed in AppleHDACodecGeneric at line 350 goto ExitError Oct 26 17:20:33: --- last message repeated 2 times --- Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: Sound assertion "0 != result" failed in AppleHDADriver at line 1018 goto Exit Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: Sound assertion "!me->fKextResourceLoaded" failed in AppleHDADriver at line 993 goto Exit Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: IntelThermal: CPU family 0x6, model 0x2a, stepping 0x7 Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: IntelThermal: Found 16 cores 0 threads Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: IntelThermal: CPU Tjmax 0 Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: DSMOS has arrived Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: VoodooBattery 1.3 © 2008-10 Superhai, All Rights Reserved. May 5 2010 09:52:50 64 bit Oct 26 17:20:33 MacBook-Pro-de-Flashe kernel[0]: ** Device in slot: SLOT--1 ** Oct 26 17:20:37: --- last message repeated 1 time --- Oct 26 17:20:37 MacBook-Pro-de-Flashe kernel[0]: com_lnx2mac_RealtekRTL81xx: Ethernet address 68:b5:99:e2:f5:e6 Oct 26 17:20:43 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:43 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:43 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:43 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:43 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:43 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:44 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:44 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:44 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:44 MacBook-Pro-de-Flashe kernel[0]: ATY,Display_A: Not usable Oct 26 17:20:44 MacBook-Pro-de-Flashe kernel[0]: ATY,Display_B: Not usable Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:46 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:48 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:48 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:48 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:20:48 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: started Oct 26 17:20:48 MacBook-Pro-de-Flashe kernel[0]: PTKawainVi: No nVidia graphics adapters found Oct 26 17:20:48 MacBook-Pro-de-Flashe kernel[0]: Error: Oct 26 17:21:27 MacBook-Pro-de-Flashe kernel[0]: [sendHCIRequestFormatted] ### ERROR: [0x0402] (HCI Inquiry Cancel) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed)) Oct 26 17:21:57: --- last message repeated 3 times --- Oct 26 17:22:06 MacBook-Pro-de-Flashe kernel[0]: [sendHCIRequestFormatted] ### ERROR: [0x0402] (HCI Inquiry Cancel) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed)) Oct 26 17:22:36: --- last message repeated 3 times --- Oct 26 17:22:45 MacBook-Pro-de-Flashe kernel[0]: [sendHCIRequestFormatted] ### ERROR: [0x0402] (HCI Inquiry Cancel) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed)) Oct 26 17:23:24: --- last message repeated 3 times --- Oct 26 17:23:24 MacBook-Pro-de-Flashe kernel[0]: [sendHCIRequestFormatted] ### ERROR: [0x0402] (HCI Inquiry Cancel) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed)) Oct 26 17:23:54: --- last message repeated 3 times --- Oct 26 17:24:02 MacBook-Pro-de-Flashe kernel[0]: [sendHCIRequestFormatted] ### ERROR: [0x0402] (HCI Inquiry Cancel) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed)) Oct 26 17:24:32: --- last message repeated 3 times --- Oct 26 17:24:41 MacBook-Pro-de-Flashe kernel[0]: [sendHCIRequestFormatted] ### ERROR: [0x0402] (HCI Inquiry Cancel) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed)) dsdt.dsl.zip System_Info.zip Report.txt.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted October 27, 2011 Author Share Posted October 27, 2011 I have a laptop HP DV7,i would like to know the patches possible apply for this config of laptop. Please read this thread from post #867. Link to comment Share on other sites More sharing options...
Flashe Posted October 27, 2011 Share Posted October 27, 2011 Please read this thread from post #867. Hi oldnapalm, I know my hardware but not sure patche exist for this laptop. I have lot of problem. Link to comment Share on other sites More sharing options...
oldnapalm Posted October 27, 2011 Author Share Posted October 27, 2011 Check patches for other laptops with the same chipset, here are some. There are "separated" patches here, some organized by chipset. Link to comment Share on other sites More sharing options...
Babiloe Posted November 22, 2011 Share Posted November 22, 2011 Dear Mald0n and oldnapalm. I have U36SD i5 2410 Intel Graphics and Nvidia Optimus GT520 it has 2 EHCI device id, but i can't find the SMBUS address and USB controller pci device id for DSM method It can't go sleep, but i can patch the RTC, and other basic DSDT patch using Regex search and replace for i sandy bridge notebook. [somehow the default search and replace regex for smbus creating more errors]. I tried mald0n regex on Asus G73SW to working at Asus U36SD, still can't go sleep... into_all all code_regex _T_0 replaceall_matched begin T_0 end; into_all all code_regex _T_1 replaceall_matched begin T_1 end; into_all all code_regex _T_2 replaceall_matched begin T_2 end; into_all all code_regex _T_3 replaceall_matched begin T_3 end; into_all all code_regex _T_4 replaceall_matched begin T_4 end; into_all all code_regex _T_5 replaceall_matched begin T_5 end; into_all all code_regex _T_6 replaceall_matched begin T_6 end; into method label _DSM parent_label \_SB.PCI0.PEG0.GFX0 code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched; into method label _DSM parent_label \_SB.PCI0.PEG0.GFX0 insert begin Return (Package (0x02)\n {\n Zero, \n Zero\n }) end; into method label DTGP remove_entry; into definitionblock code_regex . insert begin Method (DTGP, 5, NotSerialized)\n {\n If (LEqual (Arg0, Buffer (0x10)\n {\n /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n }))\n {\n If (LEqual (Arg1, One))\n {\n If (LEqual (Arg2, Zero))\n {\n Store (Buffer (One)\n {\n 0x03\n }, Arg4)\n Return (One)\n }\n If (LEqual (Arg2, One))\n {\n Return (One)\n }\n }\n }\n Store (Buffer (One)\n {\n 0x00\n }, Arg4)\n Return (Zero)\n } end; into method label _DSM parent_adr 0x001D0000 remove_entry; into device name_adr 0x001D0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package ()\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n }, \n "built-in", \n Buffer (One)\n {\n 0x00\n }, \n "AAPL,clock-id", \n Buffer (One)\n {\n 0x01\n }, \n "device_type", \n Buffer (0x05)\n {\n "EHCI"\n }, \n "AAPL,current-available", \n 0x0834, \n "AAPL,current-extra", \n 0x0898, \n "AAPL,current-extra-in-sleep", \n 0x0640, \n "AAPL,device-internal",\n 0x02,\n "AAPL,max-port-current-in-sleep",\n 0x834, \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0000 remove_entry; into device name_adr 0x001A0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package ()\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n }, \n "built-in", \n Buffer (One)\n {\n 0x00\n }, \n "AAPL,clock-id", \n Buffer (One)\n {\n 0x02\n }, \n "device_type", \n Buffer (0x05)\n {\n "EHCI"\n }, \n "AAPL,current-available", \n 0x0834, \n "AAPL,current-extra", \n 0x0898, \n "AAPL,current-extra-in-sleep", \n 0x0640, \n "AAPL,device-internal",\n 0x02,\n "AAPL,max-port-current-in-sleep",\n 0x834, \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into device name_hid PNP0303 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "AAPL,has-embedded-fn-keys", \n Buffer (0x04)\n {\n 0x01, 0x00, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n end; into method label GLCS code_regex Return\s\(Zero\) remove_matched; into method label GLCS insert begin Return (Zero) end; into device label HDEF 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; into method label _STA parent_hid PNP0103 remove_entry; into device name_hid PNP0103 insert begin Method (_STA, 0, NotSerialized)\n {\n Return (0x0F)\n } end; into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0103 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} removeall_matched; into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched begin Name (%1, ResourceTemplate ()\n {\n IRQNoFlags ()\n {0}\n IRQNoFlags ()\n {8}\n IRQNoFlags ()\n {11}\n IRQNoFlags ()\n {15}\n %2 }) end; into method label _DSM parent_adr 0x001F0000 remove_entry; into device name_adr 0x001F0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x49, 0x1C, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into_all all code_regex (Acquire\s\(MUT0,\s0x)....\) replace_matched begin %1FFFF) end; into_all all code_regex (Acquire\s\(MUTE,\s0x)....\) replace_matched begin %1FFFF) end; into scope label \_SB insert begin Device (PNLF)\n {\n Name (_HID, EisaId ("APP0002"))\n Name (_CID, "backlight")\n Name (_UID, 0x0A)\n Name (_STA, 0x0B)\n } end; into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end; into method label _PTS code_regex_not If\s\(LEqual\s\(Arg0,\s0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched begin If (LEqual (Arg0, 0x05)) {}\n Else\n {\n %1 } end; into method label SMAT code_regex Return\s\(Zero\) remove_matched; into method label SMAT insert begin Return (Zero) end; into method label _DSM parent_adr 0x001D0001 remove_entry; into device name_adr 0x001D0001 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001D0002 remove_entry; into device name_adr 0x001D0002 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2c, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001D0003 remove_entry; into device name_adr 0x001D0003 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001D0004 remove_entry; into device name_adr 0x001D0004 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2c, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0001 remove_entry; into device name_adr 0x001A0001 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0002 remove_entry; into device name_adr 0x001A0002 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2c, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0003 remove_entry; into device name_adr 0x001A0003 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001F0003 remove_entry; into device name_adr 0x001F0003 insert begin Device (BUS0)\n {\n Name (_CID, "smbus")\n Name (_ADR, Zero)\n Device (DVL0)\n {\n Name (_ADR, 0x57)\n Name (_CID, "diagsvault")\n Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "address", \n 0x57\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n }\n } end; into method label _INI parent_label _SB.PCI0 insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label \_SB.PCI0 insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label _SB insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label \_SB insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label PCI0 insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end my_dsl_patch.zip DSDT_IOREG_u36SD.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted November 22, 2011 Author Share Posted November 22, 2011 Did you patch AICPUPM with SpeedStepper and remove NullCPUPM? http://www.insanelymac.com/forum/index.php?showtopic=258611 Link to comment Share on other sites More sharing options...
Babiloe Posted November 23, 2011 Share Posted November 23, 2011 i have tried remove nullcpupm kext, but i had not patch AICPUPM already. I will take a look at the link. Link to comment Share on other sites More sharing options...
Babiloe Posted November 24, 2011 Share Posted November 24, 2011 Still not worked and sleep, oldnapalm. with Speedsteeper patch Can you suggest the changing for dsdt? i have 2 EHcI 1c26 and 1c2d it doesnt have usb controller 1c27 and com.apple.driver.AppleSMBusController not loaded on kextstat. my trial regex based device id that creating error. need manual patch like above into_all all code_regex _T_0 replaceall_matched begin T_0 end; into_all all code_regex _T_1 replaceall_matched begin T_1 end; into_all all code_regex _T_2 replaceall_matched begin T_2 end; into_all all code_regex _T_3 replaceall_matched begin T_3 end; into_all all code_regex _T_4 replaceall_matched begin T_4 end; into_all all code_regex _T_5 replaceall_matched begin T_5 end; into_all all code_regex _T_6 replaceall_matched begin T_6 end; into method label _DSM parent_label \_SB.PCI0.PEG0.GFX0 code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\} \s*\n?\s*\) remove_matched; into method label _DSM parent_label \_SB.PCI0.PEG0.GFX0 insert begin Return (Package (0x02)\n {\n Zero, \n Zero\n }) end; into method label DTGP remove_entry; into definitionblock code_regex . insert begin Method (DTGP, 5, NotSerialized)\n {\n If (LEqual (Arg0, Buffer (0x10)\n {\n /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n }))\n {\n If (LEqual (Arg1, One))\n {\n If (LEqual (Arg2, Zero))\n {\n Store (Buffer (One)\n {\n 0x03\n }, Arg4)\n Return (One)\n }\n If (LEqual (Arg2, One))\n {\n Return (One)\n }\n }\n }\n Store (Buffer (One)\n {\n 0x00\n }, Arg4)\n Return (Zero)\n } end; into method label _DSM parent_adr 0x001D0000 remove_entry; into device name_adr 0x001D0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package ()\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n }, \n "built-in", \n Buffer (One)\n {\n 0x00\n }, \n "AAPL,clock-id", \n Buffer (One)\n {\n 0x01\n }, \n "device_type", \n Buffer (0x05)\n {\n "EHCI"\n }, \n "AAPL,current-available", \n 0x0834, \n "AAPL,current-extra", \n 0x0898, \n "AAPL,current-extra-in-sleep", \n 0x0640, \n "AAPL,device-internal",\n 0x02,\n "AAPL,max-port-current-in-sleep",\n 0x834, \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0000 remove_entry; into device name_adr 0x001A0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package ()\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2d, 0x1c, 0x00, 0x00\n // 0x26, 0x1c, 0x00, 0x00\n }, \n "built-in", \n Buffer (One)\n {\n 0x00\n }, \n "AAPL,clock-id", \n Buffer (One)\n {\n 0x02\n }, \n "device_type", \n Buffer (0x05)\n {\n "EHCI"\n }, \n "AAPL,current-available", \n 0x0834, \n "AAPL,current-extra", \n 0x0898, \n "AAPL,current-extra-in-sleep", \n 0x0640, \n "AAPL,device-internal",\n 0x02,\n "AAPL,max-port-current-in-sleep",\n 0x834, \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into device name_hid PNP0303 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "AAPL,has-embedded-fn-keys", \n Buffer (0x04)\n {\n 0x01, 0x00, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n end; into method label GLCS code_regex Return\s\(Zero\) remove_matched; into method label GLCS insert begin Return (Zero) end; into device label HDEF 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; into method label _STA parent_hid PNP0103 remove_entry; into device name_hid PNP0103 insert begin Method (_STA, 0, NotSerialized)\n {\n Return (0x0F)\n } end; into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0103 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} removeall_matched; into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched begin Name (%1, ResourceTemplate ()\n {\n IRQNoFlags ()\n {0}\n IRQNoFlags ()\n {8}\n IRQNoFlags ()\n {11}\n IRQNoFlags ()\n {15}\n %2 }) end; into method label _DSM parent_adr 0x001F0000 remove_entry; into device name_adr 0x001F0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x49, 0x1C, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into_all all code_regex (Acquire\s\(MUT0,\s0x)....\) replace_matched begin %1FFFF) end; into_all all code_regex (Acquire\s\(MUTE,\s0x)....\) replace_matched begin %1FFFF) end; into scope label \_SB insert begin Device (PNLF)\n {\n Name (_HID, EisaId ("APP0002"))\n Name (_CID, "backlight")\n Name (_UID, 0x0A)\n Name (_STA, 0x0B)\n } end; into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end; into method label _PTS code_regex_not If\s\(LEqual\s\(Arg0,\s0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched begin If (LEqual (Arg0, 0x05)) {}\n Else\n {\n %1 } end; into method label SMAT code_regex Return\s\(Zero\) remove_matched; into method label SMAT insert begin Return (Zero) end; into method label _DSM parent_adr 0x001D0001 remove_entry; into device name_adr 0x001D0001 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n // 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001D0002 remove_entry; into device name_adr 0x001D0002 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n // 0x2c, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001D0003 remove_entry; into device name_adr 0x001D0003 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n // 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001D0004 remove_entry; into device name_adr 0x001D0004 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x26, 0x1c, 0x00, 0x00\n // 0x2c, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0001 remove_entry; into device name_adr 0x001A0001 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2d, 0x1c, 0x00, 0x00\n // 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0002 remove_entry; into device name_adr 0x001A0002 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2d, 0x1c, 0x00, 0x00\n //0x2c, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0003 remove_entry; into device name_adr 0x001A0003 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x2d, 0x1c, 0x00, 0x00\n // 0x27, 0x1c, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001F0003 remove_entry; into device name_adr 0x001F0003 insert begin Device (BUS0)\n {\n Name (_CID, "smbus")\n Name (_ADR, Zero)\n Device (DVL0)\n {\n Name (_ADR, 0x57)\n Name (_CID, "diagsvault")\n Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "address", \n 0x57\n // it not loaded com.apple.driver.AppleSMBusController on kexstat }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n }\n } end; into method label _INI parent_label _SB.PCI0 insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label \_SB.PCI0 insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label _SB insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label \_SB insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end; into method label _INI parent_label PCI0 insert begin If (_OSI ("Darwin"))\n {\n Store (0x2710, OSYS)\n } end kextstat.txt PCIlist.txt Link to comment Share on other sites More sharing options...
oldnapalm Posted November 24, 2011 Author Share Posted November 24, 2011 Did you patch AICPUPM and remove NullCPUPM? Please attach your kernel log. Link to comment Share on other sites More sharing options...
Babiloe Posted November 24, 2011 Share Posted November 24, 2011 Did you patch AICPUPM and remove NullCPUPM? Please attach your kernel log. yes. 166 version. and nullcpupm removed from extra, and already fixed permission. dmesg.txt Link to comment Share on other sites More sharing options...
oldnapalm Posted November 24, 2011 Author Share Posted November 24, 2011 Check your kernel log NullCPUPowerManagement::init: properties=0xbfd6d80 NullCPUPowerManagement::start ACPI_SMC_PlatformPlugin::startForReal - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out You should have something like this AppleIntelCPUPowerManagement: (built 21:08:10 Aug 9 2011) initialization complete AppleIntelCPUPowerManagementClient: ready Link to comment Share on other sites More sharing options...
Babiloe Posted November 25, 2011 Share Posted November 25, 2011 Check your kernel log NullCPUPowerManagement::init: properties=0xbfd6d80 NullCPUPowerManagement::start ACPI_SMC_PlatformPlugin::startForReal - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out You should have something like this AppleIntelCPUPowerManagement: (built 21:08:10 Aug 9 2011) initialization complete AppleIntelCPUPowerManagementClient: ready I have delete all NullCPUPower and fixed permission with myfix. OK i should Reinstall all. Update: Sorry, i am so stupid. I have boot thru tonymac rBoot-Le.iso using EasyBCD windows7 since latest Chameleon cannot support my 4K HDD, because i am too lazy bringing usb flashdisk for booting. Looks like rBoot-Le has hidden NullCPU and several kexts installed. SLEEP WORKS...on 10.7.0 I use this alianyn's DSDT.aml U36SD http://www.insanelymac.com/forum/index.php...&st=0 but modified on Wifi section since it has 168c,2b wifi atheros. If i use 2a on dsdt, the screen will halt blue. [maybe it need version 10.0 IO80211Family.kext or taped in like LatinMcG said] So i use 2b instead, and modify 11.0 version of 10.7.0 Lion /System/Library/Extensions/IO80211Family.kext.zip/IO80211Family.kext/Contents/PlugIns/Info.plist to add 168c,2b on device id. and run kextutility Lion to fix permission. Run patch speedsteeper Lion too. Somehow alianyn's DSDT modification is too advanced to me, because it changing some method. Well, no DSM method added. Change several warnings to no warning. Can you explaining to me? if DTGP, RTC, and several on sandy bridge notebook patches, i might understood, but changing acpi method i hardly know. dsdt_fixed_wifi2b.dsl.txt Link to comment Share on other sites More sharing options...
oldnapalm Posted November 25, 2011 Author Share Posted November 25, 2011 I see the usual patches, EHCI, UHCI, LPC, RTC, shutdown, some warning and remark fixes, and some renamed devices. See under "Notebook Core i Sandy Bridge" http://olarila.com/forum/patches.php What do you mean "changing acpi method"? Link to comment Share on other sites More sharing options...
Babiloe Posted November 27, 2011 Share Posted November 27, 2011 Yes he renamed devices and renamed method . Method like SBRG is changing, not just insert something new method, insert device id. I'll learn thru windiff. Link to comment Share on other sites More sharing options...
Recommended Posts