Contribute
Register

[Guide] 10.11+ USB changes and solutions

Status
Not open for further replies.
How are you doing Rehabman,

Trying to figure which one of your laptop DSDT match the one I have currently. Asus G51Jx. Intel first generation i7-720QM with GTX 360M Nvidia GPU. Works flawlessly in Yosemite but in EL Capitan all USB ports dead. I wonder if its the Intel USB controller Device ids as part of the problem? They are Intel 5 series. Renaming EHC1 to EH01 and EHC2 to EH02 did not seem to help. No USB 3 controllers on the Lappy!! Only USB 2 hub shows up in profiler and no USB devices will mount. Besides EHC there are USB0 through USB6 devices. DO I need to do anything with them?



LSPCI:


00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) (prog-if 20 [EHCI])


00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06) (prog-if 20 [EHCI]


From Yosemite system profiler and ioreg snapshots and some DSDT script to see.

Code:
[/FONT][/COLOR][COLOR=#232323][FONT=Menlo][COLOR=#222222][FONT=Verdana]            
Device (EH01)[/FONT][/COLOR][/FONT][/COLOR]
            {
                Name (_ADR, 0x001D0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x03))
                }


                Method (_DSM, 4, NotSerialized)
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                            0x03
                        })
                    }


                    Return (Package (0x11)
                    {
                        "AAPL,clock-id", 
                        Buffer (One)
                        {
                            0x01
                        }, 


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


                        "subsystem-id", 
                        Buffer (0x04)
                        {
                            0x70, 0x72, 0x00, 0x00
                        }, 


                        "subsystem-vendor-id", 
                        Buffer (0x04)
                        {
                            0x86, 0x80, 0x00, 0x00
                        }, 


                        "AAPL,current-available", 
                        0x05DC, 
                        "AAPL,current-extra", 
                        0x03E8, 
                        "AAPL,current-in-sleep", 
                        0x05DC, 
                        "AAPL,device-internal", 
                        0x02, 
                        Buffer (One)
                        {
                            0x00
                        }
                    })
                }
            }


            Device (USB0)
            {
                Name (_ADR, 0x001D0001)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x03, 0x03))
                }
            }


            Device (USB1)
            {
                Name (_ADR, 0x001D0002)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x04, 0x03))
                }
            }


            Device (USB2)
            {
                Name (_ADR, 0x001D0003)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0C, 0x03))
                }
            }


            Device (USB3)
            {
                Name (_ADR, 0x001D0004)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x03))
                }
            }


            Device (EH02)
            {
                Name (_ADR, 0x001A0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x03))
                }


                Method (_DSM, 4, NotSerialized)
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                            0x03
                        })
                    }


                    Return (Package (0x11)
                    {
                        "AAPL,clock-id", 
                        Buffer (One)
                        {
                            0x02
                        }, 


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


                        "subsystem-id", 
                        Buffer (0x04)
                        {
                            0x70, 0x72, 0x00, 0x00
                        }, 


                        "subsystem-vendor-id", 
                        Buffer (0x04)
                        {
                            0x86, 0x80, 0x00, 0x00
                        }, 


                        "AAPL,current-available", 
                        0x05DC, 
                        "AAPL,current-extra", 
                        0x03E8, 
                        "AAPL,current-in-sleep", 
                        0x05DC, 
                        "AAPL,device-internal", 
                        0x02, 
                        Buffer (One)
                        {
                            0x00
                        }
                    })
                }
            }


            Device (USB4)
            {
                Name (_ADR, 0x001A0001)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x05, 0x03))
                }
            }


            Device (USB5)
            {
                Name (_ADR, 0x001A0002)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x20, 0x03))
                }
            }


            Device (USB6)
            {
                Name (_ADR, 0x001A0003)
                OperationRegion (BAR0, PCI_Config, 0xC0, 0x05)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    UBL1,   16, 
                            Offset (0x04), 
                    P0WE,   1, 
                    P1WE,   1, 
                            Offset (0x05)
                }


                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LOr (LEqual (MSOS (), OS9X), LEqual (MSOS (), OS98)), LEqual (
                        MSOS (), OSME)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }


                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (One, P0WE)
                        Store (One, P1WE)
                    }
                    Else
                    {
                        Store (Zero, P0WE)
                        Store (Zero, P1WE)
                    }
                }


                Method (UPAC, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (OSFG, OS9X))
                    {
                        Store (One, Local0)
                    }
                    Else
                    {
                        If (LEqual (OSFG, OS98))
                        {
                            Store (One, Local0)
                        }
                    }


                    If (Local0)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Return (One)
                        }
                    }


                    Return (Zero)
                }


                OperationRegion (UPCI, PCI_Config, 0x20, 0x04)
                Field (UPCI, ByteAcc, NoLock, Preserve)
                {
                    UBAS,   32
                }


                Name (BASA, 0xB400)
                Name (P0ST, Zero)
                Name (P1ST, Zero)
                Method (SSTA, 0, NotSerialized)
                {
                    Store (UBAS, BASA)
                    And (BASA, 0xFFFFFFFE, BASA)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }


                    Store (CCS0, P0ST)
                    Store (CCS1, P1ST)
                }


                Method (RSTA, 0, NotSerialized)
                {
                    Store (BASA, UBAS)
                    OperationRegion (UHCI, SystemIO, BASA, 0x20)
                    Field (UHCI, ByteAcc, NoLock, Preserve)
                    {
                        RSTP,   1, 
                        HRST,   1, 
                        GRST,   1, 
                                Offset (0x10), 
                        CCS0,   1, 
                        CSC0,   1, 
                        PED0,   1, 
                                Offset (0x12), 
                        CCS1,   1, 
                        CSC1,   1, 
                        PED1,   1
                    }
                }


                Method (USBS, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        SSTA ()
                    }
                }


                Method (USBW, 1, NotSerialized)
                {
                    If (UPAC (Arg0))
                    {
                        RSTA ()
                    }
                }


                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x25, 0x03))
                }
            }



 

