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.
@@ -14,44 +14,56 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
|
||||
If (CondRefOf (\_SB.PCI0.XHC_.RHUB))
|
||||
{
|
||||
Scope (_SB.PCI0.XHC_.RHUB)
|
||||
{
|
||||
|
||||
Method (_STA, 0, NotSerialized)
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (Zero)
|
||||
Return (Zero) // This disables the device only in macOS
|
||||
}
|
||||
Else
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
If (CondRefOf (\_SB.PCI0.XHCI.RHUB))
|
||||
{
|
||||
Scope (_SB.PCI0.XHCI.RHUB)
|
||||
{
|
||||
|
||||
Method (_STA, 0, NotSerialized)
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (Zero)
|
||||
Return (Zero) // This disables the device only in macOS
|
||||
}
|
||||
Else
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
If (CondRefOf (\_SB.PCI0.XHC1.RHUB))
|
||||
{
|
||||
Scope (_SB.PCI0.XHC1.RHUB)
|
||||
{
|
||||
|
||||
Method (_STA, 0, NotSerialized)
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (Zero)
|
||||
Return (Zero) // This disables the device only in macOS
|
||||
}
|
||||
Else
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user