Demonbane Posted August 21, 2014 Share Posted August 21, 2014 Hi all, first of all, my specs: Acer V5-573g, i5-4200U + Intel 8 Series. i'm using Clover+ KernelPM(XCPM). at first i got the shutdown issue, so i applied the patch below to fix it: Before _PTS: OperationRegion (PMRS, SystemIO, 0x1830, One) Field (PMRS, ByteAcc, NoLock, Preserve) { , 4, SLPE, 1 } In _PTS: then the laptop can shutdown/restart successfully in most cases. but after several days, i found that the laptop can't shutdown/restart after long time running when i set the "energy saver": display never turns off(and also never sleep), then after several hours, if i click the shutdown button, the laptop can't shut down.(normally it can) what's stranger is that when i click the restart button, but the laptop shut down actually(but it seems to be not really same as the normal shutdown, it takes a little bit more time)... and if the laptop runs for a several hours and go to sleep automatically, then it can't be woke up from the sleep state, yeah sleep to death... there's no such kind of log information about "CPU halted" when the computer can't be shut down. I would really appreciate if anyone has some ideas and advices of the problems and tell me what i should do! Thanks in advance! Link to comment Share on other sites More sharing options...
jamiethemorris Posted August 21, 2014 Share Posted August 21, 2014 Try removing the dsdt patch and enabling shutdownfix, halt enabler, and slpsmiafterwake in clover. If that doesn't help, try messing with the resetvalue and resetaddress to fix shutdown/restart and USB injection + clock id to fix sleep. Link to comment Share on other sites More sharing options...
Demonbane Posted August 21, 2014 Author Share Posted August 21, 2014 Try removing the dsdt patch and enabling shutdownfix, halt enabler, and slpsmiafterwake in clover. If that doesn't help, try messing with the resetvalue and resetaddress to fix shutdown/restart and USB injection + clock id to fix sleep. using the shutdownfix in clover doesn't work for me, i've already tried before. what do you mean of the "messing with the resetvalue and resetaddress"? you mean injecting the USB id in the dsdt? i also tried that, or using GenericXHCI, the shutdown problem still remains Link to comment Share on other sites More sharing options...
jamiethemorris Posted August 22, 2014 Share Posted August 22, 2014 This is what I'm referring to. http://clover-wiki.zetam.org/Configuration/ACPI#ResetAddress-and-ResetValue Link to comment Share on other sites More sharing options...
Demonbane Posted August 26, 2014 Author Share Posted August 26, 2014 This is what I'm referring to. http://clover-wiki.zetam.org/Configuration/ACPI#ResetAddress-and-ResetValue tried several times, but it doesn't work for me. and i found that there's no such kind of log information about "CPU halted" when the computer can't be shut down. Link to comment Share on other sites More sharing options...
jamiethemorris Posted August 28, 2014 Share Posted August 28, 2014 The pjalm general MaciASL repo has 3 different shutdown fixes - ASUS, Gigabyte, and Intel. Rehabman's has 2 different ones made for laptops. Perhaps one of those will work. The one you are using looks like the Gigabyte Shutdown fix, although it looks incomplete - there are 3 parts (perhaps you do have the entire patch but just didn't post the whole thing): # Maintained by: PJALM (help@pjalm.com) for: http://pjalm.info/repos/general/ # Patch Name : Gigabyte Shutdown Fix # Gigabyte Shutdown Fix 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 (Zero, SLPE)\n Sleep (0x10)\n %2 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 (Zero, SLPE)\n Sleep (0x10)\n %2 end; into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert begin OperationRegion (PMRS, SystemIO, 0x0430, One)\n Field (PMRS, ByteAcc, NoLock, Preserve)\n {\n , 4, \n SLPE, 1\n } end; Link to comment Share on other sites More sharing options...
Demonbane Posted August 28, 2014 Author Share Posted August 28, 2014 yeah exactly, but my DSDT has no \_PTS Method, therefore the second part of this patch is not matched Link to comment Share on other sites More sharing options...
jamiethemorris Posted August 30, 2014 Share Posted August 30, 2014 yeah exactly, but my DSDT has no \_PTS Method, therefore the second part of this patch is not matched Oh I see. I wonder if you could use the \PTS method from a Gigabyte DSDT? Also both of Rehabman's patches don't have \_PTS, they only use _PTS so they might work, especially since they're made for notebooks. Link to comment Share on other sites More sharing options...
Recommended Posts