Contribute
Register

[Guide] 10.11+ USB changes and solutions

Status
Not open for further replies.
This one is correctly mounting!
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC@14/XHC@14000000/SSP2@14b00000/USB3.0 Hub@14b00000/AppleUSB30GLHub@14b00000/AppleUSB30HubPort@14b10000/Rapidcase USB3@14b10000/IOUSBHostInterface@0/IOUSBMassStorageInterfaceNub/IOUSBMassStorageDriverNub/IOUSBMassStorageUASDriver/IOSCSITargetDevice/IOSCSIHierarchicalLogicalUnit@0000000000000000/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/TOSHIBA MD04ACA400 Media/IOGUIDPartitionScheme/TimeMachine@2


This one is an external 3,5 inch drive but mounting as internal - Removable = False
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC@14/XHC@14000000/HS02@14200000/USB2.0 Hub@14200000/AppleUSB20Hub@14200000/AppleUSB20HubPort@14230000/LaCie Hard Drive USB@14230000/MSC Bulk-Only Transfer@0/IOUSBMassStorageInterfaceNub/IOUSBMassStorageDriverNub/IOUSBMassStorageDriver/IOSCSILogicalUnitNub@0/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/ST310003 33AS Media/IOGUIDPartitionScheme/EntertainBackup@2


This one is also an external 3,5 inch drive but mounting as internal - Removable = False
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC@14/XHC@14000000/SSP2@14b00000/USB3.0 Hub@14b00000/AppleUSB30GLHub@14b00000/AppleUSB30HubPort@14b20000/Rapidcase USB3@14b20000/IOUSBHostInterface@0/IOUSBMassStorageInterfaceNub/IOUSBMassStorageDriverNub/IOUSBMassStorageUASDriver/IOSCSITargetDevice/IOSCSIHierarchicalLogicalUnit@0000000000000000/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/ST1000DM 003-9YN162 Media/IOGUIDPartitionScheme/SoftBackup@2




It seems like you have some of your USB2 ports marked as USB3 (UsbConnector should be 0 for HSxx ports that are not attached to a USB3 port).

Also, what specific devices (in ioreg) are incorrectly detected as internal. Which are detected correctly?
 
This one is correctly mounting!
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC@14/XHC@14000000/SSP2@14b00000/USB3.0 Hub@14b00000/AppleUSB30GLHub@14b00000/AppleUSB30HubPort@14b10000/Rapidcase USB3@14b10000/IOUSBHostInterface@0/IOUSBMassStorageInterfaceNub/IOUSBMassStorageDriverNub/IOUSBMassStorageUASDriver/IOSCSITargetDevice/IOSCSIHierarchicalLogicalUnit@0000000000000000/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/TOSHIBA MD04ACA400 Media/IOGUIDPartitionScheme/TimeMachine@2


This one is an external 3,5 inch drive but mounting as internal - Removable = False
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC@14/XHC@14000000/HS02@14200000/USB2.0 Hub@14200000/AppleUSB20Hub@14200000/AppleUSB20HubPort@14230000/LaCie Hard Drive USB@14230000/MSC Bulk-Only Transfer@0/IOUSBMassStorageInterfaceNub/IOUSBMassStorageDriverNub/IOUSBMassStorageDriver/IOSCSILogicalUnitNub@0/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/ST310003 33AS Media/IOGUIDPartitionScheme/EntertainBackup@2


This one is also an external 3,5 inch drive but mounting as internal - Removable = False
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC@14/XHC@14000000/SSP2@14b00000/USB3.0 Hub@14b00000/AppleUSB30GLHub@14b00000/AppleUSB30HubPort@14b20000/Rapidcase USB3@14b20000/IOUSBHostInterface@0/IOUSBMassStorageInterfaceNub/IOUSBMassStorageDriverNub/IOUSBMassStorageUASDriver/IOSCSITargetDevice/IOSCSIHierarchicalLogicalUnit@0000000000000000/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/ST1000DM 003-9YN162 Media/IOGUIDPartitionScheme/SoftBackup@2

Is the hub at HS02 and SSP2 internal? If so, why is UsbConnector=3. Internal devices should be UsbConnector=255.
 
No both of them is connected with an external usb3 hub which is connected to my computer's USB3 rear port.
width(300).jpg



By the way i have been trying to understand from this link
https://www.tonymacx86.com/threads/10-11-0-10-11-3-skylake-starter-guide.179221/

Change the code after "UsbConnector" to be one of the following:
0 if it's a regular USB2 connector ("Type A") or a USB2 motherboard header
3 if it's a regular USB3 connector ("Type A") or a USB3 motherboard header
10 if it's a USB3 Type C connector
255 if it's an internal Bluetooth device or other "proprietary" type of connector
There are more values in the ACPI specification, but I'd be surprised if you needed them.


It is hard to understand which one is correct.
For example i have used 1 usb2.0 connector from motherboard to the case. (Bottom right USB2.0)
If i understood correctly it is a regular USB2 connector type a and it should be "0"
It is HS13 in my SDST.

"HS13", Package() // USB2 motherboard header Front Top Left, port <0d 00 00 00>
{
"UsbConnector", 0,
"port", Buffer() { 0x0d, 0, 0, 0 },
},

PizWBio.jpg







Is the hub at HS02 and SSP2 internal? If so, why is UsbConnector=3. Internal devices should be UsbConnector=255.
 
Last edited:
Without hub they are working as it should be. And i have fixed Usbconnector id problems.

It was hard to understand, but i decided to go windows and used a program "usbtreeview", which shows all about usb ports.
I tested all my ports with both a usb2.0 and 3.0 flash drive. (plugged and unplugged to every port).

All acpi info is matching with windows10. With the help of Connection Flags like 0x00 or 0x03 (255 and 3), i added to my ssdt.
Right now it is working nicely. Of course i removed my 15 port limit from KextstoPatch in clover. My total ports were 16 and excluded 1 of them
with boot flag uia_exclude=SSP1.

Here is final look from IORegistryExplorer
pZx24ud.png


Thanks RehabMan!
I appreciate your help.


Compare with results without the hub.
 
Without hub they are working as it should be. And i have fixed Usbconnector id problems.

It was hard to understand, but i decided to go windows and used a program "usbtreeview", which shows all about usb ports.
I tested all my ports with both a usb2.0 and 3.0 flash drive. (plugged and unplugged to every port).

All acpi info is matching with windows10. With the help of Connection Flags like 0x00 or 0x03 (255 and 3), i added to my ssdt.
Right now it is working nicely. Of course i removed my 15 port limit from KextstoPatch in clover. My total ports were 16 and excluded 1 of them
with boot flag uia_exclude=SSP1.

Here is final look from IORegistryExplorer
pZx24ud.png


Thanks RehabMan!
I appreciate your help.

Try a different hub.
 
Now i really messed something up and to be honest i dont know what ive done or if i done anything at all.
Now none of ports goes to XHC and most of the ports dont work at all.
Yesterday i had all ports except two working as supposed, after restart my keyboard and mice stopped working (ports were unpowered) and since then those ports dont even work in BIOS.
 

Attachments

  • 1.zip
    2.5 MB · Views: 91
Now i really messed something up and to be honest i dont know what ive done or if i done anything at all.
Now none of ports goes to XHC and most of the ports dont work at all.
Yesterday i had all ports except two working as supposed, after restart my keyboard and mice stopped working (ports were unpowered) and since then those ports dont even work in BIOS.

Comments:
- 16 ports on XHC (obviously using the port limit patch, patched kext?)
- No SSxx ports (must be beyond the current port limit)
- 10.11.6 installed
- AppleAPIC patch active in config.plist (is nonsense/wrong with 10.11.6)

Suggestion: Start over and follow the writeup in the Skylake Starter guide.
 
Comments:
- 16 ports on XHC (obviously using the port limit patch, patched kext?)
- No SSxx ports (must be beyond the current port limit)
- 10.11.6 installed
- AppleAPIC patch active in config.plist (is nonsense/wrong with 10.11.6)

Suggestion: Start over and follow the writeup in the Skylake Starter guide.
If i will just start over without understanding the problem i may encounter same or similar problem in the future. Since El Capitan was released i already started over at least a dozen of times, trying many different guides without luck in getting USB working - and this time it was almost perfect before it vanished.
Just yesterday i had 16 HS and 8 SS ports there with USB devices showing up under each port, today SS ports disappeared and all the usb devices show up under RP05/IOPP/PXSX/pci-bridge@2 as you can see in my ioreg. Half of USB ports dont work at all, not only in OSX but in Linux or even BIOS. When i connect usb lamp to one of "broken" ports it slightly glows so i believe it doesnt get enought power. Maybe OSX enabled some energy saving setting on them?
I believe the only thing i done before it broke was actually rebooting computer during system boot.
 
If i will just start over without understanding the problem i may encounter same or similar problem in the future. Since El Capitan was released i already started over at least a dozen of times, trying many different guides without luck in getting USB working - and this time it was almost perfect before it vanished.
Just yesterday i had 16 HS and 8 SS ports there with USB devices showing up under each port, today SS ports disappeared and all the usb devices show up under RP05/IOPP/PXSX/pci-bridge@2 as you can see in my ioreg. Half of USB ports dont work at all, not only in OSX but in Linux or even BIOS. When i connect usb lamp to one of "broken" ports it slightly glows so i believe it doesnt get enought power. Maybe OSX enabled some energy saving setting on them?
I believe the only thing i done before it broke was actually rebooting computer during system boot.

I can only comment on the data you provided. I have nothing more to add at this time...
 
Status
Not open for further replies.
Back
Top