danutzgtx480 Posted April 2, 2015 Share Posted April 2, 2015 Acer E5-572G-38HC laptop. Specs : Cpu:Core i3-4000M 2.4 GhziGPU:HD4600 Dedicated GPU: NVIDIA 840M RAM :4GB I want to patch DSDT/SSDT to disable dedicated graphics card,fix sleep (it just reboots) and fix brigtness slider /Fn keys. For turning nvidia card off I tried : Disable from _INI (SSDT)Disable from _REG (DSDT)For brightness I tried :-Brightness fix to DSDT (Slider shows in Display preferences but does nothing)- Brightness fix (Haswell) to SSDT-4 and brightness bar shows in Display preferences but again does nothing )That's my first experience with DSDT/SSDT and I don't know how to fix errors and add patches very well,that's why I'am asking for help.I attached DSDT and SSDT extracted using linux maybe someone can help me. Thanks ACER E5-572G DSDT:SSDT.zip Link to comment Share on other sites More sharing options...
WaldMeister Posted April 2, 2015 Share Posted April 2, 2015 Hi, If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (CondRefOf (\_SB.PCI0.PEG0.PEGP.EPON)) { \_SB.PCI0.PEG0.PEGP.EPON () } If (CondRefOf (\_SB.PCI0.RP05.PEGP.EPON)) { \_SB.PCI0.RP05.PEGP.EPON () } } Should be removed from method _WAK, else the card will power on even when the methods for disabling it are called. SSDT4 and SSDT5 have been added to the DSDT (Needs a lot of cleanup still) Added generic patches for the HD4600, disable from reg, disable from wak/pts. For the brightness FN keys, this can be accomplished with VoodooPS2Controller. Install ACPIdebug.kext from rehabman and add the methods for debugging to the DSDT. After a reboot open system log in console, and press the FN key + key for brightness. The ACPI method should be displayed and can then be modified to enable the brightness keys with VoodooPS2Controller.kext. Should be something like this afterwards: Method (_Q0F, 0, NotSerialized) // _Qxx: EC Query { Notify (PS2E, 0x0205) Notify (PS2E, 0x0285) } Method (_Q10, 0, NotSerialized) // _Qxx: EC Query { Notify (PS2E, 0x0206) Notify (PS2E, 0x0286) } dsdt.zip 2 Link to comment Share on other sites More sharing options...
danutzgtx480 Posted April 2, 2015 Author Share Posted April 2, 2015 Hi, If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (CondRefOf (\_SB.PCI0.PEG0.PEGP.EPON)) { \_SB.PCI0.PEG0.PEGP.EPON () } If (CondRefOf (\_SB.PCI0.RP05.PEGP.EPON)) { \_SB.PCI0.RP05.PEGP.EPON () } } Should be removed from method _WAK, else the card will power on even when the methods for disabling it are called. SSDT4 and SSDT5 have been added to the DSDT (Needs a lot of cleanup still) Added generic patches for the HD4600, disable from reg, disable from wak/pts. For the brightness FN keys, this can be accomplished with VoodooPS2Controller. Install ACPIdebug.kext from rehabman and add the methods for debugging to the DSDT. After a reboot open system log in console, and press the FN key + key for brightness. The ACPI method should be displayed and can then be modified to enable the brightness keys with VoodooPS2Controller.kext. Should be something like this afterwards: Method (_Q0F, 0, NotSerialized) // _Qxx: EC Query { Notify (PS2E, 0x0205) Notify (PS2E, 0x0285) } Method (_Q10, 0, NotSerialized) // _Qxx: EC Query { Notify (PS2E, 0x0206) Notify (PS2E, 0x0286) } Thanks a lot for help ! I tested the DSDT but it's not working . Nvidia 840M still shows in Displays ,Sleep (now it just freeze,no restart) . Sorry I forget to mention that the integrated HD 4600 it's working very good (using patched kext) and HD 4600 patch made it to no longer work it. (HD 4600 4MB,laggy UI ) Link to comment Share on other sites More sharing options...
WaldMeister Posted April 2, 2015 Share Posted April 2, 2015 Hi, Which kext did you use? Might be that the ID needs to be set to 0416. Changed in this DSDT, also noticed a small typo in the _WAK method, card should be disabled now. dsdt 2.zip Link to comment Share on other sites More sharing options...
danutzgtx480 Posted April 2, 2015 Author Share Posted April 2, 2015 Hi, Which kext did you use? Might be that the ID needs to be set to 0416. Changed in this DSDT, also noticed a small typo in the _WAK method, card should be disabled now. Yes it's 0416 Intel (0x8086) ID : 0x0416 TESTED dsdt 2 .Card still not disabled ,Sleep (restarts) and brightness slider shows in Display but does nothing. Link to comment Share on other sites More sharing options...
WaldMeister Posted April 2, 2015 Share Posted April 2, 2015 Restart on sleep requires other patches than the ones applied. Does the HD4600 work properly? Try booting without caches. On Clover press space on the HDD selection screen and select boot without caches. On Chameleon type -f. Link to comment Share on other sites More sharing options...
danutzgtx480 Posted April 2, 2015 Author Share Posted April 2, 2015 Restart on sleep requires other patches than the ones applied. Does the HD4600 work properly? Try booting without caches. On Clover press space on the HDD selection screen and select boot without caches. On Chameleon type -f. Yes.HD 4600 works properly with kexts no need for DSDT patches.I will try to boot without caches and report back. Yes.HD 4600 works properly with kexts no need for DSDT patches.I will try to boot without caches and report back. Tried without caches -f ,still the same. I also have DropSSDT=Yes .Should I remove it ? Link to comment Share on other sites More sharing options...
WaldMeister Posted April 2, 2015 Share Posted April 2, 2015 No, dropSSDT is fine. Method _ON and _OFF are calling HGON and HGOF, which are almost identical to my _ON and _OFF methods. Instead of calling _ON and _OFF in your DSDT, i replaced it with calling HGON and HGOF. If it does not work after this then i'm out of ideas. dsdt-6.zip Link to comment Share on other sites More sharing options...
danutzgtx480 Posted April 2, 2015 Author Share Posted April 2, 2015 No, dropSSDT is fine. Method _ON and _OFF are calling HGON and HGOF, which are almost identical to my _ON and _OFF methods. Instead of calling _ON and _OFF in your DSDT, i replaced it with calling HGON and HGOF. If it does not work after this then i'm out of ideas. Still alive. Damn Maxwell chipset ! .The only way to make it disappear from Displays is to remove IONDRVSupport.kext but it also kills Audio (AppleHDA.kext not loading anymore) and quite few other minor things. I think it has something to do with IONDRVSupport.kext because I see in System Info app =>Kexts : true AppleUpstreamUserClient.kext 3.6.1 GM108M [GeForce 840M] 0302 true AppleMCCSControl.kext 1.2.11 GM108M [GeForce 840M] 0302 true IONDRVSupport.kext 2.4.1 GM108M [GeForce 840M] 0302 It's still enabled just not showing in Displays. Link to comment Share on other sites More sharing options...
vandebergz Posted July 1, 2015 Share Posted July 1, 2015 Did you find your way? Link to comment Share on other sites More sharing options...
Recommended Posts