kylon Posted July 30, 2016 Share Posted July 30, 2016 Not working for me and i think this will not work on his pc. From what i read: I found that the gpu is controlling the fun speed. Some asus laptops have 2 fans, 1 cpu and 1 gpu, but this is not the case. The problem is that the gpu is off, so there s an error and the fun does not know what to do (stuck at 100%). This happens when the off method is called, you have to completely shutdown the pc to reset the fan. There s no method to control the fun on asus laptops, it should be in _SB.PCI0.LPCB.EC0 or _SB.PCI0.SBRG.EC0, but you can find a device named PTID (dsdt on my lap) and seems that patching this device should fix the problem. These are speculations and i don t know how to patch the device or if this is the right device to patch. 2 Link to comment Share on other sites More sharing options...
al6042 Posted July 30, 2016 Share Posted July 30, 2016 I also found these infos... The Fan-Patches for some Acer and HP Laptops contain solutions for that, but they cannot be used for your ASUS laptops. 1 Link to comment Share on other sites More sharing options...
kylon Posted July 30, 2016 Share Posted July 30, 2016 after 30+ minutes of tests and kernel panics i made a working patch it should work for his dsdt and maybe other laptops. (seems my acer laptop has the same problem when you disable the gpu) My DSDT has 2 methods in EC: TSDS AND TSES. Here i m calling TSDS because is the one called from _PS3 before calling DOFF and _OFF. **You may need to change EC to EC0, and TSDS to the method called in your DSDT/SSDT** into method label _INI parent_label _SB.PCI0.PEGR.GFX0 insert begin _OFF ()\n ^^^LPCB.EC.TSDS ()\n end; into method label _REG parent_hid PNP0C09 insert begin If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))\n {\n ^^^PEGR.GFX0._INI ()\n }\n end; # THESE SEEM NOT NEEDED ON MY DSDT, THEY DON T RUN. # SO YOU PROBABLY NEED TO CHANGE _OFF TO _INI (CANNOT TEST HERE) into method label _PTS code_regex ([\s\S]*) replace_matched begin External(\\_SB.PCI0.PEGR.GFX0._ON, MethodObj)\n If (CondRefOf(\\_SB.PCI0.PEGR.GFX0._ON)) { \\_SB.PCI0.PEGR.GFX0._ON() }\n %1 end; into method label _WAK code_regex (Return\s+\(.*) replace_matched begin External(\\_SB.PCI0.PEGR.GFX0._OFF, MethodObj)\n If (CondRefOf(\\_SB.PCI0.PEGR.GFX0._OFF)) { \\_SB.PCI0.PEGR.GFX0._OFF() }\n %1 end; 2 Link to comment Share on other sites More sharing options...
al6042 Posted July 30, 2016 Share Posted July 30, 2016 Great work... Just added the patch the oldmans latest DSDT and renamed on .EC. entry to .EC0. @oldman20: Please try attached DSDT... DSDT-Test.aml.zip 2 Link to comment Share on other sites More sharing options...
oldman20 Posted July 30, 2016 Author Share Posted July 30, 2016 Dear @al6042, i tried it and not work, so sad! When in Clover bootloader, fan speed normal, but when boot hackintosh, after few second, sound and wind from it is increase much Link to comment Share on other sites More sharing options...
kylon Posted July 30, 2016 Share Posted July 30, 2016 that test was not patched, ie it uses the old not working version try this 1 Link to comment Share on other sites More sharing options...
al6042 Posted July 30, 2016 Share Posted July 30, 2016 Too bad... @kylon: How is it going with your DSDT? Link to comment Share on other sites More sharing options...
kylon Posted July 30, 2016 Share Posted July 30, 2016 the fan is working as expected and the gpu is not shown in sys info now it is even quiter when i run a game 1 Link to comment Share on other sites More sharing options...
al6042 Posted July 30, 2016 Share Posted July 30, 2016 Sounds great... then oldman20 should try your DSDT, shouldn't he? Link to comment Share on other sites More sharing options...
oldman20 Posted July 30, 2016 Author Share Posted July 30, 2016 the fan is working as expected and the gpu is not shown in sys info now it is even quiter when i run a game Please, how to check it, more clearly? that test was not patched, ie it uses the old not working version try this Seem it work, thanks man. Would you guide me what code you add into my DSDT? I want add it manual with others patches i'm doing Thanks you so much 1 Link to comment Share on other sites More sharing options...
kylon Posted July 30, 2016 Share Posted July 30, 2016 i attached a dsdt here no patch to check the fan speed yet but... you can hear the fan, especially if you run a game, it will spin faster. hwmonitor, your cpu should not overheat instantly on heavy usage you should also try the sleep mode to check if you need to patch the wake up EDIT: the code is here maybe you do not need to patch WAK and PTS, our DSDTs are almost identical, and my DSDT does not need that patch, you should test it. 2 Link to comment Share on other sites More sharing options...
oldman20 Posted July 30, 2016 Author Share Posted July 30, 2016 I got it,thanks you. But i dont know what mean of this **You may need to change EC to EC0, and TSDS to the method called in your DSDT/SSDT**??? More clearly, please? You have reached your quota of positive votes for the day I cant keep like your post today I still no fix sleep yet, now i will try 1 Link to comment Share on other sites More sharing options...
kylon Posted July 30, 2016 Share Posted July 30, 2016 Some patches rename EC0 to EC so you must use the correct name. TSDS is an EC0 method and you can find a call to it in the _PS3 method of your GFX0. If you have a different method name you have to change that. (Not your case) 1 Link to comment Share on other sites More sharing options...
oldman20 Posted July 30, 2016 Author Share Posted July 30, 2016 i attached a dsdt here no patch to check the fan speed yet but... you can hear the fan, especially if you run a game, it will spin faster. hwmonitor, your cpu should not overheat instantly on heavy usage you should also try the sleep mode to check if you need to patch the wake up EDIT: the code is here maybe you do not need to patch WAK and PTS, our DSDTs are almost identical, and my DSDT does not need that patch, you should test it. Hello, this is my speedstep with CPU I5 2430M, no SSDT, just DSDT and Clover config. is it will be fine? Im using terminal to check syslog | grep -i "wake reason" but nothing all! What happen? when press sleep, monitor turn off, cpu fan still running, and after 10minutes, i must press and hold power button to turn on machine again Link to comment Share on other sites More sharing options...
kylon Posted July 31, 2016 Share Posted July 31, 2016 You can check c and p states with appleintelinfo.kext https://github.com/Piker-Alpha/AppleIntelInfo You could try pwr patches from rehabman. 1 Link to comment Share on other sites More sharing options...
oldman20 Posted July 31, 2016 Author Share Posted July 31, 2016 @kylon: what's pwr patches? And how to use appleintelinfo.kext to check c & p states? I found i also got problem with shutdown! I dont know why, but seem with your patch, my laptop is silently running, include when run Window . No much noise from FAN. Thanks you so much Link to comment Share on other sites More sharing options...
kylon Posted July 31, 2016 Share Posted July 31, 2016 Pwr to fix instant wake. It may or may not work for you. Disable sip (0x67), Compile the kext with xcode sudo chown -R root:wheel kextname sudo chmod -R 755 kextname sudo kextload kextname See readme for more info. Try fix shutdown in clover. Afaik other oses are not affected by clover patches/injection. You were probably using the old dsdt and you did a reboot to windows (shutdown is required to reset the fan) 1 Link to comment Share on other sites More sharing options...
oldman20 Posted August 2, 2016 Author Share Posted August 2, 2016 Pwr to fix instant wake. It may or may not work for you. Disable sip (0x67), Compile the kext with xcode sudo chown -R root:wheel kextname sudo chmod -R 755 kextname sudo kextload kextname See readme for more info. Try fix shutdown in clover. Afaik other oses are not affected by clover patches/injection. You were probably using the old dsdt and you did a reboot to windows (shutdown is required to reset the fan) where i can find that patch?? How to disable SIP? it's necessary? Link to comment Share on other sites More sharing options...
kylon Posted August 2, 2016 Share Posted August 2, 2016 Here you go https://github.com/RehabMan/Laptop-DSDT-Patch/tree/master/usb About gpu patch, as pointed out by rehabman this is a better way to do it: (See my example code) Move the call to TSDS () from _INI to _REG and remove the call to _INI in _REG. You need to disable sip to load the kext, you can temporarily disable it in clover bootloader. Press O and go to system variables, set csr to 0x67. 1 Link to comment Share on other sites More sharing options...
oldman20 Posted August 3, 2016 Author Share Posted August 3, 2016 Press O ? where to press O? you mean open Clover Config? Link to comment Share on other sites More sharing options...
kylon Posted August 3, 2016 Share Posted August 3, 2016 No, i mean, you turn on the pc, clover will boot (unless you are using the quick boot, so you need to press a key to show clover) and there press O. Clover menu will appear 1 Link to comment Share on other sites More sharing options...
oldman20 Posted August 4, 2016 Author Share Posted August 4, 2016 # THESE SEEM NOT NEEDED ON MY DSDT, THEY DON T RUN. # SO YOU PROBABLY NEED TO CHANGE _OFF TO _INI (CANNOT TEST HERE) into method label _PTS code_regex ([\s\S]*) replace_matched begin External(\\_SB.PCI0.PEGR.GFX0._ON, MethodObj)\n If (CondRefOf(\\_SB.PCI0.PEGR.GFX0._ON)) { \\_SB.PCI0.PEGR.GFX0._ON() }\n %1 end; into method label _WAK code_regex (Return\s+\(.*) replace_matched begin External(\\_SB.PCI0.PEGR.GFX0._OFF, MethodObj)\n If (CondRefOf(\\_SB.PCI0.PEGR.GFX0._OFF)) { \\_SB.PCI0.PEGR.GFX0._OFF() }\n %1 end; Hi, these code i'm not add to patch DSDT yet, but how to know is it need or not, sir? And would you explain me what funtion of they? also, here result i got from terminal after run AppleIntelInfo.kext CPU Ratio Info: ------------------------------------ CPU Low Frequency Mode.............: 800 MHz CPU Maximum non-Turbo Frequency....: 2400 MHz CPU Maximum Turbo Frequency........: 3000 MHz IGPU Info: ------------------------------------ IGPU Current Frequency.............: 650 MHz IGPU Minimum Frequency.............: 650 MHz IGPU Maximum Non-Turbo Frequency...: 650 MHz IGPU Maximum Turbo Frequency.......: 1200 MHz IGPU Maximum limit.................: No Limit CPU P-States [ 16 25 (28) ] iGPU P-States [ (13) ] CPU C3-Cores [ 0 2 3 ] CPU C6-Cores [ 0 2 3 ] CPU C7-Cores [ 0 2 3 ] CPU P-States [ 16 20 25 (28) ] iGPU P-States [ (13) ] CPU C6-Cores [ 0 1 2 3 ] CPU C7-Cores [ 0 1 2 3 ] CPU P-States [ 16 20 24 25 (28) ] iGPU P-States [ (13) ] CPU P-States [ (8) 16 20 21 24 25 28 ] iGPU P-States [ (13) ] CPU C3-Cores [ 0 1 2 3 ] CPU P-States [ 8 16 19 20 21 24 25 (28) ] iGPU P-States [ (13) ] CPU P-States [ (8) 16 18 19 20 21 24 25 28 ] iGPU P-States [ (13) ] CPU P-States [ (8) 13 16 18 19 20 21 24 25 28 ] iGPU P-States [ (13) ] CPU P-States [ (8) 13 16 18 19 20 21 24 25 26 28 ] iGPU P-States [ (13) ] CPU P-States [ 8 13 16 18 19 20 21 24 25 26 28 (30) ] iGPU P-States [ (13) ] CPU P-States [ 8 13 14 (16) 18 19 20 21 24 25 26 28 30 ] iGPU P-States [ (13) ] CPU P-States [ (8) 13 14 15 16 18 19 20 21 24 25 26 28 30 ] iGPU P-States [ (13) ] CPU P-States [ (8) 12 13 14 15 16 18 19 20 21 24 25 26 28 30 ] iGPU P-States [ (13) ] CPU P-States [ (8) 12 13 14 15 16 17 18 19 20 21 24 25 26 28 30 ] iGPU P-States [ (13) ] CPU P-States [ 8 12 13 14 15 16 17 18 19 20 21 23 24 25 26 (28) 30 ] iGPU P-States [ (13) ] CPU P-States [ 8 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 (28) 30 ] iGPU P-States [ (13) ] CPU P-States [ 8 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 (28) 30 ] iGPU P-States [ (13) ] CPU P-States [ 8 11 12 13 14 15 (16) 17 18 19 20 21 22 23 24 25 26 27 28 30 ] iGPU P-States [ (13) ] CPU P-States [ (8) 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ] iGPU P-States [ (13) ] CPU P-States [ (8) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ] iGPU P-States [ (13) ] bash-3.2# Is it full speedstep? also i wonderwhy can't check speedstep with method using Console app with AppleIntelCPUPowerManagementInfo.kext? Forgot, i'm using Sierra. Maybe cause is AppleIntelCPUPowerManagementInfo.kext not support Sierra yet,right?? Link to comment Share on other sites More sharing options...
kylon Posted August 4, 2016 Share Posted August 4, 2016 That code is needed if your laptop does not turn on after sleep Try to close your lid and if you can t wake the pc you need this patch. (You probably need to fix that code if the fan is stuck at 100% on wake.) Speedstep seems fine. Dunno why, i use that kext. AppleIntelCPUPowerManagment is an apple kext. 1 Link to comment Share on other sites More sharing options...
oldman20 Posted August 4, 2016 Author Share Posted August 4, 2016 with 10.11 can be sleep, sir? Link to comment Share on other sites More sharing options...
kylon Posted August 4, 2016 Share Posted August 4, 2016 It s not related to os x version. 1 Link to comment Share on other sites More sharing options...
Recommended Posts