RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,058
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
I have a desktop system (ASUS Sabertooth Z170 S). I am sorry if this is off-topic for this thread, I couldn't find a similar thread in the Desktop section. If there is such a thread please let me know.
I spent about a day reading through all the information provided by RehabMan. Thank you for all your efforts, the level of detail you provide is amazing!
At the end I settled on a very simple solution: I installed USBInjectAll.kext and used the uia_exclude kernel flag to disable the ports I am not using. I didn't rename anything (EHCx -> EH0x or such), didn't edit the DSDT or create new SSDTs, didn't change anything in the BIOS, etc. I did temporarily install the port limit patch but I removed it at the end as I understand it is not safe to use for long.
As a result, I ended up with 4 USB2 and 4 USB3 ports as shown by IORegistryExplorer:
View attachment 293632
Everything works pretty well, except that the USB3 ports sometimes only function as USB2. I test this by plugging in a USB3 device, a Transcend card reader. Right now this USB3 device is recognized in all USB3 ports, but this changes after every reboot. Sometimes it works in only one of the USB3 ports, sometimes it works in there out of four, etc. I don't see any pattern, seems pretty random.
The fact that I don't always get USB3 speeds doesn't bother me too much, but I don't like the randomness. I wonder if it's a sign of a more serious issue that I am not aware of.
One interesting thing I noticed is that the USB3.1 port (which I haven't used in the past, I don't think it worked under Sierra but I could be wrong) now works -- but in IORegistryExplorer it shows up under a different node than all the other USB ports:
View attachment 293638
I am curious if this is expected or a sign of trouble.
I attached the files to the original post. Thanks!
Your USB configuration is wrong.
The UsbConnector values for ports on XHC are not correct.
See guide:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
Keep in mind this guide does not address USB ports on a Thunderbolt controller.