Contribute
Register

x1 carbon 2015 usbinject 10.13.2

Status
Not open for further replies.
When you exceed the port limit (via the port limit patch and all ports injected), you tend to have the power properties damaged.
When you stay within the 15-port limit, the power properties are not corrupted.

You can test all ports without the port limit patch but it gets tricky as you must do so in groups of less than 15, eventually testing all of them.

It is impossible to reach the limit of 15. The laptop only has 2 ports. I do not understand how to configure it, I have tried it with 10 different pen and all of them give me power error ...
 
It is impossible to reach the limit of 15. The laptop only has 2 ports. I do not understand how to configure it, I have tried it with 10 different pen and all of them give me power error ...

The limit has nothing to do with the number of ports your laptop has.
It has to do with the number of ports supported by the xHCI controller (some xHCI controllers support more than 15 ports).
You will need to work through the guide to reduce the ports to only those actually connected.
A USB3 hub is very useful for that purpose.
 
The limit has nothing to do with the number of ports your laptop has.
It has to do with the number of ports supported by the xHCI controller (some xHCI controllers support more than 15 ports).
You will need to work through the guide to reduce the ports to only those actually connected.
A USB3 hub is very useful for that purpose.

This is the results of my testing :

Eh01:



Pr11: internal hub

Hp11 usb2 left

Hp12: usb2 right

HP16: Idk but internal

Hp18 camera



Xhc:



Ssp1:usb3.left

Ssp2 usb3 right



Only have 2 ports in all laptop, usb2 and usb 3

usb2.0 test:
Screen_Shot_2018_01_09_at_21_28_03.png

Usb 3.0
Screen_Shot_2018_01_09_at_21_29_09.png


Usb ssdt:

Code:
// Port trimmed SSDT-UIAC.dsl for X1C GEN3
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP13", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 3, 0, 0, 0 },
                    },
                    "HP14", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HP16", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HP17", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HP18", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 255,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                },
            },
            "EH01", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "PR11", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                },
            },
            "8086_9c31", Package()
            {
                "port-count", Buffer() { 13, 0, 0, 0 },
                "ports", Package()
                {
                    "SSP1", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 10, 0, 0, 0 },
                    },
                    "SSP2", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 11, 0, 0, 0 },
                    },
                },
            },
        })
    }
}
//EOF

RESULT:

Continue give me error when I connect usb pen...Really similar config that u430
 
This is the results of my testing :

Eh01:



Pr11: internal hub

Hp11 usb2 left

Hp12: usb2 right

HP16: Idk but internal

Hp18 camera



Xhc:



Ssp1:usb3.left

Ssp2 usb3 right



Only have 2 ports in all laptop, usb2 and usb 3

usb2.0 test:
Screen_Shot_2018_01_09_at_21_28_03.png

Usb 3.0
Screen_Shot_2018_01_09_at_21_29_09.png


Usb ssdt:

Code:
// Port trimmed SSDT-UIAC.dsl for X1C GEN3
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP13", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 3, 0, 0, 0 },
                    },
                    "HP14", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HP16", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HP17", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HP18", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 255,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                },
            },
            "EH01", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "PR11", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                },
            },
            "8086_9c31", Package()
            {
                "port-count", Buffer() { 13, 0, 0, 0 },
                "ports", Package()
                {
                    "SSP1", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 10, 0, 0, 0 },
                    },
                    "SSP2", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 11, 0, 0, 0 },
                    },
                },
            },
        })
    }
}
//EOF

RESULT:

Continue give me error when I connect usb pen...Really similar config that u430

HP11/HP12 should not be portType=2 (portType=2 is only for internal devices).

And...
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.

Note: HP16 may be a fingerprint reader or bluetooth.
 
HP11/HP12 should not be portType=2 (portType=2 is only for internal devices).

And...
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.

Note: HP16 may be a fingerprint reader or bluetooth.

At the moment with this "scenario" the usb pen 3.0 its detected correctly. Mouse usb 2.0 work good too.

I need fake xhci?

EHCI disable its a good option?

Attached problem reporting.

Thanks for you help...
 

Attachments

  • debug_4296.zip
    1.1 MB · Views: 69
At the moment with this "scenario" the usb pen 3.0 its detected correctly. Mouse usb 2.0 work good too.

I need fake xhci?

EHCI disable its a good option?

Attached problem reporting.

Thanks for you help...

Your SSDT-USB.aml is coded incorrectly.
Your XHC device-id is 9cb1, not 9c31.
 
Your SSDT-USB.aml is coded incorrectly.
Your XHC device-id is 9cb1, not 9c31.
Ok solved, I need FakePCIID_XHCIMux.kext?? Im a bit lose...

With this scenario camera don't work...If I don have ssdt usb camera works but no ports. Hs18 its webcam

Attached new problem reporting

Thanks.
 

Attachments

  • debug_14214.zip
    1.1 MB · Views: 88
Last edited:
Ok solved, I need FakePCIID_XHCIMux.kext?? Im a bit lose...

With this scenario camera don't work...If I don have ssdt usb camera works but no ports. Hs18 its webcam

Attached new problem reporting

Thanks.

Your SSDT-USB.aml is coded incorrectly.
The port addresses for SSP1/SSP2 are incorrect.
The port addresses in SSDT-UIAC-ALL.dsl are correct.
 
Your SSDT-USB.aml is coded incorrectly.
The port addresses for SSP1/SSP2 are incorrect.
The port addresses in SSDT-UIAC-ALL.dsl are correct.
Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")

        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP13", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 3, 0, 0, 0 },
                    },
                    "HP14", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HP16", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HP17", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 7, 0, 0, 0 },
                    },
                    "HP18", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 8, 0, 0, 0 },
                    },
                },
            },

            "EH01",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x08, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x02)
                {
                    "PR11",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            },

            "8086_9cb1", Package()
            {
                "port-count", Buffer() { 15, 0, 0, 0 },
                "ports", Package()
                {
                    "SSP1", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 12, 0, 0, 0 },
                    },
                    "SSP2", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 13, 0, 0, 0 },
                    },
                },
            },
         
        })
    }
}

At the moment all works!!

Question I need FakePCIID_XHCIMux.kext?

Attached new problem reporting.

Thanks for you help, you are amazing...time to donate for the project
 

Attachments

  • debug_17725.zip
    1.1 MB · Views: 61
Question I need FakePCIID_XHCIMux.kext?

FakePCIID_XHCIMux.kext is needed if you plan to use the EHCI controller (as you are currently).
The alternate setup is to disable the EHCI controller such that everything is on XHC.
Both are covered in my USBInjectAll guide.
 
Status
Not open for further replies.
Back
Top