SchmockLord / Gigabyte-Z590i-Vision-D-11900k

155 stars 25 forks source link

Thunderbolt 3 No Devices #56

Open max3-2 opened 1 year ago

max3-2 commented 1 year ago

Hi,

first of all sorry for all the issues but Im trying to get this working (perfectly) on the Vision D ATX and have stumbled across another small issue which might be related to ports and adresses.

In short, I have a CalDigit TS3 Dock on the Thunderbolt Port. I know this works, I have tested it on this machine under Windows and on another Mac (Apple original).

Under my Hack, which is pretty much the same config as this one here besides being on ATX, I see the following (in System Profiler):

Are there PCI address mapped in any of the AML files which might be off for the ATX board? I understand the MAPLE-RIDGE is for HotPlug, disabling / enabling does not help. Is anything needed in the USB mapping AML? I don’t see the TB ports mentioned in there for the ATX Variant.

Does anyone has TB working on the ATX?

Thanks for the great work with the setup so far and thanks for any help!

max3-2 commented 1 year ago

So I tested more and more and can't get my head around this not working. Not only no ethernet but display support via Dock is also not working.

1) I checked my DMAR (see below) - there's no restricted regions so I guess I don't need patches. 2) VT-d is on. No issues with Bluetooth or ethernet either

Screenshot 2023-11-03 at 14 34 47

3) Running pretty much the same config as here now. Tried Ethernet patches on or off no difference 4) Tried the Hotplut SSDT on or off. No change.

@SchmockLord Did you had an TB Dock (with Ethernet) running in any of your tests with this setup?

DMAR original (and used since no patched:

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20200925 (64-bit version)
 * Copyright (c) 2000 - 2020 Intel Corporation
 * 
 * Disassembly of iASLlSkFg1.aml, Fri Nov  3 14:37:48 2023
 *
 * ACPI Data Table [DMAR]
 *
 * Format: [HexOffset DecimalOffset ByteLength]  FieldName : FieldValue
 */

[000h 0000   4]                    Signature : "DMAR"    [DMA Remapping table]
[004h 0004   4]                 Table Length : 00000050
[008h 0008   1]                     Revision : 02
[009h 0009   1]                     Checksum : 41
[00Ah 0010   6]                       Oem ID : "INTEL "
[010h 0016   8]                 Oem Table ID : "EDK2    "
[018h 0024   4]                 Oem Revision : 00000002
[01Ch 0028   4]              Asl Compiler ID : "    "
[020h 0032   4]        Asl Compiler Revision : 01000013

[024h 0036   1]           Host Address Width : 26
[025h 0037   1]                        Flags : 01
[026h 0038  10]                     Reserved : 00 00 00 00 00 00 00 00 00 00

[030h 0048   2]                Subtable Type : 0000 [Hardware Unit Definition]
[032h 0050   2]                       Length : 0020

[034h 0052   1]                        Flags : 01
[035h 0053   1]                     Reserved : 00
[036h 0054   2]           PCI Segment Number : 0000
[038h 0056   8]        Register Base Address : 00000000FED91000

[040h 0064   1]            Device Scope Type : 03 [IOAPIC Device]
[041h 0065   1]                 Entry Length : 08
[042h 0066   2]                     Reserved : 0000
[044h 0068   1]               Enumeration ID : 02
[045h 0069   1]               PCI Bus Number : 00

[046h 0070   2]                     PCI Path : 1E,07

[048h 0072   1]            Device Scope Type : 04 [Message-capable HPET Device]
[049h 0073   1]                 Entry Length : 08
[04Ah 0074   2]                     Reserved : 0000
[04Ch 0076   1]               Enumeration ID : 00
[04Dh 0077   1]               PCI Bus Number : 00

[04Eh 0078   2]                     PCI Path : 1E,06

Raw Table Data: Length 80 (0x50)

    0000: 44 4D 41 52 50 00 00 00 02 41 49 4E 54 45 4C 20  // DMARP....AINTEL 
    0010: 45 44 4B 32 20 20 20 20 02 00 00 00 20 20 20 20  // EDK2    ....    
    0020: 13 00 00 01 26 01 00 00 00 00 00 00 00 00 00 00  // ....&...........
    0030: 00 00 20 00 01 00 00 00 00 10 D9 FE 00 00 00 00  // .. .............
    0040: 03 08 00 00 02 00 1E 07 04 08 00 00 00 00 1E 06  // ................
max3-2 commented 1 year ago

Just for fun I tried booting from an USB made from this exact Repo config. Just changed the UIDs and switched USB ports. Same issues :(

What are the chances that my dock has issues with just this TB controller and not the other Mac?

max3-2 commented 1 year ago

Alright now here's an update:

So this took a while but I at least tracked it down. It is the AppleIGC.kext which I had as a replacement for the i225 compatibility in upcoming Sonoma. As soon as this in there, TB ethernet breaks. TB ethernet also uses the same driver as onboard ethernet (but onboard works with AppleIGC 😕 )

I still don't get my dock as TB device but now I get ethernet on TB bus, see image attached.

I'll keep this unsolved / running if anyone has ideas or experience why the dock does not show up as TB device but the rest is working (and ethernet is mapped ob TB, too...). Let my ask again @SchmockLord did you try the new 0.9.5 tag with AppleIGC on a TB dock, preferably stating which dock? Thanks! (and again thanks for the great working baseline here!)

works