Contribute
Register

[Guide] 10.11+ USB changes and solutions

Status
Not open for further replies.
Joined
Apr 6, 2017
Messages
80
Motherboard
gigabyte GA-Z170X-UD5 TH (Clover)
CPU
i7 6700K
Graphics
Gigabyte GTX 1050 TI
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS

I guess I'm been getting a little confused with exactly what things apply to my board specifically. In the guide for creating a custom SSDT it says for example:


Requirements:
- EHC1->EH01 and EHC2->EH02 rename (in config.plist)
- XHCI controller must be named XHC (for most PCs it is default)
- port limit patch (in config.plist)
- install USBInjectAll.kext (install to the system volume)
- if you plan to use it, install FakePCIID.kext + FakePCIID_XHCIMux.kext
- if you have an existing SSDT for USBInjectAll, use -uia_ignore_rmcf

That's why I thought I needed to change EHC1. Don't even know what a controller is exactly. Sorry I really am completely new to all of this. I'm part way through reading the SSDT guide now. I note that maybe all my ports aren't injected. I thought they were but when I compare to your example in the guide I am missing all the ports that start with SS. I still need to rename XHCI to XHC right?
 
Joined
Jun 9, 2013
Messages
10,703
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Hi Rehabman. Just updated my Desktop to Sierra when putting my Desktop into sleep the XHCI Controller turns off but the EH01, EH02 stays on any ideas what this could be? Desktop wakes up perfectly fine just no Power in sleep on the XHCI Controller. Everything looks fine in ioreg.
 

Attachments

  • Voilets Speedy Hack.ioreg
    5 MB · Views: 108
  • CLOVER.zip
    1.7 MB · Views: 98

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,490
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I guess I'm been getting a little confused with exactly what things apply to my board specifically. In the guide for creating a custom SSDT it says for example:


Requirements:
- EHC1->EH01 and EHC2->EH02 rename (in config.plist)
- XHCI controller must be named XHC (for most PCs it is default)
- port limit patch (in config.plist)
- install USBInjectAll.kext (install to the system volume)
- if you plan to use it, install FakePCIID.kext + FakePCIID_XHCIMux.kext
- if you have an existing SSDT for USBInjectAll, use -uia_ignore_rmcf

That's why I thought I needed to change EHC1. Don't even know what a controller is exactly. Sorry I really am completely new to all of this. I'm part way through reading the SSDT guide now. I note that maybe all my ports aren't injected. I thought they were but when I compare to your example in the guide I am missing all the ports that start with SS. I still need to rename XHCI to XHC right?

There is no ECHI controller on 100-series (and 200-series... and future chipsets). New chipsets are xHCI only.
If you use the port limit patch and USBInjectAll.kext all your ports will be injected.
And yes, if your DSDT uses XHCI instead of XHC, it must be renamed to XHC for USBInjectAll.kext to work properly.
Future questions should include "Problem Reporting" files as per post #1.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,490
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi Rehabman. Just updated my Desktop to Sierra when putting my Desktop into sleep the XHCI Controller turns off but the EH01, EH02 stays on any ideas what this could be? Desktop wakes up perfectly fine just no Power in sleep on the XHCI Controller. Everything looks fine in ioreg.

No idea.
Function of BIOS settings?
 
Joined
Jun 9, 2013
Messages
10,703
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
No idea.
Function of BIOS settings?

Doesn't do it in El Captitan but in Sierra it does. USB 3 Ports turn off when entering Sleep then on Wake they come back alive again but USB 2 Ports are still active.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,490
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Doesn't do it in El Captitan but in Sierra it does. USB 3 Ports turn off when entering Sleep then on Wake they come back alive again but USB 2 Ports are still active.

No idea.
 
Joined
Jun 9, 2013
Messages
10,703
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android

Me neither a bit strange. You mentioned to me about XHCIMux awhile ago does that route USB 2 devices from the XHCI Controller?
 
Joined
May 16, 2010
Messages
59
Motherboard
Gigabyte GA-Z270X-UD5
CPU
Intel Core i7 8700K
Graphics
Radeon RX Vega Frontier Edition
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Hello. I can't get Bluetooth on the Broadcom Wifi/Bluetooth (BCM943602CS) PCIe card working on z270 (Desktop). I have WiFi fully working, but the internal USB controller is not connecting/showing the device. I've done the SSDT to customize the USBInjectAll.kext, and even confirmed the port is working with another device (Corsair Watercooler USB) showing up in the same spot.

The card is not malfunctioning, because I got it working in Windows with this exact build (and installed Windows drivers), and had it working in Mac on a different motherboard (Asus Maximus Hero VIII). So to me it's either a BIOS setting in the Gigabyte Z270x that I've borked, or somehow have the USB injection wrong. I've added the rename XHCI and _OSI DSDT patches to clover. I'm at 14 ports on XHC, so that shouldn't be an issue. I set the internal ports to 255, but I've seen some "correct" SSDTs posted that set even the internal ports to 0 or 3, so I'm confused on the right number, but didn't make a difference either way.

Possibly relevant BIOS settings:
IOAPIC 24-119 entries: Enabled
Legacy USB: Auto (also tried Enabled and Disabled)
XHCI Handoff: Enabled
Serial Port (both): Disabled
Windows OS: Other
Boot USB: Legacy
Other PCI: UEFI

PCI Layout:
PCIx1_1 - Broadcom card
PCIx16 - Radeon RX 480
PCIx1_2 - (Empty)
PCIx8 - (Empty)
PCIx1_3 - (Empty)
PCIx4 - GC-Alpine Ridge

I tried putting the card in different PCI slots, but they didn't help, and I kind of need this layout because the other ones take away from the PCIx4 bandwidth which I need. I have an NVME drive installed in the M.2. slot, so there's a chance that it's sharing bandwidth with the Broadcom card, but it works in Windows so I assume not?

Other possibly relevant details: I've got a 5K Ultra Fine completely working with the dual display port out of the Radeon into the adapter, and then thunderbolt from the adapter to the display. Apple's default port injectors seem to do fine with the complex hub->port->hub tree, so you'll see that in the IOReg.

Let me know if something else would be helpful and I'll attach it. Also let me know if you find anything I should change unrelated to the issue I'm having. Thanks for your time!
 

Attachments

  • RehabMan.zip
    53.9 KB · Views: 72
  • ioreg.ioreg.zip
    864.7 KB · Views: 98
  • DebugImages.zip
    1.1 MB · Views: 73
  • EFI_Clover.zip
    1.3 MB · Views: 72
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,490
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I've done the SSDT to customize the USBInjectAll.kext, and even confirmed the port is working with another device (Corsair Watercooler USB) showing up in the same spot.

Which port is it connected to?
 
Status
Not open for further replies.
Top