Contribute
Register

Gigabyte Z490 Vision D (Thunderbolt 3) + i5-10400 + AMD RX 580

It has been tested on Designare Z390 (here), but because Handoff/Continuity does not yet work, I've not tried it on the Vision D. It is exciting stuff, however, and the Intel WiFi 6 module on the Vision D is far more advanced than the Broadcom 94360CD on the Fenvi.

Thanks @CaseySJ. Since that guide you mention uses Clover, I just wanted to confirm with you which steps may differ for the OpenCore build. Please correct me if I am mistaken (below):

  1. Download the latest release from zxystd's repository
  2. Mount EFI partition of the macOS SSD.
  3. Copy the two Intel Bluetooth kexts to EFI/OC/kexts
  4. Add the kexts to your config.plist
  5. Save, unmount the EFI, and reboot
1592501088089.png


Is that all basically right so far? I am presently using an IOGear Bluetooth Adapter, not the Fenvi card, so I was less certain about the steps regarding the IORegistry edits (or whether those were needed).
 
Thanks @CaseySJ. Since that guide you mention uses Clover, I just wanted to confirm with you which steps may differ for the OpenCore build. Please correct me if I am mistaken (below):

  1. Download the latest release from zxystd's repository
  2. Mount EFI partition of the macOS SSD.
  3. Copy the two Intel Bluetooth kexts to EFI/OC/kexts
  4. Add the kexts to your config.plist
  5. Save, unmount the EFI, and reboot
View attachment 476947

Is that all basically right so far? I am presently using an IOGear Bluetooth Adapter, not the Fenvi card, so I was less certain about the steps regarding the IORegistry edits (or whether those were needed).
Steps 1 through 4 are correct, but Step 5 should be to enable USB port HS14. The Intel CNVi Bluetooth attaches to this USB port. I leave that as an exercise for the reader! :)
 
Last edited:
...
Update:
My SSDT-EC-USB contains this, and you have the same code in SSDT-UIAC-VISION-D (before ports definition):
Device USBX is already inside SSDT-UIAC-VISION-G-V1.aml. :)
 
The system enters sleep, but is unable to power back on with moving the mouse or hitting a key (using usb keyboard and mouse connected to blue usb ports on mobo) - all LED's are off.

I have the Fenvi card connected to F_USB1 - tried switching it to F_USB2 - but same results...
Nothing else connected to the internal headers.

I want to add - I have the system outside of the case and jumping it manually (waiting for my case to arrive) - so no F_Panel connections are present - not sure if that makes a difference.
Happy to report that replacing my FenviT919 card with the link below solved the sleeping issue for me.

https://www.amazon.com/dp/B082X8MBMD/?tag=tonymacx86com-20

Seems like Fenvi also makes this card - the instruction/pamplet had "FENVI" on it.
 
Device USBX is already inside SSDT-UIAC-VISION-G-V1.aml. :)
Sure, but my (generated by Hackintool) SSDT-UIAC not contains USBX device. I think you used my version.
 
Last edited:
Steps 1 through 4 are correct, but Step 5 should be to enable USB port HS14. The Intel CNVi Bluetooth attaches to this USB port. I leave that as an exercise for the reader! :)

I appreciate the challenge!

Since the EFI already includes USBInjectAll.kext, I believe Step 5 is to add uia_include=HS14 to the boot arguments.

However, Bluetooth does not yet seem to be enabled for me.

I confirmed the boot args with nvram -p which returned:

Code:
nvram -p
prev-lang:kbd    en-US:0
fmm-computer-name    Simon%e2%80%99s iMac
bluetoothActiveControllerInfo    %e8!\%0a%00%00%00%00%10%14\%f3pat%0f
SystemAudioVolume    F
LocationServicesEnabled    %01
csr-active-config    %e7%03%00%00
boot-args    -v keepsyms=1 dart=0 debug=0x100 agdpmod=pikera alcid=11 shikigva=80 uia_include=HS14
EFIBluetoothDelay    %b8%0b



