Contribute
Register

Problem with sleep via lid close on Sony

Status
Not open for further replies.
Do I need to remove this. My system has a SATA hd.

I am sorry but, I don't know what do you mean by why all the patches to IOAHCIBlockStorage.

You have a bunch of patches for IOAHCIBlockStorage in your config.plist. Like all patches, you should understand why and if you need them. Don't use patches you don't need or don't understand.
 
You have a bunch of patches for IOAHCIBlockStorage in your config.plist. Like all patches, you should understand why and if you need them. Don't use patches you don't need or don't understand.

Can you tell me which are not required as I am novice to this thing.
 
Can you tell me which are not required as I am novice to this thing.

It is likely you don't need any of the patches for IOAHCIBlockStorage.
 
It is likely you don't need any of the patches for IOAHCIBlockStorage.

I did all the things as you requested, but still brightness controls are not working after the 2nd restart.
 

Attachments

  • RehabMan.zip
    394.7 KB · Views: 59
I did all the things as you requested, but still brightness controls are not working after the 2nd restart.

It probably has something to do with nvidia disable. Try disabling from BIOS (don't forget to re-patch ACPI) and see if the same problem occurs.
 
It probably has something to do with nvidia disable. Try disabling from BIOS (don't forget to re-patch ACPI) and see if the same problem occurs.

Got something, when the brightness controls are not working Nvidia is enabled.

Now I don't know why it is getting enabled when ideally it is disabled.
 
Got something, when the brightness controls are not working Nvidia is enabled.

Now I don't know why it is getting enabled when ideally it is disabled.

Could be EC dependencies in _OFF:

Note:
Code:
        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
...
            If (ECOK)
            {
                Store (One, \_SB.PCI0.LPCB.EC0.GINT)
                Store (Zero, \_SB.PCI0.LPCB.EC0.GPUP)
            }

            Return (Zero)
        }

If the timing is such that the code at If (ECOK) is reached prior to the EC driver being initialized (and prior to _REG called), that code won't be executed.

Ideally this code should be moved to _REG in DSDT.

It is covered in the guide: http://www.tonymacx86.com/yosemite-...bling-discrete-graphics-dual-gpu-laptops.html
 
[SUB]When I am pasting that code into _REG.

It is getting changed when the dsdt is saved.
[/SUB]Method (_REG, 2, NotSerialized)
{
If (LEqual (Arg0, 0x03))
{
Store (Arg1, ECOK)
Store (Arg1, ECRD)
If (ECOK)
{
UPDL ()
SELE ()
}
}


If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
{
^^^PEG0.PEGP._OFF ()
}


If (ECOK)
{
Store (One, GINT)
Store (Zero, GPUP)
}
}
 
[SUB]When I am pasting that code into _REG.

It is getting changed when the dsdt is saved.
[/SUB]
Code:
Method (_REG, 2, NotSerialized)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Store (Arg1, ECOK)
                            Store (Arg1, ECRD)
                            If (ECOK)
                            {
                                UPDL ()
                                SELE ()
                            }
                        }


                        If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                        {
                            ^^^PEG0.PEGP._OFF ()
                        }


                        If (ECOK)
                        {
                            Store (One, GINT)
                            Store (Zero, GPUP)
                        }
                    }

Not sure I see the issue... Please clarify.

BTW, you should NOT be calling _OFF from both _REG and _INI.
 
When I am pasting this code...

If (ECOK)
{
Store (One, \_SB.PCI0.LPCB.EC0.GINT)
Store (Zero, \_SB.PCI0.LPCB.EC0.GPUP)
}

It is getting changed after compiling and saving to

If (ECOK)
{
Store (One, GINT)
Store (Zero, GPUP)
}
 
Status
Not open for further replies.
Back
Top