- Joined
- Apr 14, 2014
- Messages
- 56
- Motherboard
- Gigabyte Z97X-UD7 TH
- CPU
- i7-4790K
- Graphics
- GT 740
- Mac
- Mobile Phone
I recently switched from Clover to OC and upgraded from Catalina to Big Sur on my GA-Z97X-UD7-TH. I didn't map USB ports since that's in the "USB Fixes" section of the Dortania guide, and at the time USB didn't need fixing. Everything was great until I ran the 11.3 update and lost USB ports meaning no keyboard or mouse. I'm currently remoting in from my Windows desktop to make changes.
I started here and followed the system prep instructions.
resulted in no output, while
and
did have results. That led me to use the EHC1 and EHC2 renames:
EHC1 to EH01: Needed for Broadwell and older SMBIOS
EHC2 to EH02: Needed for Broadwell and older SMBIOS
Then I went to the next page, which directed me to the USBMap github site.
After rebooting to let the renaming take affect, this is the Main Menu of USBMap:
Discovering ports results in:
When I pressed P to create and edit the USB map, all of the ports were listed as type 3. It looked like ports 1-14 are probably 2.0, and I think the EHCI ports are also 2.0, so I changed those to type 0 and selected all:
I then used K to build USBmap.text and entered the following in place of the USBInjectAll kext that I removed:
I copied USBMap.kext to the kexts folder and deleted USBInjectAll.kext as recommended.
After reboot, there's no apparent change. I can't use my USB keyboard plugged in to the back nor the bluetooth mouse that relies on the USB dongle plugged in to the front. The keyboard works briefly during the initial bootup, so I know it hasn't become coincidentally disconnected.
What can I try next to get my ports back? I'm attaching the EFI in case that helps.
I started here and followed the system prep instructions.
Code:
ioreg -l -p IOService -w0 | grep -i XHC1
Code:
ioreg -l -p IOService -w0 | grep -i EHC1
Code:
ioreg -l -p IOService -w0 | grep -i EHC2
EHC1 to EH01: Needed for Broadwell and older SMBIOS
Comment | String | EHC1 to EH01 |
Count | Number | <0> |
Enabled | Boolean | YES |
Find | Data | <45484331> |
Limit | Number | <0> |
Replace | Data | <45483031> |
Skip | Number | <0> |
Tablelength | Number | <0> |
TableSignature | Data | <> |
EHC2 to EH02: Needed for Broadwell and older SMBIOS
Key | Type | Value |
Comment | String | EHC2 to EH02 |
Count | Number | <0> |
Enabled | Boolean | YES |
Find | Data | <45484332> |
Limit | Number | <0> |
Replace | Data | <45483032> |
Skip | Number | <0> |
Tablelength | Number | <0> |
TableSignature | Data | <> |
Then I went to the next page, which directed me to the USBMap github site.
After rebooting to let the renaming take affect, this is the Main Menu of USBMap:
Code:
Current Controllers:
- XHC@14 @ _SB.PCI0.XHC
\-> RHUB @ _SB.PCI0.XHC.RHUB
- EH02@1A @ _SB.PCI0.EH02
- EH01@1D @ _SB.PCI0.EH01
Discovering ports results in:
Code:
----- XHC@14 Controller -----
1. HS01 | AppleUSB20XHCIPort | 01000000 | 14100000
2. HS02 | AppleUSB20XHCIPort | 02000000 | 14200000
3. HS03 | AppleUSB20XHCIPort | 03000000 | 14300000
4. HS04 | AppleUSB20XHCIPort | 04000000 | 14400000
5. HS05 | AppleUSB20XHCIPort | 05000000 | 14500000
6. HS06 | AppleUSB20XHCIPort | 06000000 | 14600000
7. HS07 | AppleUSB20XHCIPort | 07000000 | 14700000
8. HS08 | AppleUSB20XHCIPort | 08000000 | 14800000
9. HS09 | AppleUSB20XHCIPort | 09000000 | 14900000
10. HS10 | AppleUSB20XHCIPort | 0a000000 | 14a00000
11. HS11 | AppleUSB20XHCIPort | 0b000000 | 14b00000
12. HS12 | AppleUSB20XHCIPort | 0c000000 | 14c00000
13. HS13 | AppleUSB20XHCIPort | 0d000000 | 14d00000
14. HS14 | AppleUSB20XHCIPort | 0e000000 | 14e00000
15. SS01 | AppleUSB30XHCIPort | 10000000 | 14f00000
16. SS02 | AppleUSB30XHCIPort | 11000000 | 14000000
17. SS03 | AppleUSB30XHCIPort | 12000000 | 14100000
18. SS04 | AppleUSB30XHCIPort | 13000000 | 14200000
19. SS05 | AppleUSB30XHCIPort | 14000000 | 14300000
20. SS06 | AppleUSB30XHCIPort | 15000000 | 14400000
----- EH02@1A Controller -----
21. PRT1 | AppleUSBEHCIPort | 01000000 | 1a100000
22. PRT2 | AppleUSBEHCIPort | 02000000 | 1a200000
----- EH01@1D Controller -----
23. PRT1 | AppleUSBEHCIPort | 01000000 | 1d100000
24. PRT2 | AppleUSBEHCIPort | 02000000 | 1d200000
When I pressed P to create and edit the USB map, all of the ports were listed as type 3. It looked like ports 1-14 are probably 2.0, and I think the EHCI ports are also 2.0, so I changed those to type 0 and selected all:
Code:
----- XHC@14 Controller -----
[#] 1. HS01 | AppleUSB20XHCIPort | 01000000 | 14100000 | Type 0
[#] 2. HS02 | AppleUSB20XHCIPort | 02000000 | 14200000 | Type 0
[#] 3. HS03 | AppleUSB20XHCIPort | 03000000 | 14300000 | Type 0
[#] 4. HS04 | AppleUSB20XHCIPort | 04000000 | 14400000 | Type 0
[#] 5. HS05 | AppleUSB20XHCIPort | 05000000 | 14500000 | Type 0
[#] 6. HS06 | AppleUSB20XHCIPort | 06000000 | 14600000 | Type 0
[#] 7. HS07 | AppleUSB20XHCIPort | 07000000 | 14700000 | Type 0
[#] 8. HS08 | AppleUSB20XHCIPort | 08000000 | 14800000 | Type 0
[#] 9. HS09 | AppleUSB20XHCIPort | 09000000 | 14900000 | Type 0
[#] 10. HS10 | AppleUSB20XHCIPort | 0a000000 | 14a00000 | Type 0
[#] 11. HS11 | AppleUSB20XHCIPort | 0b000000 | 14b00000 | Type 0
[#] 12. HS12 | AppleUSB20XHCIPort | 0c000000 | 14c00000 | Type 0
[#] 13. HS13 | AppleUSB20XHCIPort | 0d000000 | 14d00000 | Type 0
[#] 14. HS14 | AppleUSB20XHCIPort | 0e000000 | 14e00000 | Type 0
[#] 15. SS01 | AppleUSB30XHCIPort | 10000000 | 14f00000 | Type 3
[#] 16. SS02 | AppleUSB30XHCIPort | 11000000 | 14000000 | Type 3
[#] 17. SS03 | AppleUSB30XHCIPort | 12000000 | 14100000 | Type 3
[#] 18. SS04 | AppleUSB30XHCIPort | 13000000 | 14200000 | Type 3
[#] 19. SS05 | AppleUSB30XHCIPort | 14000000 | 14300000 | Type 3
[#] 20. SS06 | AppleUSB30XHCIPort | 15000000 | 14400000 | Type 3
----- EH02@1A Controller -----
[#] 21. PRT1 | AppleUSBEHCIPort | 01000000 | 1a100000 | Type 0
[#] 22. PRT2 | AppleUSBEHCIPort | 02000000 | 1a200000 | Type 0
----- EH01@1D Controller -----
[#] 23. PRT1 | AppleUSBEHCIPort | 01000000 | 1d100000 | Type 0
[#] 24. PRT2 | AppleUSBEHCIPort | 02000000 | 1d200000 | Type 0
I then used K to build USBmap.text and entered the following in place of the USBInjectAll kext that I removed:
Code:
<dict>
<key>BundlePath</key>
<string>USBMap.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
<key>Arch</key>
<string>Any</string>
</dict>
I copied USBMap.kext to the kexts folder and deleted USBInjectAll.kext as recommended.
After reboot, there's no apparent change. I can't use my USB keyboard plugged in to the back nor the bluetooth mouse that relies on the USB dongle plugged in to the front. The keyboard works briefly during the initial bootup, so I know it hasn't become coincidentally disconnected.
What can I try next to get my ports back? I'm attaching the EFI in case that helps.