Contribute
Register

Gigabyte AORUS Gaming 5 - USB 3.1 gen 1 not working HIGH SIERRA

Status
Not open for further replies.
Joined
Dec 28, 2011
Messages
98
Motherboard
Asus Maximus IV Extreme-Z
CPU
i7-3770
Graphics
RX 480
Mobile Phone
  1. iOS
Hi all,

Been a while since I posted. I hope you're all well!

So I've built a hack with the following components:

Gigabyte AORUS Gaming 5
i7-8700
EVGA GTX 1050 SCC
32GB DDR4-3000 (Team Delta RGB)
Corsair RM650x PSU

So far I've gotten everything to work using Multibeast and Clover Configurator except for the on-board WIFI (I know this doesn't work at all) and the USB 3.0 controller. I think it's an ASMedia 3142. USB 2.0 drives work in all ports, USB 3.0 drives work in the rear 3.1 gen 2 port (which, I assume, means the USB-C port also works but don't have a device to test ATM), but all of the USB 3.0/1 ports do not recognize USB 3.0 devices, only USB 2.0. This is despite the USB 3.0 hub being recognized in Sysem Report.

I then realized that when using the GenericUSBXHCI.kext only USB 2 devices work. The 3.1 gen 2 port did not. So I removed it and instead used usbinjectall.kext along with @RehabMan's FakePIID_XHCIMux and FakePIID kexts. This got me to where I described above.

I also realize this is not a permanent solution.

Can anyone point me in the right direction here? I read on a thread by RehabMan that it is necessary to create your own custom SSDT and inject the devices with IORegistryExplorer. Is this correct? Does anyone have this pre-made for the AORUS Gaming 5 that they're willing to share with me? At the moment this is a bit out of my depth.

Thanks in advance!

Cheers :)
 
Last edited:
I found this on this site:

http://kgp-hackintosh-corner.com/guide

Can someone take a look at this let me know if I extract the SSDT .aml and insert this code if it will work? Excuse my noobness.

E.9.2.6) – XHC2,3,4 – ASMedia ASM3142 USB 3.1 Controller PCI Implementation:

DefintionBlock entry:

Code:
External (_SB_.PCI0.RP01.PXSX, DeviceObj)    // (from opcode)
External (_SB_.PCI0.RP01.XHC2, DeviceObj)    // (from opcode)
External (_SB_.PCI0.RP05.PXSX, DeviceObj)    // (from opcode)
External (_SB_.PCI0.RP05.XHC3, DeviceObj)    // (from opcode)
External (_SB_.PCI0.RP07.PXSX, DeviceObj)    // (from opcode)
External (_SB_.PCI0.RP07.XHC4, DeviceObj)    // (from opcode)

PCI Device Implementation:

