Contribute
Register

Thunderbolt DSDT Patch Testing

Status
Not open for further replies.

tonymacx86

Administrator
Staff member
Joined
Nov 17, 2009
Messages
7,366
Motherboard
Z370N WIFI
CPU
i7 8700K
Graphics
HD 630
Mac
  1. MacBook Air
Classic Mac
  1. Apple
  2. PowerBook
Mobile Phone
  1. iOS
With thanks from PJALM's patches- with which i got a nice clean compile, I managed to patch in a bit of Thunderbolt support in system profiler for the Z87X-UD7-TH and Z77X-UP5-TH. Attached are the DSDTs.

View attachment Archive.zip

What was done was a comparison of the IOJones vs. the 2013 MacBook Pro setup. Then I just transferred the "tree" to the Haswell DSDT and the Ivy Bridge DSDT. What happens is pretty interesting in PCI devices. Not sure if this is any better or worse support per se, but thought I'd get the ball rolling a bit.

Screen Shot 2014-01-24 at 1.23.20 PM.pngScreen Shot 2014-01-24 at 1.23.28 PM.png

The following is under RP01:
Code:
                Device (UPSB)                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x04)
                            {
                                "PCI-Thunderbolt", 
                                One, 
                                "PinConfigurations", 
                                Buffer (Zero) {}
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }


                    Device (DSB0)
                    {
                        Name (_ADR, Zero)
                        Device (NHI0)
                        {
                            Name (_ADR, Zero)
                        }
                    }


                    Device (DSB1)
                    {
                        Name (_ADR, 0x00030000)
                        Method (_DSM, 4, NotSerialized)
                        {
                            Store (Package (0x04)
                                {
                                    "AAPL,slot-name", 
                                    Buffer (0x13)
                                    {
                                        "Thunderbolt Slot 1"
                                    }, 


                                    "PinConfigurations", 
                                    Buffer (Zero) {}
                                }, Local0)
                            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                            Return (Local0)
                        }


                        Device (UPS0)
                        {
                            Name (_ADR, Zero)
                            Device (DSB0)
                            {
                                Name (_ADR, Zero)
                                Device (DEV0)
                                {
                                    Name (_ADR, Zero)
                                }
                            }


                            Device (DSB3)
                            {
                                Name (_ADR, Zero)
                            }


                            Device (DSB5)
                            {
                                Name (_ADR, Zero)
                            }


                            Device (DSB6)
                            {
                                Name (_ADR, Zero)
                            }
                        }
                    }


                    Device (DSB2)
                    {
                        Name (_ADR, 0x00040000)
                        Method (_DSM, 4, NotSerialized)
                        {
                            Store (Package (0x04)
                                {
                                    "AAPL,slot-name", 
                                    Buffer (0x13)
                                    {
                                        "Thunderbolt Slot 2"
                                    }, 


                                    "PinConfigurations", 
                                    Buffer (Zero) {}
                                }, Local0)
                            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                            Return (Local0)
                        }
                    }


                    Device (DSB3)
                    {
                        Name (_ADR, 0x00050000)
                        Method (_DSM, 4, NotSerialized)
                        {
                            Store (Package (0x04)
                                {
                                    "AAPL,slot-name", 
                                    Buffer (0x13)
                                    {
                                        "Thunderbolt Slot 3"
                                    }, 


                                    "PinConfigurations", 
                                    Buffer (Zero) {}
                                }, Local0)
                            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                            Return (Local0)
                        }


                        Device (NHI0)
                        {
                            Name (_ADR, Zero)
                            Device (DSB1)
                            {
                                Name (_ADR, Zero)
                            }
                        }
                    }


                    Device (DSB4)
                    {
                        Name (_ADR, 0x00060000)
                        Method (_DSM, 4, NotSerialized)
                        {
                            Store (Package (0x04)
                                {
                                    "AAPL,slot-name", 
                                    Buffer (0x13)
                                    {
                                        "Thunderbolt Slot 4"
                                    }, 


                                    "PinConfigurations", 
                                    Buffer (Zero) {}
                                }, Local0)
                            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                            Return (Local0)
                        }
                    }


                    Name (_PRW, Package (0x02)
                    {
                        0x09, 
                        0x04
                    })
                }
 
Interesting Tony, i have some asus Z87 to test here, will be nice if i can run of of them. what Intel IC are on GBT board? you have any close pic or info about it?
 
Documentation moved into DSDT forum.

Explanation: This was a testing thread I was using a few months back. I figured I'd post this up in the forum so that people might be able to start working/testing with this edit.

Results: Not much different than stock ACPI. I eventually decided to just go with stock ACPI.

Please report results when testing on TH boards. Thanks in advance! :thumbup:
 
Is this a first step to Thunderbolt networking?
 
Will this DSDT work on a Z77X-UP4-TH too? The board has much similarities with the UP5.
 
GA-z77 x-up5 th

Bios F11

osx:10.9.2

boot:Chameleon

1,thunderbolt device as Thunderbolt AHCI Controller is OK,
2, can't be thunderbolt bridge...(thunderbolt device is none.)
 

Attachments

  • 1.jpg
    1.jpg
    183.7 KB · Views: 587
  • 2.jpg
    2.jpg
    211.4 KB · Views: 520
  • 3.jpg
    3.jpg
    74.8 KB · Views: 515
  • 4.jpg
    4.jpg
    196.7 KB · Views: 556
Are there new insights?
 
Now that's a question or better yet, an answer I would love to sink my teeth (my thunderbolt cable) into.

Any tried-and-true insights into reliable THUNDERBOLT support: I don't care about displays, me I am talking THUNDERBOLT RAID.

Anybody clever enough out there yet?
 
Status
Not open for further replies.
Back
Top