- Joined
- Jun 12, 2012
- Messages
- 349
- Motherboard
- ...
- CPU
- ...
- Graphics
- ...
Hi,
I updated this to work with BIOS 1.3.3 on the XPS 15 because Dell did this:
I believe the "SSDT-TB" file @dpassmor made will still work with my patch (below) + SSDT (attached):
I'm currently making my own equivalent to SSDT-TB, which I hope will eventually enable full thunderbolt hotplug support (right now just the NHI shows up when a thunderbolt device is plugged in. USB Type-C works perfectly, though). I think I have an idea of how to do it....
Also, the XRMV rename makes the SD Card reader disappear from OS X. I think it might be related to \_SB.PCI0.PEMC.CARD, which has an _RMV method. Does macOS only support one ExpressCard device at a time?
EDIT: Here's a cool pic of how it's going so far:
Why do forum spoiler tags not work?
I updated this to work with BIOS 1.3.3 on the XPS 15 because Dell did this:
Code:
Method (XTBT, 2, Serialized)
{
ADBG ("XTBT")
If (LEqual (CF2T, One))
{
ADBG ("Clear")
ADBG ("GPI_GPE_STS")
\_SB.CAGS (Arg1)
}
WWAK ()
WSUB (Arg0)
If (LEqual (TNAT, One))
{
Store (RSMI (Arg0), Local0)
If (LNot (Local0))
{
Return (Zero)
}
If (DMSI (Arg0))
{
Return (Zero)
}
}
If (GNIS (Arg0))
{
Return (Zero)
}
OperationRegion (SPRT, SystemIO, 0xB2, 0x02)
Field (SPRT, ByteAcc, Lock, Preserve)
{
SSMP, 8
}
ADBG ("TBT-HP-Handler")
ADBG ("PEG WorkAround")
PGWA (Arg0)
Acquire (OSUM, 0xFFFF)
Store (TBFF (Arg0), Local1)
If (LEqual (Local1, One))
{
Sleep (0x10)
Release (OSUM)
ADBG ("OS_Up_Received")
If (LAnd (LEqual (DPTF, One), LEqual (DDDR, One)))
{
If (LEqual (_REV, 0x05))
{
Return (Zero)
}
XTBT (TBSE, CPGN)
}
Return (Zero)
}
If (LEqual (Local1, 0x02))
{
ADBG ("Disconnect")
If (LEqual (OHPN, One))
{
NTFY (Arg0)
}
If (LEqual (GHPN, One))
{
NFYG ()
}
Sleep (0x10)
Release (OSUM)
P8XH (Zero, 0x7D)
ADBG ("Disconnect")
Return (Zero)
}
If (LEqual (SOHP, One))
{
ADBG ("TBT SW SMI")
Store (TBEF, TBSF)
Store (TBSW, SSMP)
Store (TEC0, TBSF)
Store (TBSW, SSMP)
}
If (LEqual (OHPN, One))
{
NTFY (Arg0)
}
If (LEqual (GHPN, One))
{
NFYG ()
}
If (LEqual (S0ID, One))
{
Notify (\_SB.LID0, 0x80)
}
Sleep (0x10)
Release (OSUM)
ADBG ("End-of-XTBT")
}
Method (_E42, 0, NotSerialized) // _Exx: Edge-Triggered GPE
{
ADBG ("_E42")
XTBT (TBSE, CPGN)
ADBG ("End-of-_E42")
}
Code:
<dict>
<key>Comment</key>
<string>Rename XTBT to YTBT, XTBT call redirect to solve recursion issue for USB-C hotplug, pair with SSDT-YTBT (credit dpassmor)</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
pABYVEJUVEJTRUNQR04=
</data>
<key>Replace</key>
<data>
pABZVEJUVEJTRUNQR04=
</data>
</dict>
I'm currently making my own equivalent to SSDT-TB, which I hope will eventually enable full thunderbolt hotplug support (right now just the NHI shows up when a thunderbolt device is plugged in. USB Type-C works perfectly, though). I think I have an idea of how to do it....
Also, the XRMV rename makes the SD Card reader disappear from OS X. I think it might be related to \_SB.PCI0.PEMC.CARD, which has an _RMV method. Does macOS only support one ExpressCard device at a time?
EDIT: Here's a cool pic of how it's going so far:
Attachments
Last edited: