Contribute
Register

[Guide] 10.11+ USB changes and solutions

Status
Not open for further replies.
Im trying to map all the ports on my motherboard (Asus Z170 Premium) to make a patch. My OS is 10.11.6.
Currently i loaded USBInjectAll and enabled following patches in clover: change EHC1 to EH01, change EHC2 to EH02, change 15 port limit to 30, Skylake APIC fix. SMBIOS is iMac17,1.
All USB2 ports are working fine.
All USB3 ports are working fine both in USB2 and USB3 mode.
Unfortunately remaining two USB3.1 type 2 ports are not working at all - not even in USB2 mode. Havent had a chance to test type-c ports.
Ive tried loading GenericUSBXHCI and doesnt make any difference.
Any advice how to enable USB3.1 type 2 ports (probably on ASMedia controller)? I dont need Type 2 speeds but im very short on USB3 ports.

[edit]
Actually i just found that one of them works in USB2 mode only but it's identifier is PXSX1 (see screenshot below). kextcache doesnt show any errors.
 

Attachments

  • Screen Shot 2016-10-19 at 22.56.10.png
    Screen Shot 2016-10-19 at 22.56.10.png
    112.5 KB · Views: 100
  • imac.ioreg.zip
    7.7 MB · Views: 83
  • CLOVER.zip
    1.9 MB · Views: 115
Last edited:
Im trying to map all the ports on my motherboard (Asus Z170 Premium) to make a patch. My OS is 10.11.6.
Currently i loaded USBInjectAll and enabled following patches in clover: change EHC1 to EH01, change EHC2 to EH02, change 15 port limit to 30, Skylake APIC fix. SMBIOS is iMac17,1.
All USB2 ports are working fine.
All USB3 ports are working fine both in USB2 and USB3 mode.
Unfortunately remaining two USB3.1 type 2 ports are not working at all - not even in USB2 mode. Havent had a chance to test type-c ports.
Ive tried loading GenericUSBXHCI and doesnt make any difference.
Any advice how to enable USB3.1 type 2 ports (probably on ASMedia controller)? I dont need Type 2 speeds but im very short on USB3 ports.

[edit]
Actually i just found that one of them works in USB2 mode only but it's identifier is PXSX1 (see screenshot below). kextcache doesnt show any errors.

Your ioreg is corrupt. Read post #1, "Problem Reporting". Carefully.
 
Thanks RehabMan!

I am trying to inspect my iOregistryExplorer. But i couldnt understand this.
I am plugging my USB stick to ports by one by, so far so good.
I have 4 ports on front case 2xUSB2.0 and 2xUSB3.0

USb2.0 ports giving me 0d and 0e ports with different devices(HS13-HS14), looking right.
HS13: USB2 device on port #1 from USB2 motherboard header, port <0d 00 00 00> - Front - 1.USB2
HS14: USB2 device on port #2 from USB2 motherboard header, port <0e 00 00 00> - Front - 2.USB2

But 2 front usb 3.0 ports giving me same device with different hubs. (these are with AppleUSB20HubPort@ port ID's)
HS10: USB2 device on port #4 from USB3 motherboard header, port <04 00 00 00> - Front - 1.USB3
HS10: USB2 device on port #3 from USB3 motherboard header, port <03 00 00 00> - Front - 2.USB3

Port name of HS10@14a00000 is "0a 00 00 00 00"
Here is my questions, for my usb SSDT, which one do i have to use?
AppleUSB20HubPort@a30000 port ID or HS10@14a00000 port ID?

Sorry for mess, it is not easy to explain. :)

kRoxwnw.png









Hello RehabMan,

My problem is; external 3,5 inch usb hard drives mounting as internal drives (Removable Media:No).

I have used USBInjectAll with XHCI-x99-injector with these clover patches.
EHC1 to EH01 find 45484331 replace 45483031
EHC2 to EH02 find 45484332 replace 45483032
XHCI to XH01 find 58484349 replace 58483031


I am including my ioreg+clover+sudo touch result.
Could you please help me?
Thanks in advance.

My Rig is:
Asus X99-E WS
i7-5960X
Nvidia Titan X
 
But 2 front usb 3.0 ports giving me same device with different hubs. (these are with AppleUSB20HubPort@ port ID's)
HS10: USB2 device on port #4 from USB3 motherboard header, port <04 00 00 00> - Front - 1.USB3
HS10: USB2 device on port #3 from USB3 motherboard header, port <03 00 00 00> - Front - 2.USB3

It means your motherboard has an internal hub connected to HS10.
 
Last question,
So does it mean in usb SSDT; i have to define multiple sub connectors for this hub just like below?

Thanks in advance!
You rock!


"HS10", Package() // USB2 device on a USB3 port located ..., port <0a 00 00 00>
{
"UsbConnector", 3,
"port", Buffer() { 0x03, 0, 0, 0 },

"UsbConnector", 4,
"port", Buffer() { 0x04, 0, 0, 0 },

},




It means your motherboard has an internal hub connected to HS10.
 
Last question,
So does it mean in usb SSDT; i have to define multiple sub connectors for this hub just like below?

Thanks in advance!
You rock!


"HS10", Package() // USB2 device on a USB3 port located ..., port <0a 00 00 00>
{
"UsbConnector", 3,
"port", Buffer() { 0x03, 0, 0, 0 },

"UsbConnector", 4,
"port", Buffer() { 0x04, 0, 0, 0 },

},

No. What you have there is nonsense.
 
No. What you have there is nonsense.

You are right!
I have carefully read the manuals for Usbinjectall.kext. Thanks to guide, i created a SSDT-USB.aml
with both EHC1 to EH01, EHC2 to EH02, XHCI to XHC_ clover patches. And i removed 15 port limit thing. And excluded
1 "uia_exclude=SSP1" to lower the port count to 15!. My usb ports are working correctly so far. I have disabled Asmedia USB3
controller from BIOS too.

Unfortunately my external drives are mounting as internal drives problem is still exist.
I have 3 backup drives (3,5inch) 2 of them USB3 and one of them is USB2 drive. They all connected to my computer
with an external 4-port USB3 hub! I realized that only first port are mounting as External Drive as it should be, rest of them
mounting Internals...

Do you have any idea? previously you said the problem should be 15 port limit patch..
I am sending my files again. This time i am sending;

IOREG without mounted external drives.
IOREG with mounted external drives.
Clover folder with SSDT-USB
SSDT-USB-DSL
Sudo touch output

Thanks in advance!
 

Attachments

  • Motionworks_Again.zip
    4.3 MB · Views: 97
You are right!
I have carefully read the manuals for Usbinjectall.kext. Thanks to guide, i created a SSDT-USB.aml
with both EHC1 to EH01, EHC2 to EH02, XHCI to XHC_ clover patches. And i removed 15 port limit thing. And excluded
1 "uia_exclude=SSP1" to lower the port count to 15!. My usb ports are working correctly so far. I have disabled Asmedia USB3
controller from BIOS too.

Unfortunately my external drives are mounting as internal drives problem is still exist.
I have 3 backup drives (3,5inch) 2 of them USB3 and one of them is USB2 drive. They all connected to my computer
with an external 4-port USB3 hub! I realized that only first port are mounting as External Drive as it should be, rest of them
mounting Internals...

Do you have any idea? previously you said the problem should be 15 port limit patch..
I am sending my files again. This time i am sending;

IOREG without mounted external drives.
IOREG with mounted external drives.
Clover folder with SSDT-USB
SSDT-USB-DSL
Sudo touch output

Thanks in advance!

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?
 
Status
Not open for further replies.
Back
Top