Contribute
Register

Hp Spectre - Do I need USBInjectAll and/or port limit patch if laptop only has 3 USB ports and 1 of them is thunderbolt

Status
Not open for further replies.
Joined
Feb 18, 2012
Messages
98
Motherboard
Hp Spectre X360 15
CPU
i7 7500U
Graphics
620, 4K
Do I need USBInjectAll and/or port limit patch if laptop only has 3 external USB ports (1 USB type A, 2 USB type C) and 1 of them is thunderbolt.
2 internal ports are used by webcam and wifi. 3 external ports means 6 total ports (usb2/3).
Currently I don't have either USBInjectAll or any port limit patch installed.


Screen Shot 2019-10-20 at 12.23.55 PM.png
 
Do I need USBInjectAll and/or port limit patch if laptop only has 3 external USB ports (1 USB type A, 2 USB type C) and 1 of them is thunderbolt.
2 internal ports are used by webcam and wifi. 3 external ports means 6 total ports (usb2/3).
Currently I don't have either USBInjectAll or any port limit patch installed.


View attachment 431734
use the port limit patch to determine your ports

then use either USBInjectAll.kext and .aml file

or only use the USBPort.kext files

then remove the port limit patch in config.plist

best to setup your ports correctly no matter how many ports you use
 
Do I need USBInjectAll and/or port limit patch if laptop only has 3 external USB ports (1 USB type A, 2 USB type C) and 1 of them is thunderbolt. 2 internal ports are used by webcam and wifi. 3 external ports means 6 total ports (usb2/3).Currently I don't have either USBInjectAll or any port limit patch installed.


@johnyg07,


Your screen grab shows that all your USB ports are correctly defined, so you could probably leave things as they are.
There is no need to use a port limit patch as you have less than 15 ports (it should only be used for port discovery)

If you want to use a belt and braces approach you could manually define the USB port types either with USBInjectAll + SSDT-UIAC or use Hackintool's generated USBPorts kext.

As you can see you have one unknown internal port (HS06) which is not used by the system which would be removed if you used one of the methods to define your ports.

This is what my ports look like on my 2017 HP Spectre X360 :-
Screenshot 2019-10-20 at 17.45.06.png
I use USBInjectAll with custom SSDT-UIAC :-

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "_UIAC", 0x00000000)
{
    Device (UIAC)
    {
        Name (_HID, "UIA00000")  // _HID: Hardware ID
        Name (RMCF, Package (0x02)
        {
            "8086_9d2f",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x0E, 0x00, 0x00, 0x00                    
                },

                "ports",
                Package (0x0C)
                {
                    "SS01",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x0D, 0x00, 0x00, 0x00                    
                        }
                    },

                    "HS02",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x0A,
                        "port",
                        Buffer (0x04)
                        {
                             0x02, 0x00, 0x00, 0x00                    
                        }
                    },

                    "HS07",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x07, 0x00, 0x00, 0x00                    
                        }
                    },

                    "HS05",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                    
                        }
                    },

                    "SS02",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x0A,
                        "port",
                        Buffer (0x04)
                        {
                             0x0E, 0x00, 0x00, 0x00                    
                        }
                    },

                    "HS01",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                    
                        }
                    }
                }
            }
        })
    }
}


It looks like your X360 has the same port config as me so the above should work for you, just copy and paste the code into MaciASL and compile as ASL and save the file in /EFI/Clover/ACPI/Patched. Then install USBInjectAll in /L/E.

Alternatively you can use Hackintool to generate a USBPorts Kext.

Cheers
Jay
 
Last edited:
Status
Not open for further replies.
Back
Top