Contribute
Register

Asrock H97M-ITX/ac MacOS Sierra installation and DSDT

Status
Not open for further replies.
Thank you for those helpful links. However, I am missing something more fundamental.

In Clover configurator 2, after mounting the EFI partition and looking under the Kernel and Kext Patches heading on the left, I only see one checkbox marked, Apple RTC
The sections beneath (KextstoPatch, KerneltoPatch and ForcedKextstoLoad) are all empty.


In my EFI/CLOVER/kexts folder, there was no 10.12. So I created one. In there I placed four files:
FakePCIID_XHCIMux.kext
FakePCIID.kext
FakeSMC.kext
USBInjectAll.kext

I obtained these files from /Library/Extensions.
I rebooted and noticed no change - My USB 3 ports do not recognize USB 3 flash drives or any USB 3 device. Obviously USB 2 devices work fine in these ports. Interestingly, Even though there was no 10.12 folder in the EFI/CLOVER/kexts folder previously, I had no trouble with startup, shutdown, ethernet access or sleep (actually 'sleep' only dimmed the screen but did not power down). Installing these kexts into the new 10.12 folder had no effect after reboot.
Going back to clover configurator and opening the config.plist still shows the same blank sections -
(after mounting the EFI partition and looking under the Kernel and Kext Patches heading on the left, I only see one checkbox marked, Apple RTC
The sections beneath (KextstoPatch, KerneltoPatch and ForcedKextstoLoad) are all empty.)
Why?
 
and here are the relevant loaded kexts (obtained by typing kextstat into terminal)
37 1 0xffffff7f80d95000 0x8000 0x8000 org.rehabman.driver.FakePCIID (1.3.2) 7AC87F88-8DF2-3B20-8343-D16EBA90707E <12 7 5 4 3 1>

38 0 0xffffff7f80d9d000 0x3000 0x3000 org.rehabman.driver.FakePCIID.XHCIMux (1.3.2) 9E913C8F-352A-31C9-9806-E761394B0466 <37 12 7 5 4 3 1>

39 1 0xffffff7f80c25000 0xd000 0xd000 com.apple.driver.AppleBusPowerController (1.0) DB526B45-1A45-3A81-A0C1-57F826CADEDF <11 5 4 3>

40 11 0xffffff7f80c32000 0x68000 0x68000 com.apple.iokit.IOUSBHostFamily (1.1) 6A671CD8-5527-3A10-8675-1421D158D7A7 <39 7 6 5 4 3 1>

41 1 0xffffff7f8133b000 0x40000 0x40000 com.apple.driver.usb.AppleUSBXHCI (1.1) ED8D61C8-2EFB-32A9-8FD1-4A6AF1C8FAF8 <40 11 7 5 4 3 1>

42 0 0xffffff7f81381000 0x25000 0x25000 com.apple.driver.usb.AppleUSBXHCIPCI (1.1) CC9A37AE-5436-3EF3-9006-812D586CBD03 <41 40 12 11 7 5 4 3 1>

43 1 0xffffff7f813af000 0x3d000 0x3d000 com.apple.driver.usb.AppleUSBEHCI (1.1) D9DF0161-D131-3A0C-81B3-6EFF864FED92 <40 11 7 5 4 3 1>

44 0 0xffffff7f8148e000 0xe000 0xe000 com.apple.driver.usb.AppleUSBEHCIPCI (1.1) BBDDC1A9-7ADE-39F0-90A4-C349C319E87A <43 40 12 11 7 5 4 3 1>

45 2 0xffffff7f81967000 0x1a000 0x1a000 com.apple.iokit.IOAHCIFamily (288) 5C275B66-A173-3D92-853A-44FC35D45FFC <5 4 3 1>

46 0 0xffffff7f82679000 0x1e000 0x1e000 com.apple.driver.AppleAHCIPort (326) F91BC44F-48CB-3348-AED0-9CAA6A9D7ECD <45 12 5 4 3 1>

