Master Chief, on Nov 20 2009, 04:14 PM, said:
Thnx Master Chief for your answer
T.
Patteri, on Nov 20 2009, 05:08 PM, said:
Cathul, on Nov 20 2009, 05:24 PM, said:
Master Chief, on Nov 21 2009, 11:56 AM, said:
Cathul, on Nov 21 2009, 01:37 PM, said:
Master Chief, on Nov 20 2009, 10:14 AM, said:
Master Chief, on Nov 21 2009, 08:08 PM, said:
dsdt.zip 6.64K
20 downloads
If (LEqual (Arg0, 0x05)) // S5 (shutdown).
{
Store (One, \_SB.PCI0.LPCB.AG3E) // Return to S5 after a power failure
// Mimic "Start up automatically after power failure" checkbox on Energy Saver (Preferences).
}
Note: You may need to remove the If clause and just use the Store command.
OperationRegion (LPC0, PCI_Config, 0xA0, 0x60) // General PM Configuration 3 Register (ICH9R-316972.pdf / 13.8.1.3 / page 492).
Field (LPC0, AnyAcc, NoLock, Preserve)
{
, 10,
XPME, 1, // Bit 10 - BIOS_PCI_EXP_EN.
Offset (0x04), // General PM Configuration 3 Register (ICH9R-316972.pdf / 13.8.1.3 - / page 492).
AG3E, 1, // Bit 0 – AFTERG3_EN.
Offset (0x50), // Root Complex Base Address Register (ICH9R-316972.pdf / 13.1.35 / page 451).
RCBA, 32
}
I hope that these comments are clear enough
Master Chief, on Nov 27 2009, 03:32 PM, said:
If (LEqual (Arg0, 0x05)) // S5 (shutdown).
{
Store (One, \_SB.PCI0.LPCB.AG3E) // Return to S5 after a power failure
// Mimic "Start up automatically after power failure" checkbox on Energy Saver (Preferences).
}
Note: You may need to remove the If clause and just use the Store command.
Method (_PTS, 1, NotSerialized)
{
Or (Arg0, 0xF0, Local0)
Store (Local0, DBG1)
If (LEqual (Arg0, 0x05))
{
Store (ESMI, Local0)
And (Local0, 0xFB, Local0)
Store (Local0, ESMI)
}
Store (Arg0, \_SB.PCI0.LPCB.EC.ECSS)
G3HT ()
\_SB.PCI0.SBUS.DISB ()
}
Method (_PTS, 1, NotSerialized)
{
Or (Arg0, 0xF0, Local0)
Store (Local0, DBG1)
If (LEqual (Arg0, 0x05))
{
Store (One, \_SB.PCI0.LPCB.AG3E)
}
Store (Arg0, \_SB.PCI0.LPCB.EC.ECSS)
G3HT ()
\_SB.PCI0.SBUS.DISB ()
}
Quote
OperationRegion (LPC0, PCI_Config, 0xA0, 0x60) // General PM Configuration 3 Register (ICH9R-316972.pdf / 13.8.1.3 / page 492).
Field (LPC0, AnyAcc, NoLock, Preserve)
{
, 10,
XPME, 1, // Bit 10 - BIOS_PCI_EXP_EN.
Offset (0x04), // General PM Configuration 3 Register (ICH9R-316972.pdf / 13.8.1.3 - / page 492).
AG3E, 1, // Bit 0 �" AFTERG3_EN.
Offset (0x50), // Root Complex Base Address Register (ICH9R-316972.pdf / 13.1.35 / page 451).
RCBA, 32
}
I hope that these comments are clear enough
Field (LPC0, AnyAcc, NoLock, Preserve)
{
, 10,
XPME, 1,
Offset (0x04),
AG3E, 1,
Offset (0x50),
RAEN, 1,
, 13,
RCBA, 18
}
Field (LPC0, AnyAcc, NoLock, Preserve)
{
, 10,
XPME, 1,
Offset (0x04),
AG3E, 1,
Offset (0x50),
RCBA, 32
}
MacUser2525, on Nov 27 2009, 09:22 PM, said:
... see post # 611You would change to.
... see post # 611Getting rid of the ESMI.
... see post # 611Which would be after your suggested change.
... see post # 611
dsdt.dsl.zip 8.13K
19 downloads
OperationRegion (LPC0, PCI_Config, 0x[b][color="#008000"]A0[/color][/b], 0x[b][color="#008000"]60[/color][/b])[size=1] // General PM Configuration 3 Register (ICH9R-316972.pdf / 13.8.1.3 / page 492).[/size]
Field (LPC0, AnyAcc, NoLock, Preserve)
{
[size=4][color="#FF0000"][b],[/b][/color][/size] 10,
XPME, 1, /[size=1]/ Bit 10 - BIOS_PCI_EXP_EN.[/size]
Offset (0x04), [size=1] // General PM Configuration 3 Register (ICH9R-316972.pdf / 13.8.1.3 - / page 492).[/size]
AG3E, 1, [size=1]// Bit 0 – AFTERG3_EN.[/size]
Offset (0x50), [size=1] // Root Complex Base Address Register (ICH9R-316972.pdf / 13.1.35 / page 451).[/size]
RCBA, 32
}
OperationRegion (LPC0, PCI_Config, 0x[b]40[/b], 0x[b]C0[/b])
[size=1] Field (LPC0, AnyAcc, NoLock, Preserve)
{
[b]Offset (0x20)[/b],
PARC, 8,
PBRC, 8,
PCRC, 8,
PDRC, 8,
Offset (0x28),
PERC, 8,
PFRC, 8,
PGRC, 8,
PHRC, 8,
Offset (0x40),
IOD0, 8,
IOD1, 8,
Offset (0x60),
, 10,
XPME, 1,
Offset (0x64),
AG3E, 1,
Offset (0xB0),
RAEN, 1,
, 13,
RCBA, 18
[/size] }
mitch_de, on Nov 28 2009, 05:15 AM, said:
see post #...
Field (LPC0, AnyAcc, NoLock, Preserve)
{
, 10,
XPME, 1, // Bit 10 - BIOS_PCI_EXP_EN.
...
The lack of a identifier (name) simply means that we skip – are not interested in – the first ten (10) bits. And XPME is bit ten (10) because we start from zero (0) instead of the usual one (1) and thus we skip bit: 0,1,2,3,4,5,6,7,8,9 here. And thus we assign XPME to bit ten (10).
AudiSport, on Nov 28 2009, 03:54 AM, said:
Master Chief, on Nov 28 2009, 06:47 AM, said:
Quote
Quote
AudiSport, on Nov 28 2009, 07:55 PM, said:
AudiSport, on Nov 28 2009, 07:55 PM, said:
Method (_PSW, 1, NotSerialized)
{
If (Arg0)
{
Store (0x03, USBW)
}
Else
{
Store (Zero, USBW)
}
}
Mine:
Method (_PSW, 1, NotSerialized)
{
Multiply (0x03, Arg0, USBW)
}
Just look at my DSDT (or another GB one from this thread) and see what we changed. The result will be a much cleaner dsdt.dsl and a smaller dsdt.aml
0 members, 1 guests, 0 anonymous users