Contribute
Register

X79 USB 2.0 in El Capitan 10.11

shilohh

Moderator
Joined
Jan 2, 2012
Messages
1,771
Motherboard
Asus Rampage IV Black Edition
CPU
4930K @ 4.4GHz
Graphics
PNY GTX 980 + EVGA Titan X
Mac
MacBook Pro, Mac Pro
Mobile Phone
iOS
OS X 10.11 El Capitan has brought some serious incompatibility issues to some motherboards like my X79 Asus Rampage IV Black Edition and many others.

First let me give credit to Stinga11, pokenguyen, RehabMan and all the others who have spent time mapping out this problem. Also to PikeRAlpha, Revogirl, Master Chief, RehabMan and dgsa for all I have learned from them about ACPI.

EDIT: RehabMan explains this problem much better in his post [Guide] 10.11+ USB changes and solutions

The problem with my RIVBE, for example, is that the new kexts in El Cap look for a specific device (EHC1), ports (PRT1-8), and hub (RHUB) naming based on the SMBIOS system ID (MacPro6,1) you are using. They also don't define a second USB 2 device for MacPro6,1. In my BIOS's DSDT, the USB2 devices are named EUSB and USBE and have ports named PR30-PR37 that are wrapped in a parent port named PR10 inside a hub named HUBN. As Stinga11 and pokenguyen have pointed out in their posts and guides at other sites, you can rename your devices in your ACPI tables (DSDT/SSDT) to match what the kexts look for, or you can modify the kext's info.plists to look for the devices that are defined by you DSDT, or use a combination of both methods. However, if you want to install El Cap from a USB stick, you will need to use a system defininition (MacPro3,1 worked for me) and change the names of the USB 2 devices, their ports and hubs in your ACPI tables to match. I did all of this for my first install and then changed all of it again to match my preferred MacPro6,1 sys def on my new install. Even after matching the way the USB 2 device is defined in the real Mac Pro 6,1 ACPI table, I still had a huge bug. All the USB 2 ports except for 1 would be dead after wake from sleep. I began to test every variation of defining the devices in ACPI with the same or worse results. I reflected on some work I did earlier this year with dgsa that involved stripping down the OEM DSDT to it's smallest form (this was based on work that he had done with Master Chief and Revogirl a long while back). I finally found a solution to the whole problem that is so simple that it feels like cheating.

Simply remove the USB 2 devices from your ACPI tables. You can either delete the entire EUSB and USBE devices and all references to them from your DSDT or use the code below in a SSDT.
Code:
DefinitionBlock ("iASLwAigOV.aml", "SSDT", 1, "APPLE", "Fix_USB2", 0x00001000)
{
    Name (_SB.PCI0.EUSB._STA, Zero)
    Name (_SB.PCI0.USBE._STA, Zero)
}
The USB 2 devices will be loaded as their PCI device IDs instead of EUSB, USBE, EHC1 or EHC2.
Screen Shot 2015-10-06 at 7.32.14 PM.png
They perform better than they did in older OSs and load and function properly no matter what system definition I choose. The kext's plists require no modifications and the only prep I have to do to install El Cap from USB 2, is to add a SSDT to EFI/clover/ACPI/patched folder of my USB installer (/Extra for chimera or chameleon).
 
Joined
Feb 18, 2012
Messages
26
Motherboard
ASUS Rampage IV Black Edition (Chipset:Intel X79) (Bootloader:Chimera)
CPU
Intel Core i7-4820K Ivy Bridge-E Quad-Core 3.7GHz (Turbo 3.9GHz) LGA 2011
Graphics
EVGA GTX 970 SSC ACX 2.0 4GB
Mac
Classic Mac
Mobile Phone
USB 2 in El Capitan 10.11

thanks! I used maciasl to create an SSDT with only your code in it and placed it in the location you mentioned. Set the os as 10.11, system def as MacPro3,1 and boot flag of npci=0x2000 and was finally able to boot the unibeast usb installer. I've been fighting with it on my RIVBE since the day el cap released!

Anything special you did after install like kexts, boot flags, or SSDT DSDT creation?

Can I use the DSDT and SSDT I created with maciasl on Yosemite or do I need to make new ones?


Thanks again
 
Joined
Feb 18, 2012
Messages
26
Motherboard
ASUS Rampage IV Black Edition (Chipset:Intel X79) (Bootloader:Chimera)
CPU
Intel Core i7-4820K Ivy Bridge-E Quad-Core 3.7GHz (Turbo 3.9GHz) LGA 2011
Graphics
EVGA GTX 970 SSC ACX 2.0 4GB
Mac
Classic Mac
Mobile Phone
USB 2 in El Capitan 10.11

