Welcome to AMD OS X

Why not register now to gain full access.

Tutorials for the installation and post install.
User avatar
by: AlGrey
#42056
This guide will help you get native usb support for all USB ports on Ryzen motherboards. This will fix your issues with DACs/webcams/mics/BT dongles.

MAKE SURE THAT YOU HAVE A WORKING CLOVER ON YOUR USB DRIVE (usb installer you used to install macOS) AS THIS TUTORIAL CAN FAIL. BOOTING WITH THE CLOVER ON THE USB WILL MAKE THE USB PORTS WORK AGAIN (GenericUSBXHCI.kext is in /EFI/CLOVER/Kexts/**).

This patch replaces the old method : viewtopic.php?t=4736


Automated version (thanks XLNC)
Spoiler:
1. Open the Terminal app.

2. Run the command :
Code: Select all
curl -s -o ~/Desktop/ryzenusbfix.sh https://raw.githubusercontent.com/XLNCs/ryzenusbfix/master/ryzenusbfix.sh && chmod +x ~/Desktop/ryzenusbfix.sh && ~/Desktop/ryzenusbfix.sh

3. Let the script do its magic.

4. Reboot and enjoy

NOTE : If you don't have a functional USB port to operate your MacOS (not keyboard or mouse working), use your bootable AMDHS_installer or HighSierraAMD USB to boot to your installed macOS drive. That will allow you to use your USB ports temporarily . Then you can run ryzenusbfix to fix your USB ports and boot without the USB installer.

Manual version
Spoiler:

1. Delete GenericUSBXHCI.kext, DummyUSBEHCIPCI.kext and DummyUSBXHCIPCI.kext from:
a. EFI/CLOVER/kexts/10.xx or Other (xx is your MacOs version) NOTE : use Clover Configurator (Google it) to MOUNT your EFI folder.
b. System/Library/Extensions/
c. Library/Extensions/

2. Download the tools
Code: Select all
https://nofile.io/f/cyhoWKcGM8f/debugtools.zip
3. Open Kext Wizard (right click ->open).
Check Repair permissions and Rebuild cache and hit Execute.

4. Open DPCIManager (right click ->open).
Click on Extract DSDT. Save the file.

5. Open the DSDT.aml file you just saved with MaciASL (right click ->open with -> MaciASL).

6. In toolbar, go to MaciASL -> Preferences -> Sources.
Click the + sign to add a new repository.
Code: Select all
Name : Ryzen USB
URL : http://raw.github.com/AlGreyy/Ryzen-USB-fix-/master
Close the window.

7. In toolbar, go to Tools -> Patch .
Locate and apply the Ryzen USB patch.

If the new method doesn't work, you can try Ryzen USB patch [OLD]

8. Save your DSDT.aml (File -> Save)

9. Copy the DSDT.aml file to /EFI/CLOVER/ACPI/patched

10. Add the KextToPatch to your /EFI/CLOVER/config.plist
10.13.1 to 10.13.3
Code: Select all
Name                       Find                      Replace               Comment
AppleUSBXHCI               21F281FA 000002           21F281FA 000011       ydeng USB patch
AppleUSBXHCI               D1000000 83F901           D1000000 83F910       ydeng USB patch
AppleUSBXHCI               83BD7CFF FFFF0F           83BD7CFF FFFF1F       ydeng USB patch
10.13.4 to 10.13.6
Code: Select all
Name                       Find                      Replace                Comment
AppleUSBXHCI               C8000000 83FB02           C8000000 83FB11       algrey USB patch for ryzen
10.14.1 and above
Code: Select all
Name                  Find                            Replace                        Comment
IOUSBHostFamily       00E083FB 0F0F8716 0400          00E083FB 3F0F8716 0400        Port limit patch 10.14.1 to .3 (by ydeng)
AppleUSBXHCI          000083FB 0F0F838F 040000        000083FB 3F0F838F 040000      Port limit patch 10.14.1 to .3 
11. Save your config.plist.

12 . Reboot your PC. Enjoy

(Alternative guide from XLNC available here : https://github.com/XLNCs/ryzenusbfix/bl ... alGuide.md)
Credit to Ydeng
Code: Select all
https://forum.amd-osx.com/viewtopic.php?f=53&t=4855
https://www.tonymacx86.com/threads/usb-port-limit-patch-for-14-1-14-2.268893/#post-1884395

Help and Problem Reporting
Attach the following files in a zip file:
- config.plist
- IORegistryExplorer dump (File -> save)
- DSDT.aml (Open DPCIManager (right click ->open). Click on Extract DSDT. Save the file. )
Code: Select all
https://nofile.io/f/cyhoWKcGM8f/debugtools.zip
You do not have the required permissions to view the files attached to this post.
jaredfayne, AlexxG, Jimmy1232 and 2 others liked this

 Advertising

#42060
to me it does not work..
all USB port are disable
here is my iodump and patched DSDT and original DSDT and config.plist

X399 gigabyte gaming 7 f3g bios
1950x
You do not have the required permissions to view the files attached to this post.
User avatar
by: AlGrey
#42061
@dygkset, Well not all of them are disabled. Just the ASMEDIA controller (PTHX). Try with this config below.

If not working, use the old patch. I added the patch (Ryzen USB patch [OLD]) to the repo, should show up. If not remove the repo and add it back again.
You do not have the required permissions to view the files attached to this post.
User avatar
by: ydeng
#42073
What does the following say:
log show --predicate 'process == "kernel" AND eventMessage CONTAINS "USB"' --last boot
#42090
Thanks so much for the tutorial, but it just won't work for mine :crazy: It will disable all the usb port if I didn't put the GenericUSBXHCI.kext in the EFI folder.I use a 1950x with Asrock x399 Gaming Professional.Here is my output file, any help will be much appreciated .
You do not have the required permissions to view the files attached to this post.
User avatar
by: AlGrey
#42092
@wang0315abc, clover patch is wrong. Should not be named AppleUSBXHCI 1, 2, 3.. just AppleUSBXHCI.
You do not have the required permissions to view the files attached to this post.
#42098
@AlGrey,thanks so muchfor the help, and now some of the USB ports are activated,but not all of them, and the mouse is some kind of laggy, the wifi and bluetooth shows up but won't be connected, and after several tries I even can't boot into 10.13.3,I took 2 screenshot for the usb devices , is there anything I can do to fix this?Thanks again
You do not have the required permissions to view the files attached to this post.
User avatar
by: AlGrey
#42106
report with all the files requested .. IOReg dump is more useful than a screenshot of that
User avatar
by: ydeng
#42107
Here's a working version. No USB Simulation there.
You do not have the required permissions to view the files attached to this post.
#42114
Hi @AlGrey,

I was testing this out, and the ports on the front works fine :thumbup:

I have 1 issue though, but USB ports at the back of the MB aren't working with USB Hub (it works correctly if plugged to the front USB ports :problem: ). Attached are my logs / dumps and configs.
You do not have the required permissions to view the files attached to this post.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8

Sorry, but I don't know where to find/upgrade it. […]

[Posible Solution] I had the same problem, then I […]

How to install Mojave

Change to another USB port and check if your USB […]

I used High Sierra v2, v2.5 (Clover And Enoch), V3[…]

AMD OS X Advertisements