I'm following Dortania's Install Guide for a Broadwell Gen Laptop
After check VoodooGPIO isn't attached, I understand need to modify some values to enable the GPI0
Here in the DSDT:
Device (GPI0)
{
Method (_HID, 0, NotSerialized) // _HID: Hardware ID
{
If (LEqual (PCHG, 0x02))
{
Return ("INT3437")
}
Return ("INT33C7")
}
Name (RBUF, ResourceTemplate ()
{
DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
0x00000000, // Granularity
0x00000000, // Range Minimum
0x000003FF, // Range Maximum
0x00000000, // Translation Offset
0x00000400, // Length
,, _Y1C, TypeStatic, DenseTranslation)
})
CreateDWordField (RBUF, \_SB.PCI0.GPI0._Y1C._MIN, BMIN) // _MIN: Minimum Base Address
CreateDWordField (RBUF, \_SB.PCI0.GPI0._Y1C._MAX, BMAX) // _MAX: Maximum Base Address
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
{
Store (GPMN, BMIN)
Store (GPMX, BMAX)
Return (RBUF)
}
Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision
{
Return (^^LPCB.CRID)
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (LEqual (GPMN, Zero))
{
Return (Zero)
}
If (LAnd (LEqual (OSYS, 0x07DC), LEqual (SMD0, One)))
{
Return (Zero)
}
If (LLess (OSYS, 0x07DC))
{
Return (Zero)
}
If (LEqual (SMGP, Zero))
{
Return (Zero)
}
Return (0x0F)
}
}
But I don't know how to edit to enabling the GPI0 device? it not simple like example in Guide above?
[link] [comments]
Post a Comment