Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

Hi, after digging a bit, I can't understand what I should change for disabling my Nvidia card.

In my SSDT-6-ACRPRDCT.dsl I have _INI, _OFF, _HGOF methods, so I think it should be easier
What I did:

My original _INI:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
        }

My modified _INI:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
            \_SB.PCI0.RP01.PXSX._OFF
            _OFF()
        }
Here I added those two lines according to the guide. All those methods are in the same file. So, thats why i didnt call external but anyways this gives me compiled error -> syntax error, unexpected PARSEOP_NAMESEG

---------------------------------------------------------------------------------------------------------


My _OFF Method right now (I didn't touch it):
Code:
        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            If (LNotEqual (GPRF, One))
            {
                Store (VREG, VGAB)
            }

            HGOF ()
            Return (Zero)
        }

So, here I saw that EC was not called in _OFF Method as you described in this guide, so instead I Digged into HGOF() method that is called in _OFF function and saw that EC was there.

---------------------------------------------------------------------------------------------------------

My original HGOF:
Code:
        Method (HGOF, 0, Serialized)
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            Store (Zero, ONOF)
            Store (LCTL, ELCT)
            Store (One, LNKD)
            While (LNotEqual (LNKS, Zero))
            {
                DDLY (One)
            }

            SGPO (HLRS, One)
            SGPO (PWEN, Zero)
            Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF)
            \_SB.PCI0.LPCB.EC0.SCTB ()
            Return (Zero)
        }

the only thing I changed was comment the line
Code:
//\_SB.PCI0.LPCB.EC0.SCTB ()

---------------------------------------------------------------------------------------------------------

Finally, in my original _REG Method I have this:
Code:
        Method (_REG, 2, NotSerialized)  // _REG: Region Availability
        {
            If (LEqual (Arg1, One))
            {
                If (LGreaterEqual (OSYS, 0x07DD))
                {
                    Store (TPDS, ^^LPCB.EC0.TOHP)
                    Store (One, ^^LPCB.EC0.TPRD)
                }
            }
        }

Now I don't know how to continue, any help, please?
Thanks for your patience.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Thanks RehabMan! here are all files in one zip and the commands:


"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.


Code:
Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y acpiplat

   14    2 0xffffff7f82690000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 577DDA65-E8D0-3357-8FBB-20E69AB66086 <13 12 11 7 6 5 4 3 1>

Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y appleintelcpu

Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y applelpc

Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y applehda

  117    1 0xffffff7f82271000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <116 115 89 12 7 6 5 4 3 1>

  136    0 0xffffff7f823f5000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.52) 119A5EAE-5FD8-3CF3-A0CA-73EDDDC23DBE <135 117 116 115 92 89 6 5 4 3 1>

Daniels-MacBook-Pro:RehabMan dani$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Daniels-MacBook-Pro:RehabMan dani$ pmset -g assertions

2018-06-05 14:08:20 -0700

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     1

   NetworkClientActive            0

Listed by owning process:

   pid 266(nsurlsessiond): [0x000001620001819b] 00:03:43 PreventUserIdleSystemSleep named: "NSURLSessionTask 54C65EE6-108E-4BE2-A24F-033D75F91BF4"

   pid 94(hidd): [0x0000000700098006] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968012.3"

    Timeout will fire in 3180 secs Action=TimeoutActionRelease

   pid 500(assertiond): [0x0000006e000c812f] 00:07:48 SystemIsActive named: "SpringBoard:494:494-E25CBC23-680E-487A-ADCD-2E0E1B60B443 [FBSystemApp] [0x7fdf3d107f10]"

    Created for PID: 494.

No kernel assertions.

Idle sleep preventers: IODisplayWrangler

Daniels-MacBook-Pro:RehabMan dani$ pmset -g

System-wide power settings:

Currently in use:

 standby              1

 womp                 1

 halfdim              1

 hibernatefile        /var/vm/sleepimage

 powernap             1

 gpuswitch            2

 networkoversleep     0

 disksleep            10

 sleep                53 (sleep prevented by nsurlsessiond)

 autopoweroffdelay    28800

 hibernatemode        3

 autopoweroff         1

 ttyskeepawake        1

 displaysleep         53

 tcpkeepalive         1

 standbydelay         10800

