Contribute
Register

DSDT Patch for sleep / brightness /speedstep

Status
Not open for further replies.
You tried what? And define "not working"...
i want to disable nvidia optimius, i edit ssdt.dst and save it to ssdt.aml, copy it in extra folder, dropssdt=yes,

Method (_INI, 0, NotSerialized) // _INI: Initialize {
Store (Zero, \_SB.PCI0.P0P2.PEGP._ADR) /* External reference */
_PS3() }
Screen Shot 2014-05-30 at 10.08.17 PM.png
 
i want to disable nvidia optimius, i edit ssdt.dst and save it to ssdt.aml, copy it in extra folder, dropssdt=yes,

Method (_INI, 0, NotSerialized) // _INI: Initialize {
Store (Zero, \_SB.PCI0.P0P2.PEGP._ADR) /* External reference */
_PS3() }

View attachment 94414

I can't tell what you're doing. dropssdt=yes does nothing as it is spelled incorrectly (correct spelling is DropSSDT).

Post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html

Also, generally you would not use /Extra/ssdt.aml as that is usually used for your CPU SSDT generated with ssdtPRgen.sh.
 

DropSSDT=Yes is not being used. Maybe it is, but you have GenerateCStates=Y GeneratePStates=Y and no custom SSDT?

But SSDT you have installed is incorrect:
Code:
    External (\_SB_.PCI0.P0P2.PEGP._OFF, MethodObj)    // 0 Arguments
...
        Method (_INI, 0, NotSerialized)
        {
            If (CondRefOf (\_SB.PCI0.P0P2.PEGP._OFF))
            {
                \_SB.PCI0.P0P2.PEGP._OFF ()
            }

            Store (Zero, \_SB.PCI0.P0P2.PEGP._ADR)
        }
...

There is no _OFF method defined anywhere.

There *is* a _PS3 method. Perhaps you should use that.
 
Thanks, ALC665 work :D, I'm very happy :mrgreen:. How to control fan speed ?:)



Please explain how you got ALC665 work in 10.9.3. I am trying for quiet long time
 
Please explain how you got ALC665 work in 10.9.3
 
Without seeing the resulting code (eg. your edited .DSL), I can't say much about the cause of the error, other than you've made a mistake...

Try my brightness fix (others have confirmed it works with some non-HD3000 machines)...

HD3000/HD4000 Brightness Fix:
DSDT Patches from here: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply:
"Rename GFX0 to IGPU"
"Brightness Fix (HD3000/HD4000)"
- rename patch must be done first and to all DSDT/SSDT that contain references to GFX0 that you're including in your final SSDT set
- Brightness patch must be done to the DSDT or SSDT that contains the definition for Device GFX0 (search for 'Device (GFX0)'
- Place DSDT and SSDT (if necessary) into a place where the bootloader will load them. For Clover, EFI/CLOVER/ACPI/patched (DSDT.aml, SSDT-x.aml where 'x' is a number). For Chameleon, /Extra/ssdt.aml, /Exra/ssdt-1.aml, /Extra/ssdt-2.aml, etc.

Install: https://github.com/RehabMan/OS-X-ACPI-Backlight

I already applied the 2 patches for brightness and now its working perfectly
But
the sleep is not working still ?
when i click sleep the screen turns off and neither the laptop sleep nor it wake up anymore (tried with mouse, keyboard,power button)

anything to try?
 
I already applied the 2 patches for brightness and now its working perfectly
But
the sleep is not working still ?
when i click sleep the screen turns off and neither the laptop sleep nor it wake up anymore (tried with mouse, keyboard,power button)

anything to try?

Download patchmatic: https://github.com/RehabMan/OS-X-MaciASL-patchmatic.
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
 
Download patchmatic: https://github.com/RehabMan/OS-X-MaciASL-patchmatic.
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Please find it below:

View attachment Adham’s MacBook Pro.ioreg

View attachment RehabMan.zip

kextstat|grep -y acpiplat
13 2 0xffffff7f8271c000 0x65000 0x65000 com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>

kextstat|grep -y appleintelcpu
22 0 0xffffff7f823b6000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (216.0.0) <7 6 5 4 3 1>
30 0 0xffffff7f823b1000 0x3000 0x3000 com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) <7 6 5 4 3 1>
 
Could be instant wake...

For instant wake: https://github.com/RehabMan/Laptop-DSDT-Patch
Apply: "6-series USB"
Also if you have USB3, install GenericUSBXCHI.kext, and use kernel flag -gux_defer_usb2
https://github.com/RehabMan/OS-X-Generic-USB3


--

Also, your DSDT is lacking many common patches...

(note: you have some of these, but I'm not going to make a custom list...)

Likely candidates from here: https://github.com/RehabMan/Laptop-DSDT-Patch
"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
"Fix PNOT/PPNT"
"Add IMEI"

Also, always test sleep without any external devices plugged in. That includes USB WiFi...
 
Status
Not open for further replies.
Back
Top