mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-02 20:09:48 -08:00
Add SSDT-RHUB support
This commit is contained in:
21
extra-files/decompiled/SSDT-RHUB.dsl
Normal file
21
extra-files/decompiled/SSDT-RHUB.dsl
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Goal of this SSDT is to shut off the RHUB to force macOS into
|
||||
* manually building ports when the ACPI is screwed up
|
||||
*/
|
||||
DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
|
||||
{
|
||||
External (_SB_.PCI0.XHC1.RHUB, DeviceObj) // Full pathing to RHUB, change to yours
|
||||
|
||||
|
||||
Scope (_SB.PCI0.XHC1.RHUB) // Full pathing to RHUB, change to yours
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (Zero) // This disables the device only in macOS
|
||||
}
|
||||
Else
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user