Daniels-MacBook-Pro:RehabMan dani$ system_profiler SPSerialATADataType|grep TRIM

          TRIM Support: No


sudo kextcache output:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb611d70 [0x7fffa05a0af0]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb762280 [0x7fffa05a0af0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb753570 [0x7fffa05a0af0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecd9003d0 [0x7fffa05a0af0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb60e5a0 [0x7fffa05a0af0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecfc6a890 [0x7fffa05a0af0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecfc58d80 [0x7fffa05a0af0]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb40e240 [0x7fffa05a0af0]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf9c3d00 [0x7fffa05a0af0]> { URL = "IntelGraphicsFixup.kext/ -- file:///System/Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecfc56a70 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf8ad120 [0x7fffa05a0af0]> { URL = "ApplePS2Controller.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf8b5d80 [0x7fffa05a0af0]> { URL = "ApplePS2Keyboard.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf8b5ba0 [0x7fffa05a0af0]> { URL = "ApplePS2SmartTouchPad.kext/ -- file:///System/Library/Extensions/", ID = "org.emlydinesh.driver.ApplePS2SmartTouchPad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb705c40 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.Lilu" }

KernelCache ID: D9FD6CD29D1F574BB02ADE09DA65968F

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff648e38e70 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64b47e670 [0x7fffa05a0af0]> { URL = "ApplePS2SmartTouchPad.kext/ -- file:///System/Library/Extensions/", ID = "org.emlydinesh.driver.ApplePS2SmartTouchPad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64b649d00 [0x7fffa05a0af0]> { URL = "ApplePS2Keyboard.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64b47efb0 [0x7fffa05a0af0]> { URL = "ApplePS2Controller.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64da5ea20 [0x7fffa05a0af0]> { URL = "IntelGraphicsFixup.kext/ -- file:///System/Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db449b0 [0x7fffa05a0af0]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db451f0 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db49dc0 [0x7fffa05a0af0]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db5dec0 [0x7fffa05a0af0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db5d900 [0x7fffa05a0af0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db68290 [0x7fffa05a0af0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff648e09ca0 [0x7fffa05a0af0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db5dbf0 [0x7fffa05a0af0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db7d7f0 [0x7fffa05a0af0]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
 

Attachments

  • all files.zip
    3.1 MB · Views: 78
Thanks RehabMan! here are all files in one zip and the commands:





Code:
Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y acpiplat

   14    2 0xffffff7f82690000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 577DDA65-E8D0-3357-8FBB-20E69AB66086 <13 12 11 7 6 5 4 3 1>

Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y appleintelcpu

Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y applelpc

Daniels-MacBook-Pro:RehabMan dani$ kextstat|grep -y applehda

  117    1 0xffffff7f82271000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <116 115 89 12 7 6 5 4 3 1>

  136    0 0xffffff7f823f5000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.52) 119A5EAE-5FD8-3CF3-A0CA-73EDDDC23DBE <135 117 116 115 92 89 6 5 4 3 1>

Daniels-MacBook-Pro:RehabMan dani$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory

Daniels-MacBook-Pro:RehabMan dani$ pmset -g assertions

2018-06-05 14:08:20 -0700

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     1

   NetworkClientActive            0

Listed by owning process:

   pid 266(nsurlsessiond): [0x000001620001819b] 00:03:43 PreventUserIdleSystemSleep named: "NSURLSessionTask 54C65EE6-108E-4BE2-A24F-033D75F91BF4"

   pid 94(hidd): [0x0000000700098006] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968012.3"

    Timeout will fire in 3180 secs Action=TimeoutActionRelease

   pid 500(assertiond): [0x0000006e000c812f] 00:07:48 SystemIsActive named: "SpringBoard:494:494-E25CBC23-680E-487A-ADCD-2E0E1B60B443 [FBSystemApp] [0x7fdf3d107f10]"

    Created for PID: 494.

No kernel assertions.

Idle sleep preventers: IODisplayWrangler

Daniels-MacBook-Pro:RehabMan dani$ pmset -g

System-wide power settings:

Currently in use:

 standby              1

 womp                 1

 halfdim              1

 hibernatefile        /var/vm/sleepimage

 powernap             1

 gpuswitch            2

 networkoversleep     0

 disksleep            10

 sleep                53 (sleep prevented by nsurlsessiond)

 autopoweroffdelay    28800

 hibernatemode        3

 autopoweroff         1

 ttyskeepawake        1

 displaysleep         53

 tcpkeepalive         1

 standbydelay         10800

Daniels-MacBook-Pro:RehabMan dani$ system_profiler SPSerialATADataType|grep TRIM

          TRIM Support: No


sudo kextcache output:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb611d70 [0x7fffa05a0af0]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb762280 [0x7fffa05a0af0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb753570 [0x7fffa05a0af0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecd9003d0 [0x7fffa05a0af0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb60e5a0 [0x7fffa05a0af0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecfc6a890 [0x7fffa05a0af0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecfc58d80 [0x7fffa05a0af0]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb40e240 [0x7fffa05a0af0]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf9c3d00 [0x7fffa05a0af0]> { URL = "IntelGraphicsFixup.kext/ -- file:///System/Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecfc56a70 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf8ad120 [0x7fffa05a0af0]> { URL = "ApplePS2Controller.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf8b5d80 [0x7fffa05a0af0]> { URL = "ApplePS2Keyboard.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecf8b5ba0 [0x7fffa05a0af0]> { URL = "ApplePS2SmartTouchPad.kext/ -- file:///System/Library/Extensions/", ID = "org.emlydinesh.driver.ApplePS2SmartTouchPad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7faecb705c40 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.Lilu" }

KernelCache ID: D9FD6CD29D1F574BB02ADE09DA65968F

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff648e38e70 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64b47e670 [0x7fffa05a0af0]> { URL = "ApplePS2SmartTouchPad.kext/ -- file:///System/Library/Extensions/", ID = "org.emlydinesh.driver.ApplePS2SmartTouchPad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64b649d00 [0x7fffa05a0af0]> { URL = "ApplePS2Keyboard.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64b47efb0 [0x7fffa05a0af0]> { URL = "ApplePS2Controller.kext/ -- file:///System/Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64da5ea20 [0x7fffa05a0af0]> { URL = "IntelGraphicsFixup.kext/ -- file:///System/Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db449b0 [0x7fffa05a0af0]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db451f0 [0x7fffa05a0af0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db49dc0 [0x7fffa05a0af0]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db5dec0 [0x7fffa05a0af0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db5d900 [0x7fffa05a0af0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db68290 [0x7fffa05a0af0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff648e09ca0 [0x7fffa05a0af0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db5dbf0 [0x7fffa05a0af0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff64db7d7f0 [0x7fffa05a0af0]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }

You have not patched ACPI...
Read post #1 and read the ACPI patching guide also:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

I see nothing special in your ACPI/origin files.
_OFF is in SSDT-6.
Path is _SB.PCI0.RP01.PXSX.
_INI is in the same file.
_OFF has no EC references, but calls HGOF which does have EC references.
Such EC related code will need to move to _REG.
 
Thanks Rehabman!
Mi card is now disabled and my battery lasts longer (not as in windows but longer) .
Anyways i don't think I patched in the right way but I will put here what I did for anyone who needs ( Acer aspire e5-576g-5762 )

In SSDT-6, in HGOF method i only changed this line:

Code:
            \_SB.PCI0.LPCB.EC0.SCTB ()

for this:

Code:
            External(\_SB.PCI0.LPCB.EC0._REG, MethodObj) // move to _REG

full HGOF:
Code:
        Method (HGOF, 0, Serialized)
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            Store (Zero, ONOF)
            Store (LCTL, ELCT)
            Store (One, LNKD)
            While (LNotEqual (LNKS, Zero))
            {
                DDLY (One)
            }

            SGPO (HLRS, One)
            SGPO (PWEN, Zero)
            Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF) // move to _REG
            External(\_SB.PCI0.LPCB.EC0._REG, MethodObj) // move to _REG
            Return (Zero)
        }

then, in _INI method:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
           \_SB.PCI0.RP01.PXSX._OFF()
        }

Anyways don't trust on me because in occasions weird things happens to my laptop, like it shutdown automatically and, sometimes the screen freezes showing weird graphics and then i only can force power off.
i dont know if this is because I upgraded my ram to 16gb or I patched it wrongly.
 
Thanks Rehabman!
Mi card is now disabled and my battery lasts longer (not as in windows but longer) .
Anyways i don't think I patched in the right way but I will put here what I did for anyone who needs ( Acer aspire e5-576g-5762 )

In SSDT-6, in HGOF method i only changed this line:

Code:
            \_SB.PCI0.LPCB.EC0.SCTB ()

for this:

Code:
            External(\_SB.PCI0.LPCB.EC0._REG, MethodObj) // move to _REG

full HGOF:
Code:
        Method (HGOF, 0, Serialized)
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            Store (Zero, ONOF)
            Store (LCTL, ELCT)
            Store (One, LNKD)
            While (LNotEqual (LNKS, Zero))
            {
                DDLY (One)
            }

            SGPO (HLRS, One)
            SGPO (PWEN, Zero)
            Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF) // move to _REG
            External(\_SB.PCI0.LPCB.EC0._REG, MethodObj) // move to _REG
            Return (Zero)
        }

No need to add the 'External' line in HGOF.
Just need to remove the EC related code (and put it in _REG).

You didn't mention the changes to _REG...
(make sure you read the guide).
 
No need to add the 'External' line in HGOF.
Just need to remove the EC related code (and put it in _REG).

You didn't mention the changes to _REG...
(make sure you read the guide).

Sorry, i readed the guide multiple times but I misunderstand as I see...
i have to put this two lines in _REG ?
Code:
            Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF) // move to _REG
            \_SB.PCI0.LPCB.EC0.SCTB ()


there are two _reg, I guess is in ECO reg but where I should put those lines?

Code:
            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, Local0)
                    If (Local0)
                    {
                        Store (One, ECOK)
                    }
                    Else
                    {
                        Store (Zero, ECOK)
                    }
                }

                If (ECOK)
                {
                    Acquire (MUT1, 0xFFFF)
                    If (LGreaterEqual (OSYS, 0x07DC))
                    {
                        Store (One, OSW8)
                        Store (One, ^^^^RDWL)
                        Store (One, ^^^^RDBT)
                        Store (One, ^^^^RD3G)
                    }
                    Else
                    {
                        Store (Zero, OSW8)
                    }

                    If (LGreaterEqual (OSYS, 0x07DD))
                    {
                        Store (0x55, TPRS)
                        Store (One, W81F)
                    }
                    Else
                    {
                        Store (Zero, TPRS)
                        Store (Zero, W81F)
                    }

                    If (LOr (LLess (OSYS, 0x07DD), LEqual (PTPS, Zero)))
                    {
                        Store (TPDS, TOHP)
                        Store (One, TPRD)
                    }

                    ILID ()
                    Store (^^^^RDWL, WLST)
                    Store (^^^^RDBT, BLTS)
                    Store (^^^^RD3G, ED3G)
                    Store (One, CPLE)
                    Release (MUT1)
                }

                If (LNotEqual (LINX, One))
                {
                    If (LAnd (LEqual (BBTP, 0x02), LEqual (OSYS, 0x07D9)))
                    {
                        Store (0xD9, SSMP)
                    }
                }

                If (LEqual (OSYS, 0x07D9))
                {
                    Store (0x07, CSBM)
                }
                Else
                {
                    Store (Zero, CSBM)
                }
            }
\
 
Sorry, i readed the guide multiple times but I misunderstand as I see...
i have to put this two lines in _REG ?
Code:
            Store (Zero, \_SB.PCI0.LPCB.EC0.VGAF) // move to _REG
            \_SB.PCI0.LPCB.EC0.SCTB ()


there are two _reg, I guess is in ECO reg but where I should put those lines?

Yes, but that code should only execute under the conditions mentioned in the guide.
 
Yes, but that code should only execute under the conditions mentioned in the guide.
done but I can't compile it :/
Captura_de_pantalla_2018-06-09_a_las_07.06.32.png
 
done but I can't compile it :/
Captura_de_pantalla_2018-06-09_a_las_07.06.32.png

The code you have there is clearly not correct (why the attempt to recursively call _REG?).
Must move the code as originally in the SSDT exactly, with appropriate External declarations.
Read the guide carefully.
 
Back
Top