Code Monkey home page Code Monkey logo

hacintosh_mibookair13.3_i5-8250u_with_10.13.5's People

Contributors

szpinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hacintosh_mibookair13.3_i5-8250u_with_10.13.5's Issues

Hi

你好。平台类似的笔记本 借用你的文件睡眠唤醒后死机。
aml文件下发现睡眠和唤醒的代码。我原来的代码贴在下面

Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
{
If (LEqual (Arg0, 0x05)){}
ElseIf (Arg0)
{
PTS (Arg0)
_SB.TPM.TPTS (Arg0)
_SB.PCI0.LPCB.SPTS (Arg0)
_SB.PCI0.NPTS (Arg0)
RPTS (Arg0)
}
}

Method (_WAK, 1, NotSerialized)  // _WAK: Wake
{
    RWAK (Arg0)
    \_SB.PCI0.NWAK (Arg0)
    \_SB.PCI0.LPCB.SWAK (Arg0)
    WAK (Arg0)
    Return (WAKP)
}

您的代码则是下面的

Method (ECPS, 1, NotSerialized)
{
Store (Arg0, ECSS)
Store (OSYS, COSI)
Store (Arg0, SPR1)
TRPS (0x82, 0x02)
If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))){}
If (LEqual (Arg0, 0x03)){}
If (LEqual (Arg0, 0x04)){}
}

        Method (ECWK, 1, NotSerialized)
        {
            Store (One, EQEN)
            Store (Arg0, EOSS)
            TINI ()
            Notify (BAT0, 0x81)
            Store (OSYS, COSI)
            Store (Arg0, SPR1)
            TRPS (0x82, 0x03)
            If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
            {
                If (IGDS)
                {
                    Store (MLID, LIDS)
                    If (LEqual (LIDS, Zero))
                    {
                        Store (0x80000000, \_SB.PCI0.GFX0.CLID)
                    }

                    If (LEqual (LIDS, One))
                    {
                        Store (0x80000003, \_SB.PCI0.GFX0.CLID)
                    }
                }

                Notify (\_SB.LID0, 0x80)
                PNOT ()
                Notify (\_SB.SLPB, 0x02)
            }

            If (LEqual (Arg0, 0x03)){}
            If (LEqual (Arg0, 0x04)){}
            If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05))){}
        }

不知道怎么改

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.