47 2 0xffffff7f80ca2000 0x99000 0x99000 com.apple.iokit.IOUSBFamily (900.4.1) 8F6207EC-608D-373A-B35E-E6578202F58D <40 12 7 5 4 3 1>

49 2 0xffffff7f80f5e000 0x2d000 0x2d000 com.apple.iokit.IONetworkingFamily (3.2) 6326DB88-5330-3F0C-91F6-D478AB5E7503 <7 6 5 4 3 1>

50 0 0xffffff7f80f92000 0x7000 0x7000 com.insanelymac.AtherosE2200Ethernet (2.0.1) 42B80C7F-0393-3C6E-8E92-29955BC382AB <49 12 5 4 3 1>

51 0 0xffffff7f81991000 0x1c000 0x1c000 com.apple.iokit.IOAHCIBlockStorage (295.1.1) 08375C5A-FF97-32B5-8146-98192272C923 <45 19 6 5 4 3 1>

53 0 0xffffff7f81479000 0x5000 0x5000 com.apple.driver.usb.AppleUSBHostPacketFilter (1.0) CA3B53E3-FA12-3659-B869-E267709C4007 <40 7 6 5 4 3 1>

54 1 0xffffff7f8147e000 0x4000 0x4000 com.apple.driver.AppleUSBHostMergeProperties (1.1) 4B681300-2D50-30F8-90AA-A2F06578A3F4 <4 3 1>

55 0 0xffffff7f814c6000 0x3000 0x3000 com.apple.driver.AppleUSBMergeNub (900.4.1) 1E7AC271-FB6C-33C6-9415-8007DA193D51 <54 47 4 3 1>


I dont understand how these kexts loaded if they are not in the config.plist?
 
Ok, so my brain is really not working. I did not realize I had to do TWO THINGS
1)put the kexts into the EFI/Clover/10.12
AND
2)actually type in these entries in the kext section of clover configurator
Name = AppleUSBXHCIPCI
Find* [HEX] = 83BD74FFFFFF10
Replace * [HEX] = 83BD74FFFFFF1B

So guess what, USB3 now works. Hooray and THANK YOU!

But I read Rehabman's post here, and he goes to great lengths to say that
USBInjectAll.kext is a temporary fix
'This kext attempts to inject all ports for each controller, and for hubs as well.'

Although the video by Ibrahim that you linked indicates that the patch increases the number of ports to 26, Rehabman says you only need 20 (except for 100 series - H170 and Z170).

Rehabman also says
'The config_patches.plist also contains the DSDT patches required to rename EHC1->EH01 and EHC2->EH02 which is important to avoid collisions between this kext and any built-in port injectors in the native kexts for your SMBIOS.

Note: Do not plan to use the patch long-term. It could be problematic. If you have more than 15 ports on XHC, you should use FakePCIID_XHCIMux to route the USB2 component of those USB3 ports to EHCI. It is easy to stay under the limit if up to 8-USB2 ports are routed off XHC.'

But I have no real understanding of what that means. Or where to begin to understand that paragraph.

An even more complicated exposition for El Capitan is here and here. In that guide, he looks into a file named
/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBXHCIPCI.kext/Contents/Info.plist

But I have NO IOUSBHostFamily.kext in my extensions folder - so maybe Sierra changed things again after El Capitan.
 
Last edited:
It is my pleasure. It was a long journey.

Note that depending on the E2200Ethernet kext Version, the network stability seems to be the differences.
If the network is unstable, other version is worth a try. Of course, into the 10.12 Folder.
 
Last edited:
What patches/modifications did you make to the DSDT? Trying to get sleep working on mine
 
What patches/modifications did you make to the DSDT? Trying to get sleep working on mine

What about simply using the app keepingyouawake that can control sleep mode?
 
I notice that my sleep will let the system fan stay online and system is no able to wake from sleep.
Do you have similar problems?

And which patches you added for your dsdt?
 
Last edited:
Yes, but the KeepingYouAwake sleep function works.
 
Status
Not open for further replies.
Back
Top