From 5a7f8160275c87c0604ef675d994617ff8d38d61 Mon Sep 17 00:00:00 2001 From: Benjamin Bender Date: Tue, 17 Nov 2020 10:40:57 +0100 Subject: [PATCH 1/2] Update SSDT-XHC1.dsl Fix companion-port-setup --- patches/SSDT-XHC1.dsl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/patches/SSDT-XHC1.dsl b/patches/SSDT-XHC1.dsl index 16ad6be..222816a 100644 --- a/patches/SSDT-XHC1.dsl +++ b/patches/SSDT-XHC1.dsl @@ -47,8 +47,8 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) External (_SB.PCI0.XHC_.XPS0, MethodObj) External (_SB.PCI0.XHC_.XPS3, MethodObj) - External (_SB.PCI0.RP09.UPSB.DSB2.XHC2, DeviceObj) - External (_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU, MethodObj) // 0 Arguments + External (_SB.PCI0.RP09.PXSX.DSB2.XHC2, DeviceObj) + External (_SB.PCI0.RP09.PXSX.DSB2.XHC2.MODU, MethodObj) // 0 Arguments External (_SB.PCI0.RP09.UPN1, IntObj) External (_SB.PCI0.RP09.UPN2, IntObj) @@ -158,9 +158,9 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) */ Method (MODU, 0, Serialized) { - // If (CondRefOf (\_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU, Local0)) + // If (CondRefOf (\_SB.PCI0.RP09.PXSX.DSB2.XHC2.MODU, Local0)) // { - // Local0 = \_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU () + // Local0 = \_SB.PCI0.RP09.PXSX.DSB2.XHC2.MODU () // } // Local1 = Zero @@ -184,9 +184,9 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) Local0 = One - If (CondRefOf (\_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU)) + If (CondRefOf (\_SB.PCI0.RP09.PXSX.DSB2.XHC2.MODU)) { - Local0 = (\_SB.PCI0.RP09.UPSB.DSB2.XHC2.MODU ()) + Local0 = (\_SB.PCI0.RP09.PXSX.DSB2.XHC2.MODU ()) } Debug = Concatenate ("XHC:MODU - Result: ", Local0) @@ -428,7 +428,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) { Method (_UPC, 0, NotSerialized) // _UPC: USB Port Capabilities { - If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2)) + If (CondRefOf (\_SB_.PCI0.RP09.PXSX.DSB2.XHC2)) { Debug = "XHC:U2OP - companion ports enabled" } @@ -455,7 +455,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) Return (Local0) } - If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2)) + If (CondRefOf (\_SB_.PCI0.RP09.PXSX.DSB2.XHC2)) { Name (SSP, Package (0x02) { @@ -512,7 +512,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) Return (Local0) } - If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2)) + If (CondRefOf (\_SB_.PCI0.RP09.PXSX.DSB2.XHC2)) { Name (SSP, Package (0x02) { @@ -827,7 +827,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) Return (One) } - If (CondRefOf (\_SB_.PCI0.RP09.UPSB.DSB2.XHC2)) + If (CondRefOf (\_SB_.PCI0.RP09.PXSX.DSB2.XHC2)) { Name (SSP, Package (0x01) { @@ -840,4 +840,4 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_XHC1", 0x00001000) } } } -} \ No newline at end of file +} From b264a7481a2efe48803dbe4845cc10b0eb453985 Mon Sep 17 00:00:00 2001 From: Benjamin Bender Date: Tue, 17 Nov 2020 10:42:02 +0100 Subject: [PATCH 2/2] Update SSDT-TB-DSB2-XHC2.dsl Enable connecton-handling --- patches/SSDT-TB-DSB2-XHC2.dsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/SSDT-TB-DSB2-XHC2.dsl b/patches/SSDT-TB-DSB2-XHC2.dsl index 619b3a1..e90456b 100644 --- a/patches/SSDT-TB-DSB2-XHC2.dsl +++ b/patches/SSDT-TB-DSB2-XHC2.dsl @@ -69,7 +69,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TBXHC2", 0x00003000) If (OSDW ()) { - // PCED () + PCED () If (CondRefOf (\_SB.PCI0.RP09.TBST)) {