Jump to content

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


FelipeZé
 Share

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)
            }
        }

 

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...