Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Your custom SSDT is SSDT-UIAC.aml in ACPI/patched.
config.plist/ACPI/SortedOrder does not list it, therefore it is not loaded.
Thanks for catching that. I know better than to have added that in clover vs using Xcode of plist editor. Unfortunately I'm still having no luck. Updated problem reporting files attached.
 

Attachments

  • Archive_R1.zip
    2.6 MB · Views: 81
Thanks for catching that. I know better than to have added that in clover vs using Xcode of plist editor. Unfortunately I'm still having no luck. Updated problem reporting files attached.

Your config.plist specifies -uia_ignore_rmcf in Boot/Arguments.
So, even though SSDT-UIAC.aml is now loaded, USBInjectAll.kext ignores it.
 
Your config.plist specifies -uia_ignore_rmcf in Boot/Arguments.
So, even though SSDT-UIAC.aml is now loaded, USBInjectAll.kext ignores it.
Ok, corrected the boot arguments and still no luck lol
 

Attachments

  • Archive_R2.zip
    2.6 MB · Views: 65
Ok, corrected the boot arguments and still no luck lol

Your SSDT-UIAC.aml refers to objects/scopes that don't exist.
As a result, the entire thing is thrown out.

This code:
Code:
    Scope (_SB.PCI0)
    {
        Scope (EH01)
        {
            OperationRegion (PSTS, PCI_Config, 0x54, 0x02)
            Field (PSTS, WordAcc, NoLock, Preserve)
            {
                PSTE,   2
            }
        }

But you have no EH01/EHC1, because your computer has no EHCI controllers (100-series and later are xHCI only).

You need to remove all this code, as it does not apply to your hardware/ACPI set:
Code:
    Scope (_SB.PCI0)
    {
        Scope (EH01)
        {
            OperationRegion (PSTS, PCI_Config, 0x54, 0x02)
            Field (PSTS, WordAcc, NoLock, Preserve)
            {
                PSTE,   2
            }
        }

        Scope (LPCB)
        {
            OperationRegion (RMLP, PCI_Config, 0xF0, 0x04)
            Field (RMLP, DWordAcc, NoLock, Preserve)
            {
                RCB1,   32
            }

            OperationRegion (FDM1, SystemMemory, Add (And (RCB1, 0xFFFFFFFFFFFFC000), 0x3418), 0x04)
            Field (FDM1, DWordAcc, NoLock, Preserve)
            {
                    ,   15,
                FDE1,   1
            }
        }

        Device (RMD1)
        {
            Name (_HID, "RMD10000")  // _HID: Hardware ID
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                Store (0x03, ^^EH01.PSTE)
                Store (One, ^^LPCB.FDE1)
            }
        }
    }
 
Your SSDT-UIAC.aml refers to objects/scopes that don't exist.
As a result, the entire thing is thrown out.
Boom! That did the trick. So basically no need to disable something you don't have. Duh lol smh! Thanks for your patience and assistance @RehabMan ! I'm off to troubleshoot my hdmi port not working or showing in ioreg. Enjoy the rest of your weekend. :)
 
@RehabMan I think I got it.Can you please take a look.Only issue is that when a USB stick is inserted into one of the Front USB3 ports the Logitech MX mouse stops working.
 
@RehabMan I think I got it.Can you please take a look.Only issue is that when a USB stick is inserted into one of the Front USB3 ports the Logitech MX mouse stops working.

The hubs at SSP7/SSP8 are internal or external?
PR21 and PR11 have the wrong UsbConnector value (correct value is in SSDT-UIAC-ALL.dsl).
Didn't check anything else.
 
SSP8 are the 4USB3 Ports on the Rear.SSP7 is the 2 USB3 ports in the front which is connected to the MB Header.PR 21 is 2 USB2 Ports on the Rear and PR11 is 2 USB2 ports in the Front connected to the MB Header.I'll correct the Values for 21/11 which suppose to be 255 right?

PS:I forgot to mention that the wireless keyboard also stops working since they both use the same unifying usb receiver.it doesn’t happen if a USB2 device is plugged in though...
 
Last edited:
SSP8 are the 4USB3 Ports on the Rear.SSP7 is the 2 USB3 ports in the front which is connected to the MB Header.

Those are hubs. Should be marked internal (UsbConnector=255).

PR 21 is 2 USB2 Ports
PR11 is 2 USB2 ports

No. PR21 and PR11 are connected to an internal hub (UsbConnector=255). Do not confuse the controller port to which the hub is connected with the external ports connected to the hub.
 
Last edited:
IORegistryExplorer doesn't show any devices connected to XHC no matter what I do, and there is no EH0x/EHCx in there or in my DSDT either.
Screenshot 2018-10-15 at 13.34.30.png
 
Back
Top