mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
Add missing STA method
This commit is contained in:
Binary file not shown.
@@ -15,13 +15,17 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
|
|||||||
{
|
{
|
||||||
Scope (_SB.PCI0.XHC_.RHUB)
|
Scope (_SB.PCI0.XHC_.RHUB)
|
||||||
{
|
{
|
||||||
If (_OSI ("Darwin"))
|
|
||||||
{
|
Method (_STA, 0, NotSerialized)
|
||||||
Return (Zero)
|
{
|
||||||
}
|
If (_OSI ("Darwin"))
|
||||||
Else
|
{
|
||||||
{
|
Return (Zero) // This disables the device only in macOS
|
||||||
}
|
}
|
||||||
|
Else
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,13 +33,17 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
|
|||||||
{
|
{
|
||||||
Scope (_SB.PCI0.XHCI.RHUB)
|
Scope (_SB.PCI0.XHCI.RHUB)
|
||||||
{
|
{
|
||||||
If (_OSI ("Darwin"))
|
|
||||||
{
|
Method (_STA, 0, NotSerialized)
|
||||||
Return (Zero)
|
{
|
||||||
}
|
If (_OSI ("Darwin"))
|
||||||
Else
|
{
|
||||||
{
|
Return (Zero) // This disables the device only in macOS
|
||||||
}
|
}
|
||||||
|
Else
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -43,13 +51,17 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
|
|||||||
{
|
{
|
||||||
Scope (_SB.PCI0.XHC1.RHUB)
|
Scope (_SB.PCI0.XHC1.RHUB)
|
||||||
{
|
{
|
||||||
If (_OSI ("Darwin"))
|
|
||||||
{
|
Method (_STA, 0, NotSerialized)
|
||||||
Return (Zero)
|
{
|
||||||
}
|
If (_OSI ("Darwin"))
|
||||||
Else
|
{
|
||||||
{
|
Return (Zero) // This disables the device only in macOS
|
||||||
}
|
}
|
||||||
|
Else
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user