I had some issues getting booted after install but i finally got it. Now just trying to find my way around clover and get everything setup right. Ive used multibeast for the past 5 years or so. Like i said if you have any advice how to get it configured properly let me know. Once i get it working ive gotta put all my hardware back in and turn back in my overclock


Thanks again for the help i was about to give up
 

shilohh

Moderator
Joined
Jan 2, 2012
Messages
1,771
Motherboard
Asus Rampage IV Black Edition
CPU
4930K @ 4.4GHz
Graphics
PNY GTX 980 + EVGA Titan X
Mac
MacBook Pro, Mac Pro
Mobile Phone
iOS
USB 2 in El Capitan 10.11

I had some issues getting booted after install but i finally got it. Now just trying to find my way around clover and get everything setup right. Ive used multibeast for the past 5 years or so. Like i said if you have any advice how to get it configured properly let me know. Once i get it working ive gotta put all my hardware back in and turn back in my overclock


Thanks again for the help i was about to give up
Sorry I haven't been monitoring this post. See my build guide. It should answer a lot of your questions but you'll need to make your own ssdt for the CPU as the one I provide is for the 6core 4930k.

http://www.tonymacx86.com/golden-builds/130386-i7-4930k-asus-rampage-iv-extreme-32gb-ram-gtx-770-4gb-success.html
 
Joined
Feb 18, 2012
Messages
26
Motherboard
ASUS Rampage IV Black Edition (Chipset:Intel X79) (Bootloader:Chimera)
CPU
Intel Core i7-4820K Ivy Bridge-E Quad-Core 3.7GHz (Turbo 3.9GHz) LGA 2011
Graphics
EVGA GTX 970 SSC ACX 2.0 4GB
Mac
Classic Mac
Mobile Phone
USB 2 in El Capitan 10.11

Awesome! Thanks! I'm just getting back to my build today so perfect timing!
 
Joined
Sep 5, 2010
Messages
95
Motherboard
Asus X79-Deluxe
CPU
Intel Core i7-4930K
Graphics
MSI GeForce GTX 770 (N770 TF 2GD5/OC)
Mac
Classic Mac
Mobile Phone
USB 2 in El Capitan 10.11

Perfect ! Thanks to your SSDT, I managed to get my internal USB2 port working on an ASUS X79-DELUXE :)
 
Joined
Jul 21, 2011
Messages
5
Motherboard
Asus Z270A
CPU
i7-7700K
Graphics
RX 580
Mobile Phone
iOS
I managed to use a previously installed 10.11 ssd to boot my Supermicro X9DRL-iF, but none of the USB ports would work. Luckily I had enabled remote desktop so I was able to access the Hackintosh. However whatever I tried I couldn’t get them to work. I managed to edit the DSDT file replacing EUSB with EHC1 and that worked although changing USBE to EHC2 didnt. Im sure there must be a better way of making it work. You idea looks good but Im unsure which bits I need to replace in DSDT. Ideally I would prefer a SSDT... but I havent a clue how to make one. Can you have a look at my original DSDT?
 

Attachments

Joined
May 12, 2014
Messages
3
Mac
Classic Mac
Mobile Phone
Hi, @shilohh .

I have an motherboard that has EUSB and USBE just like yours (and HUBN, with PRT10, etc).

I can rename EUSB to EH01 and USBE to EH02.
I also using MacPro6,1 (because 2 x Xeon).

How did you handle the HUBN and the lots of children to match the MacPro6,1 ports?


Thank you!
 

shilohh

Moderator
Joined
Jan 2, 2012
Messages
1,771
Motherboard
Asus Rampage IV Black Edition
CPU
4930K @ 4.4GHz
Graphics
PNY GTX 980 + EVGA Titan X
Mac
MacBook Pro, Mac Pro
Mobile Phone
iOS
Hi, @shilohh .

I have an motherboard that has EUSB and USBE just like yours (and HUBN, with PRT10, etc).

I can rename EUSB to EH01 and USBE to EH02.
I also using MacPro6,1 (because 2 x Xeon).

How did you handle the HUBN and the lots of children to match the MacPro6,1 ports?


Thank you!
I don't. I disable USBE and EUSB with sta. See the example in the original post. You can also add in a new EH01 and EH02 device but I don't add the hub or ports. The driver will take care of it.

See rehabmans post if you want to keep the hub and ports in the device. You'll need to make and use some kexts.
 
Joined
May 12, 2014
Messages
3
Mac
Classic Mac
Mobile Phone
I don't. I disable USBE and EUSB with sta. See the example in the original post. You can also add in a new EH01 and EH02 device but I don't add the hub or ports. The driver will take care of it.

See rehabmans post if you want to keep the hub and ports in the device. You'll need to make and use some kexts.

whats is STA?
 
Top