Jump to content
Sign in to follow this  
Followers 0
FelipeZé

[FYI] How I enabled Sleep on LID on my XPS14(L421X)

2 posts in this topic

Recommended Posts

Wake on lid was working OOB (just added EisaId on the device LID0) but sleep on LID was not working, so, 

 

 

I modified this method (from LID0 device)
 
            Name (_PRW, Package (0x02)
            {
                0x1B, 
                0x03
            }
 
 
To this:
 
            Name (_PRW, Package (0x02)
            {
                0x18, 
                0x04
            })
 
Problem was _PRW values were wrong... Hope this can help some1.
 
Whole Device code:
 
        Device (LID0)
        {
            Name (_HID, EisaId ("PNP0C0D"))
            Method (_LID, 0, NotSerialized)
            {
                Return (GP11)
            }


            Name (_PRW, Package (0x02)
            {
                0x18, 
                0x04
            })
            Method (_PSW, 1, NotSerialized)
            {
                Store (Arg0, SLID)
            }
        }

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

×