Contribute
Register

[Solved] different USB ports stop working randomly

Status
Not open for further replies.
That was amazing!!! It worked. Thanks. Going to run a few more tests but everything looks good. I just need to disable the rest of the ports that I don't need now.

You are not done until you remove unused ports and set UsbConnector correctly for each port (and remove the port limit patch, as you should be at or under 15).
 
You are not done until you remove unused ports and set UsbConnector correctly for each port (and remove the port limit patch, as you should be at or under 15).

So all the ports are working fine now. Do I need to remove the un-used ports and set the UsbConnector from the patched DSDT.aml? If so could you give me some pointers?
 
So all the ports are working fine now. Do I need to remove the un-used ports and set the UsbConnector from the patched DSDT.aml? If so could you give me some pointers?

As per guide, using the port limit patch is only for short-term use (port discovery).
You must eliminate unused ports to stay within the 15-port limit.
And there are also known problems when you have the wrong UsbConnector value.

The guide covers both. It does not involve DSDT.
 
As per guide, using the port limit patch is only for short-term use (port discovery).
You must eliminate unused ports to stay within the 15-port limit.
And there are also known problems when you have the wrong UsbConnector value.

The guide covers both. It does not involve DSDT.


Thank you. I have edited the file and am getting ready to compile but every time I do MaciASL just hangs. Is it something wrong with my code or is it a MaciASL issue. Here is my final code:

Code:
// SSDT-UIAC-ALL.dsl
//
// This SSDT can be used as a template to build your own
// customization for USBInjectAll.kext.
//
// This SSDT contains all ports, so using it is the same as without
// a custom SSDT.  Delete ports that are not connected or ports you
// do not need.
//
// Change the UsbConnector or portType as needed to match your
// actual USB configuration.
//

// Initial trimmed SSDT-UIAC.dsl for GX-170X-ULTRA GAMING

DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
            "8086_a12f", Package()
            {
                "port-count", Buffer() { 26, 0, 0, 0 },
                "ports", Package()
                {
                    "HS01", Package() // Front Port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HS02", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HS03", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 3, 0, 0, 0 },
                    },
                    "HS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HS05", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HS06", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                   "HS13", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 13, 0, 0, 0 },
                    },
                    "HS14", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 14, 0, 0, 0 },
                    },
                    "SS01", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 17, 0, 0, 0 },
                    },
                    "SS03", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 19, 0, 0, 0 },
                    },
                    "SS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 20, 0, 0, 0 },
                    },
                    "SS05", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 21, 0, 0, 0 },
                    },
                    "SS06", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 22, 0, 0, 0 },
                    },

                },
            },
        })
    }
}
//EOF
 
Thank you. I have edited the file and am getting ready to compile but every time I do MaciASL just hangs. Is it something wrong with my code or is it a MaciASL issue. Here is my final code:

Code:
// SSDT-UIAC-ALL.dsl
//
// This SSDT can be used as a template to build your own
// customization for USBInjectAll.kext.
//
// This SSDT contains all ports, so using it is the same as without
// a custom SSDT.  Delete ports that are not connected or ports you
// do not need.
//
// Change the UsbConnector or portType as needed to match your
// actual USB configuration.
//

// Initial trimmed SSDT-UIAC.dsl for GX-170X-ULTRA GAMING

DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
            "8086_a12f", Package()
            {
                "port-count", Buffer() { 26, 0, 0, 0 },
                "ports", Package()
                {
                    "HS01", Package() // Front Port
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HS02", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HS03", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 3, 0, 0, 0 },
                    },
                    "HS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HS05", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HS06", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                   "HS13", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 13, 0, 0, 0 },
                    },
                    "HS14", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 14, 0, 0, 0 },
                    },
                    "SS01", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 17, 0, 0, 0 },
                    },
                    "SS03", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 19, 0, 0, 0 },
                    },
                    "SS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 20, 0, 0, 0 },
                    },
                    "SS05", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 21, 0, 0, 0 },
                    },
                    "SS06", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 22, 0, 0, 0 },
                    },

                },
            },
        })
    }
}
//EOF

Your file compiles without issue. Make sure you're using the correct MaciASL with ACPI 6.1.
 
Your file compiles without issue. Make sure you're using the correct MaciASL with ACPI 6.1.

All done. For some reason my MaciASL was working on ACPI 4. Downloaded a new version and it's all compiled perfectly.

I just wanted to give you my heartiest thanks. Couldn't have done it without your help and the amazing work you have done with the patches.
 
All done. For some reason my MaciASL was working on ACPI 4. Downloaded a new version and it's all compiled perfectly.

I just wanted to give you my heartiest thanks. Couldn't have done it without your help and the amazing work you have done with the patches.

Are you using the file in #14? Or have you made changes? That file looks a bit peculiar (HS02 without SS02...).
 
Are you using the file in #14? Or have you made changes? That file looks a bit peculiar (HS02 without SS02...).
Nice one for catching that. It was a typo so HS02 lost USB 3. I fixed it. Would you like me to post the final results?
 
All USB ports are now working



Screen Shot 2017-01-06 at 00.13.17.png


Code:
iMac:~ ash$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_XHCIMux.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleIntelE1000e.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HDAEnabler1.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kxld[com.apple.driver.AppleHDAController]: The following symbols are unresolved for this kext:
kxld[com.apple.driver.AppleHDAController]:     _gAudioStackDebugFlags
Link failed (error code 5).
Prelink failed for com.apple.driver.AppleHDAController; omitting from prelinked kernel.
KernelCache ID: BBC4E00C555F01AFF4AE144DFE234A2E
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
 

Attachments

  • Clover.zip
    10.5 MB · Views: 99
  • SSDT-UIAC.aml
    658 bytes · Views: 128
  • USBworking.ioreg
    5.6 MB · Views: 147
Status
Not open for further replies.
Back
Top