mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
960 lines
39 KiB
Text
960 lines
39 KiB
Text
|
/*
|
||
|
* USB 2.0/ 3.0
|
||
|
* Reference: https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/extensible-host-controler-interface-usb-xhci.pdf
|
||
|
*
|
||
|
* Depends on /patches/OpenCore Patches/ XHC1.plist
|
||
|
*/
|
||
|
|
||
|
DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000)
|
||
|
{
|
||
|
External (_SB_.PCI0, DeviceObj)
|
||
|
External (_SB_.PCI0.XHC, DeviceObj)
|
||
|
External (_SB_.PCI0.XHC._PS0, MethodObj)
|
||
|
External (_SB_.PCI0.XHC._PS3, MethodObj)
|
||
|
External (_SB_.PCI0.XHC._DSM, MethodObj)
|
||
|
External (_SB_.PCI0.XHC.RHUB._PS0, MethodObj)
|
||
|
External (_SB_.PCI0.XHC.RHUB._PS2, MethodObj)
|
||
|
External (_SB_.PCI0.XHC.RHUB._PS3, MethodObj)
|
||
|
External (_SB_.PCI0.XHC.XFLT, FieldUnitObj)
|
||
|
External (_SB_.PCI0.RP09.UPSB.DSB2.XHC2, DeviceObj)
|
||
|
External (_SB_.PCI0.RP09.UPSB.DSB2.XHC2.MODU, MethodObj) // 0 Arguments
|
||
|
|
||
|
External (U2OP, IntObj)
|
||
|
|
||
|
External (DTGP, MethodObj) // 5 Arguments
|
||
|
External (OSDW, MethodObj) // 0 Arguments
|
||
|
|
||
|
Scope (\_SB.PCI0.XHC)
|
||
|
{
|
||
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
||
|
{
|
||
|
If (OSDW ())
|
||
|
{
|
||
|
Return (Zero)
|
||
|
}
|
||
|
|
||
|
Return (0x0F)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Scope (\_SB.PCI0)
|
||
|
{
|
||
|
Device (XHC1)
|
||
|
{
|
||
|
Name (_ADR, 0x00140000) // _ADR: Address
|
||
|
Name (SDPC, Zero)
|
||
|
Name (_GPE, 0x6D) // _GPE: General Purpose Events
|
||
|
|
||
|
Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
|
||
|
{
|
||
|
Return (Package (0x02)
|
||
|
{
|
||
|
0x6D,
|
||
|
0x03
|
||
|
})
|
||
|
}
|
||
|
|
||
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
||
|
{
|
||
|
If (OSDW ())
|
||
|
{
|
||
|
Return (0x0F)
|
||
|
}
|
||
|
|
||
|
Return (Zero)
|
||
|
}
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
DEBUG = "XHC1:_DSM"
|
||
|
|
||
|
\_SB_.PCI0.XHC._DSM (Arg0, Arg1, Arg2, Arg3)
|
||
|
|
||
|
Local0 = Package (0x04)
|
||
|
{
|
||
|
"acpi-wake-type",
|
||
|
One,
|
||
|
"built-in",
|
||
|
Zero
|
||
|
}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
|
||
|
Method (_PS0, 0, Serialized) // _PS0: Power State 0
|
||
|
{
|
||
|
Debug = "XHC1:_PS0"
|
||
|
|
||
|
\_SB_.PCI0.XHC._PS0 ()
|
||
|
}
|
||
|
|
||
|
Method (_PS3, 0, Serialized) // _PS3: Power State 3
|
||
|
{
|
||
|
Debug = "XHC1:_PS3"
|
||
|
|
||
|
\_SB_.PCI0.XHC._PS3 ()
|
||
|
}
|
||
|
|
||
|
Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
|
||
|
{
|
||
|
Debug = "XHC1:_S3D"
|
||
|
|
||
|
Return (0x03)
|
||
|
}
|
||
|
|
||
|
Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
|
||
|
{
|
||
|
Debug = "XHC1:_S4D"
|
||
|
|
||
|
Return (0x03)
|
||
|
}
|
||
|
|
||
|
Method (_S3W, 0, NotSerialized) // _S3W: S3 Device Wake State
|
||
|
{
|
||
|
Debug = "XHC1:_S3W"
|
||
|
|
||
|
Return (0x03)
|
||
|
}
|
||
|
|
||
|
Method (_S4W, 0, NotSerialized) // _S4W: S4 Device Wake State
|
||
|
{
|
||
|
Debug = "XHC1:_S4W"
|
||
|
|
||
|
Return (0x03)
|
||
|
}
|
||
|
|
||
|
Method (_S0W, 0, NotSerialized) // _S0W: S0 Device Wake State
|
||
|
{
|
||
|
Debug = "XHC1:_S0W"
|
||
|
|
||
|
If ((\_SB_.PCI0.XHC.XFLT == Zero))
|
||
|
{
|
||
|
Return (0x00)
|
||
|
}
|
||
|
Else
|
||
|
{
|
||
|
Return (0x03)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method (USRA, 0, Serialized)
|
||
|
{
|
||
|
Debug = "XHC1:USRA"
|
||
|
|
||
|
Return (0x0F)
|
||
|
}
|
||
|
|
||
|
Method (SSPA, 0, Serialized)
|
||
|
{
|
||
|
Debug = "XHC1:SSPA"
|
||
|
|
||
|
Return (0x0D)
|
||
|
}
|
||
|
|
||
|
Method (CUID, 1, Serialized)
|
||
|
{
|
||
|
Debug = "XHC1:CUID"
|
||
|
|
||
|
If ((Arg0 == ToUUID ("7c9512a9-1705-4cb4-af7d-506a2423ab71")))
|
||
|
{
|
||
|
Return (0x01)
|
||
|
}
|
||
|
|
||
|
Return (0x00)
|
||
|
}
|
||
|
|
||
|
Method (RTPC, 1, Serialized)
|
||
|
{
|
||
|
Debug = "XHC1:RTPC"
|
||
|
|
||
|
Return (Zero)
|
||
|
}
|
||
|
|
||
|
Method (MODU, 0, Serialized)
|
||
|
{
|
||
|
Debug = "XHC1:MODU"
|
||
|
|
||
|
Local0 = One
|
||
|
|
||
|
// TB-Controler enabled?
|
||
|
If (CondRefOf (\_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU))
|
||
|
{
|
||
|
// If enabled, check if any device is plugged in
|
||
|
Local0 = \_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU ()
|
||
|
}
|
||
|
|
||
|
Local1 = Zero
|
||
|
|
||
|
If ((Local0 == One) || (Local1 == One))
|
||
|
{
|
||
|
Local0 = One
|
||
|
}
|
||
|
ElseIf ((Local0 == 0xFF) || (Local1 == 0xFF))
|
||
|
{
|
||
|
Local0 = 0xFF
|
||
|
}
|
||
|
Else
|
||
|
{
|
||
|
Local0 = Zero
|
||
|
}
|
||
|
|
||
|
Return (Local0)
|
||
|
}
|
||
|
|
||
|
Device (RHUB)
|
||
|
{
|
||
|
Name (_ADR, Zero) // _ADR: Address
|
||
|
|
||
|
Method (_PS0, 0, Serialized) // _PS0: Power State 0
|
||
|
{
|
||
|
Debug = "XHC1:RHUB:_PS0"
|
||
|
|
||
|
\_SB_.PCI0.XHC.RHUB._PS0 ()
|
||
|
}
|
||
|
|
||
|
Method (_PS2, 0, Serialized) // _PS0: Power State 2
|
||
|
{
|
||
|
Debug = "XHC1:RHUB:_PS2"
|
||
|
|
||
|
\_SB_.PCI0.XHC.RHUB._PS2 ()
|
||
|
}
|
||
|
|
||
|
Method (_PS3, 0, Serialized) // _PS3: Power State 3
|
||
|
{
|
||
|
Debug = "XHC1:RHUB:_PS3"
|
||
|
|
||
|
\_SB_.PCI0.XHC.RHUB._PS3 ()
|
||
|
}
|
||
|
|
||
|
Device (HS01)
|
||
|
{
|
||
|
Name (_ADR, 0x01) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0x03,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x1,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x02) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS02)
|
||
|
{
|
||
|
Name (_ADR, 0x02) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0x03,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x1,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
})
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS03)
|
||
|
{
|
||
|
Name (_ADR, 0x03) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0x08,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x1,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
})
|
||
|
|
||
|
If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2) && U2OP == One)
|
||
|
{
|
||
|
Name (SSP, Package (0x02)
|
||
|
{
|
||
|
"XHC2",
|
||
|
0x03
|
||
|
})
|
||
|
Name (SS, Package (0x02)
|
||
|
{
|
||
|
"XHC2",
|
||
|
0x03
|
||
|
})
|
||
|
}
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
|
||
|
If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2) && U2OP == One)
|
||
|
{
|
||
|
Local0 = Package (0x02)
|
||
|
{
|
||
|
"NoNumber",
|
||
|
Zero
|
||
|
}
|
||
|
}
|
||
|
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS04)
|
||
|
{
|
||
|
Name (_ADR, 0x04) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0x08,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x1,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
})
|
||
|
|
||
|
If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2) && U2OP == One)
|
||
|
{
|
||
|
Name (SSP, Package (0x02)
|
||
|
{
|
||
|
"XHC2",
|
||
|
0x04
|
||
|
})
|
||
|
Name (SS, Package (0x02)
|
||
|
{
|
||
|
"XHC2",
|
||
|
0x04
|
||
|
})
|
||
|
}
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
|
||
|
If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2) && U2OP == One)
|
||
|
{
|
||
|
Local0 = Package (0x02)
|
||
|
{
|
||
|
"NoNumber",
|
||
|
Zero
|
||
|
}
|
||
|
}
|
||
|
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS05)
|
||
|
{
|
||
|
Name (_ADR, 0x05) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS06)
|
||
|
{
|
||
|
Name (_ADR, 0x06) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS07)
|
||
|
{
|
||
|
Name (_ADR, 0x07) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS08)
|
||
|
{
|
||
|
Name (_ADR, 0x08) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS09)
|
||
|
{
|
||
|
Name (_ADR, 0x09) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (HS10)
|
||
|
{
|
||
|
Name (_ADR, 0x0A) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (SS01)
|
||
|
{
|
||
|
Name (_ADR, 0x0D) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0x03,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x1,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
})
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (SS02)
|
||
|
{
|
||
|
Name (_ADR, 0x0E) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0x03,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x1,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
})
|
||
|
|
||
|
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (SS03)
|
||
|
{
|
||
|
Name (_ADR, 0x0F) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
0xFF,
|
||
|
0xFF,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Device (SS04)
|
||
|
{
|
||
|
Name (_ADR, 0x10) // _ADR: Address
|
||
|
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
|
||
|
{
|
||
|
Zero,
|
||
|
Zero,
|
||
|
Zero,
|
||
|
Zero
|
||
|
})
|
||
|
Name (_PLD, Package (0x01) // _PLD: Physical Location of Device
|
||
|
{
|
||
|
ToPLD (
|
||
|
PLD_Revision = 0x1,
|
||
|
PLD_IgnoreColor = 0x1,
|
||
|
PLD_Red = 0x0,
|
||
|
PLD_Green = 0x0,
|
||
|
PLD_Blue = 0x0,
|
||
|
PLD_Width = 0x0,
|
||
|
PLD_Height = 0x0,
|
||
|
PLD_UserVisible = 0x0,
|
||
|
PLD_Dock = 0x0,
|
||
|
PLD_Lid = 0x0,
|
||
|
PLD_Panel = "UNKNOWN",
|
||
|
PLD_VerticalPosition = "UPPER",
|
||
|
PLD_HorizontalPosition = "LEFT",
|
||
|
PLD_Shape = "UNKNOWN",
|
||
|
PLD_GroupOrientation = 0x0,
|
||
|
PLD_GroupToken = 0x0,
|
||
|
PLD_GroupPosition = 0x0,
|
||
|
PLD_Bay = 0x0,
|
||
|
PLD_Ejectable = 0x0,
|
||
|
PLD_EjectRequired = 0x0,
|
||
|
PLD_CabinetNumber = 0x0,
|
||
|
PLD_CardCageNumber = 0x0,
|
||
|
PLD_Reference = 0x0,
|
||
|
PLD_Rotation = 0x0,
|
||
|
PLD_Order = 0x0)
|
||
|
|
||
|
})
|
||
|
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||
|
{
|
||
|
Local0 = Package (0x00) {}
|
||
|
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
|
||
|
Return (Local0)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method (MBSD, 0, NotSerialized)
|
||
|
{
|
||
|
DEBUG = "XHC1:MBSD"
|
||
|
|
||
|
Return (One)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|