Attachments

  • Yosemite_System_Profiler.png
    Yosemite_System_Profiler.png
    82.2 KB · Views: 367
  • Yosemite_Ioreg.png
    Yosemite_Ioreg.png
    204.4 KB · Views: 435
  • ElCap_System_Profiler.png
    ElCap_System_Profiler.png
    22.7 KB · Views: 346
  • ElCap_Ioreg.png
    ElCap_Ioreg.png
    118.9 KB · Views: 378
Only USB 2 hub shows up in profiler and no USB devices will mount.

What do you mean? Your ioreg images show USB ports working...

???
 
ELCap Ioreg image does? If so I need to figure out why USB mouse won't work. No LED and cannot mount USB flash drives.

Edited:

Look at all 4 screenshots.
 
ELCap Ioreg image does? If so I need to figure out why USB mouse won't work. No LED and cannot mount USB flash drives.

Edited:

Look at all 4 screenshots.

If you want help, post ioreg.
 
Thanks I appreciate it. I created both Yosemite and ElCapitan. Ports seem misconfigured in ELCapitan. These are USB2 ports. There are no physical USB3 ports in the laptop.
 

Attachments

  • Ioreg.zip
    925.7 KB · Views: 219
Thanks I appreciate it. I created both Yosemite and ElCapitan. Ports seem misconfigured in ELCapitan. These are USB2 ports. There are no physical USB3 ports in the laptop.

You need to create a port injector. Read post #1.
 
Actually I am reading now for a 2nd time slowly :). Will the port injector work for USB2? Would I use your FakePCIID and FakePCIID_XHCIMux and modify the info in FakePCIID_XHCIMux?

Would I be using port Ids that are in Yosemite ioreg?

EH01: <<this one is for the Physical connectors
1d110000
1d120000
1d130000
1d140000

EH02: << This is dedicated for Built in BT and camera
1a150000
1a160000
 
Actually I am reading now for a 2nd time slowly :). Will the port injector work for USB2? Would I use your FakePCIID and FakePCIID_XHCIMux and modify the info in FakePCIID_XHCIMux?

A port injector can be created for XHCI, EHCI controllers and hubs.

FakePCIID_XHCIMux is only for Intel XHCI controllers. It will not load unless the Intel XHCI controller is present.

Would I be using port Ids that are in Yosemite?

EH01: <<this one is for the Physical connectors
1d110000
1d120000
1d130000
1d140000

EH02: << This is dedicated for Built in BT and camera
1a150000
1a160000

For port addresses you need to look at _ADR for the respective ports in IOACPIPlane.
 
Would you happen to have a port injector for just USB2 that I can modify? I have no idea how to create one from scratch?

I still am not sure where to look for the addresses? The ones I posted above were from the ioreg left pane.
 

Attachments

  • Port_Addresses.png
    Port_Addresses.png
    105.2 KB · Views: 411
Would you happen to have a port injector for just USB2 that I can modify? I have no idea how to create one from scratch?

Examples are linked from post #1.

I still am not sure where to look for the addresses? The ones I posted above were from the ioreg left pane.

Look at the _ADR property on each port in IOACPIPlane.
 
Status
Not open for further replies.
Back
Top