I then confirmed further with log show --last boot | grep HS14 which returned:
Code:
2020-06-18 16:20:22.790391-0400 0x73       Default     0x0                  0      0    kernel: (USBInjectAll) USBInjectAll: uia_include specifies 'HS14'


Finally I wanted to check out what the issue might be so I ran this:
log show --last boot | grep Bluetooth | grep Error
Code:
log show --last boot | grep Bluetooth | grep Error
2020-06-18 16:20:40.456545-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:bluetoothd] [DaemonWritePersistentPort] CFRunLoopAddSource 0x7fa83550b7f0, 2103.
2020-06-18 16:20:40.456633-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:bluetoothd] [DaemonWritePersistentPort] CFRunLoopAddSource 0x7fa832d0fe80, 2003.
2020-06-18 16:20:40.497495-0400 0x2f1      Error       0x0                  110    3    bluetoothd: (CoreBluetooth) [com.apple.bluetooth:CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x7fa832f112f0> can only accept this command while in the powered on state
2020-06-18 16:20:41.702690-0400 0x552      Default     0x0                  161    3    coreaudiod: (BluetoothAudioPlugIn) [com.apple.bluetooth:bluetoothaudiod] XPC Error remove all devices
2020-06-18 16:20:42.061112-0400 0x2f1      Error       0x73                 110    3    bluetoothd: (CoreBluetooth) [com.apple.bluetooth:CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x7fa832f112f0> can only accept this command while in the powered on state
2020-06-18 16:20:42.061342-0400 0x2f1      Error       0x75                 110    3    bluetoothd: (CoreBluetooth) [com.apple.bluetooth:CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x7fa832f112f0> can only accept this command while in the powered on state
2020-06-18 16:20:42.061613-0400 0x2f1      Error       0x76                 110    3    bluetoothd: (CoreBluetooth) [com.apple.bluetooth:CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x7fa832f112f0> can only accept this command while in the powered on state
2020-06-18 16:20:42.061855-0400 0x2f1      Error       0x77                 110    3    bluetoothd: (CoreBluetooth) [com.apple.bluetooth:CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x7fa832f112f0> can only accept this command while in the powered on state
2020-06-18 16:20:52.705233-0400 0x2f1      Error       0x7a                 110    3    bluetoothd: (CoreBluetooth) [com.apple.bluetooth:CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x7fa832f112f0> can only accept this command while in the powered on state
2020-06-18 16:28:03.027905-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:28:03.028583-0400 0x28d      Error       0x0                  110    7    bluetoothd: (IOBluetooth) [com.apple.bluetooth:CBXPCManager] No Devices In Whitelist
2020-06-18 16:28:23.033539-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:28:43.035090-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:28:47.065623-0400 0x1adf     Default     0x3439               445    7    cloudpaird: (IOBluetooth) [com.apple.bluetooth:magicpairing]  MagicCloudPairingProtectedAccessoryBlob fetch: CKErrorUnknownItem error <CKError 0x7fc9efe0be50: "Unknown Item" (11/2003); server message = "Record not found"; uuid = E340C60D-8964-487F-9BDD-FEDF0F89420F; container ID = "com.apple.bluetooth">
2020-06-18 16:29:03.035276-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:29:23.040427-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:29:43.043220-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:30:03.046475-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:30:23.048900-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:30:43.054113-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:31:03.059043-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:31:23.059617-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:InteropManager] Apple80211GetIfListCopy returns error -3903
2020-06-18 16:34:45.995064-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:LEChannelManager] Publish - PSM:129 Client:<CBClient: 0x7fa832e12170> Encryption:0 Options:{
2020-06-18 16:34:46.419794-0400 0x28d      Error       0x0                  110    7    bluetoothd: (IOBluetooth) [com.apple.bluetooth:CBXPCManager] Unknown Core Bluetooth message 8: <dictionary: 0x7fa835427d00> { count = 0, transaction: 0, voucher = 0x0, contents =
2020-06-18 16:34:51.759370-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:CBPipeManager] peer doesn't exsit
2020-06-18 16:34:55.832344-0400 0x28d      Error       0x0                  110    3    bluetoothd: (IOBluetooth) [com.apple.bluetooth:CBPipeManager] peer doesn't exsit

@CaseySJ any thoughts on what may be going wrong? Thanks again!
 
Hello @CaseySJ,

thanks for your reply. Regarding your questions:
  • Lighting Node Core: Yes, it's like a light version of the Corsair Commander Pro.
  • Samsung EVO Plus: the latest firmware is installed (2B2QEXM7). I just checked it.
  • Test with disconnected internal USB devices: Yes, I connected the T919 and the Kraken X73 directly into the two USB 2 headers (without the NZXT USB Hub).
  • Activity Monitor:
    • powerd is running but not consuming much CPU time
    • Intel Power Gadget is not installed
    • the processes consuming the most cpu time right now are...
      • photoanalysisd, com.apple.photos.ImageConversionService, photolibraryd (I guess related to iCloud sync.)
      • kernel_task
      • WindowServer
  • Additional NVMe SSD: I disabled "Put hard disks to sleep when possible" because I read somewhere that it may cause sleep problems if you use multiple hard drives
Thanks for the link to the sleep aids. I'm going to see if there's anything in there that can help me with this problem.

Hi @CaseySJ,

I've gone over the possible solutions:
  • I've tested all the combinations on Energy Saver. No success.
  • I tried to disable the XMP Profile 1. No success.
  • I removed all devices from the internal USB headers (including the Fenvi and the Kraken). I also unplugged all external USB devices including the keyboard. The only connected device was a Wireless Logitech mouse (but a different device with a different USB adapter than my standard device). No success.
  • I tried to disable "proximity wake", although I think it has nothing to do with my problem.

The fact that the computer shuts down completely when I enter sleep mode makes me think that the real problem might be somewhere else. Maybe I have made a crucial mistake elsewhere?

Do you have any advice on how I can continue? I can upload the sleep log if it helps.

Thanks a lot already. I appreciate it!

Just some random additional ideas: Does it make sense to try to disconnect the usb connectors from the front panel of the case (NZXT H710i)? Could it be related to my monitor? It has an integrated USB Hub and internal speakers. I don't think I can turn them off though. I also tried entering sleep with "-alcoff" but it didn't work.
 
Last edited:
Hello @myplugin24,

There are in fact three steps:
  1. Copy FakePCIID_Intel_I225.kext
  2. Copy FakePCIID.kext
  3. Add a Device Properties entry that changes device-id of the Intel i225 controller
For step 3, notice what we did for Vision D:

The PCI device address in the red box on the left may need to be adjusted for your board. Also remember to add entries in OpenCore config.plist for the two kexts in steps 1 and 2.

ThankS for your reply @CaseySJ..Is it possible to get front panel headphone jack working?
 
Last edited:
I appreciate the challenge!

Since the EFI already includes USBInjectAll.kext, I believe Step 5 is to add uia_include=HS14 to the boot arguments.

However, Bluetooth does not yet seem to be enabled for me.

I confirmed the boot args with nvram -p which returned:
That is part of it. But USBInjectAll, which interprets those uia_... boot arguments, works in conjunction with the USB SSDT. If a USB port is not defined inside the SSDT, it cannot be enabled by USBInjectAll. If you look at mini-guide for Z390 Designare, you'll see there are two modified USB SSDTs attached to the bottom of that guide. We can just copy the HS14 section from either of those SSDTs and paste them into our own.

Then we need to add the number 2 to the field highlighted in the screenshot below, which will make it 0x1E + 0x02 = 0x20. That in turn will exceed the macOS port limit of 15, which is okay for now. You can either:
  • Delete a different USB port (then reduce the package count back to 0x1E). A complete USB port map is in Tech Talk in Post #1.
  • Keep the additional port, but macOS Installer will not work (i.e. macOS updates and upgrades won't work). In this case one can always switch to the standard USB SSDT before starting a macOS update or upgrade.
Screen Shot 2020-06-19 at 3.45.49 AM.png

To check if HS14 is active, we must run IORegistryExplorer and scroll the device tree on left side until we get to XHC. We should not use the 'search' bar.
 
Last edited:
Back
Top