Code:
Device (\_SB.PCI0.RP01.XHC2)
    {
        Name (_ADR, Zero)  // _ADR: Address
        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                     0x03   
                })
            }

            Store (Package (0x1B)
                {
                    "AAPL,slot-name",
                    Buffer (0x09)
                    {
                        "Built In"
                    },

                    "built-in",
                    Buffer (One)
                    {
                         0x00   
                    },

                    "device-id",
                    Buffer (0x04)
                    {
                         0x42, 0x21, 0x00, 0x00
                    },

                    "name",
                    Buffer (0x17)
                    {
                        "ASMedia XHC Controller"
                    },

                    "model",
                    Buffer (0x2F)
                    {
                        "ASMedia ASM3142 #1 1x USB 3.1 Type-C Internal "
                    },

                    "AAPL,current-available",
                    0x0834,
                    "AAPL,current-extra",
                    0x0A8C,
                    "AAPL,current-in-sleep",
                    0x0A8C,
                    "AAPL,max-port-current-in-sleep",
                    0x0834,
                    "AAPL,device-internal",
                    Zero,
                    "AAPL,clock-id",
                    Buffer (One)
                    {
                         0x01   
                    },

                    "AAPL,root-hub-depth",
                    0x1A,
                    "AAPL,XHC-clock-id",
                    One,
                    Buffer (One)
                    {
                         0x00   
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }
    }

    Name (_SB.PCI0.RP01.PXSX._STA, Zero)  // _STA: Status
    Device (\_SB.PCI0.RP05.XHC3)
    {
        Name (_ADR, Zero)  // _ADR: Address
        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                     0x03   
                })
            }

            Store (Package (0x1B)
                {
                    "AAPL,slot-name",
                    Buffer (0x09)
                    {
                        "Built In"
                    },

                    "built-in",
                    Buffer (One)
                    {
                         0x00   
                    },

                    "device-id",
                    Buffer (0x04)
                    {
                         0x42, 0x21, 0x00, 0x00
                    },

                    "name",
                    Buffer (0x17)
                    {
                        "ASMedia XHC Controller"
                    },

                    "model",
                    Buffer (0x2E)
                    {
                        "ASMedia ASM3142 #2 2x USB 3.1 Type-A External"
                    },

                    "AAPL,current-available",
                    0x0834,
                    "AAPL,current-extra",
                    0x0A8C,
                    "AAPL,current-in-sleep",
                    0x0A8C,
                    "AAPL,max-port-current-in-sleep",
                    0x0834,
                    "AAPL,device-internal",
                    Zero,
                    "AAPL,clock-id",
                    Buffer (One)
                    {
                         0x01   
                    },

                    "AAPL,root-hub-depth",
                    0x1A,
                    "AAPL,XHC-clock-id",
                    One,
                    Buffer (One)
                    {
                         0x00   
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }
    }

    Name (_SB.PCI0.RP05.PXSX._STA, Zero)  // _STA: Status
    Device (\_SB.PCI0.RP07.XHC4)
    {
        Name (_ADR, Zero)  // _ADR: Address
        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                     0x03   
                })
            }

            Store (Package (0x1B)
                {
                    "AAPL,slot-name",
                    Buffer (0x09)
                    {
                        "Built In"
                    },

                    "built-in",
                    Buffer (One)
                    {
                         0x00   
                    },

                    "device-id",
                    Buffer (0x04)
                    {
                         0x42, 0x21, 0x00, 0x00
                    },

                    "name",
                    Buffer (0x17)
                    {
                        "ASMedia XHC Controller"
                    },

                    "model",
                    Buffer (0x4A)
                    {
                        "ASMedia ASM3142 #3 1x USB 3.1 Type-A / ASM1543 1x USB 3.1 Type-C External"
                    },

                    "AAPL,current-available",
                    0x0834,
                    "AAPL,current-extra",
                    0x0A8C,
                    "AAPL,current-in-sleep",
                    0x0A8C,
                    "AAPL,max-port-current-in-sleep",
                    0x0834,
                    "AAPL,device-internal",
                    Zero,
                    "AAPL,clock-id",
                    Buffer (One)
                    {
                         0x01   
                    },

                    "AAPL,root-hub-depth",
                    0x1A,
                    "AAPL,XHC-clock-id",
                    One,
                    Buffer (One)
                    {
                         0x00   
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }
    }

    Name (_SB.PCI0.RP07.PXSX._STA, Zero)  // _STA: Status

The XHC2,XHC3,XHC4 ASMedia ASM3142/ASM1543 USB 3.1 onboard Intel XHCI controller PCI device implementation is valid for the ASUS Prime X299 Deluxe and for all other X299 mainboards with the same XHC USB3.1 controller ASMedia ASM3142 chipset configuration. Note that this SSDT-X299-iMacPro.aml device implementation also performs the following ACPI Replacements

PCI0.RP01.PXSX -> PCI0.RP01.XHC2
PCI0.RP05.PXSX -> PCI0.RP01.XHC3
PCI0.RP07.PXSX -> PCI0.RP01.XHC4

in concordance with the respective SMBIOS iMacPro1,1 variable naming. Verify and adopt/modify if necessary the corresponding “PCI0.RP01.XHC2”, “PCI0.RP05.XHC3”, “PCI0.RP07.XHC4” PCI device implementations by means of IOREG.
 
Upload an IOREG.sav and DSDT.aml for your mainboard.. ;)

Thanks! Will do so this evening. Appreciate the help!

Cheers :)
 
I used XHCI-300-series-injector.kext to get those ports to work on both my Gaming 5 and Gaming 7 mobo

I looked all over for that kext. Can you point me to it?

Cheers :)
 
I used XHCI-300-series-injector.kext to get those ports to work on both my Gaming 5 and Gaming 7 mobo

Is this the only kext you used? Do I need to install the USBInjectAll.kext as well? What about the PIID kexts?

Cheers :)
 
Status
Not open for further replies.
Back
Top