USB Devices Eject on Sleep

Hello,

Problem: Randomly after waking from Sleep, USB storage devices are improperly ejected. Only USB 3.0 storage devices re-connect automatically, with USB 2.0 storage devices requiring the device to be physically unplugged and replugged. Duration of sleep does not appear to matter: Testing has been done at 10 second, 1 minute, 5 minute, 15 minute, and 1 hour intervals. Each have resulted in passes and fails.

Current hardware:

  • Intel i9-9900k (stock speed)
  • ASRock Z390 Phantom Gaming ITX/ac
  • 64GB 3200MHz RAM (XMP Profile 1)
  • 2TB Samsung Pro 960 M.2
  • Sapphire Pulse RX 5600 XT 6GB

BIOS + Install Method:

  • macOS Catalina 10.15.4 clean install
  • Opencore 0.5.7
  • BIOS: XHCI-Handoff -> Enabled
  • BIOS: 4G Decoding -> Enabled

Devices Used to test:

  • 8GB USB 2.0 HP thumb drive
  • 64GB USB 3.0 SanDisk thumb drive
  • 1TB Samsung T1
  • 1TB Samsung T5
  • 1TB SanDisk SATA -> USB 3.0 enclosure

Attempted Solutions:

  1. USBInjectAll.kext + SSDT-UIAC.aml (tried with USB 2.0 HSxx ports set to both 0x00 and 0x03 for UsbConnector)
  2. Disabled all C-states except C0 and C1E in the BIOS
  3. Enabled/Disabled Energy Saver -> "Put Hard Drives To Sleep When Possible"
  4. Enabled/Disabled Energy Saver ->"Power Nap"
  5. Enabled/Disabled Energy Saver ->"Wake for Ethernet Network Access"
  6. Set "pmset hibernatemode" to 0, 3, and 25
  7. Set "pmset gpuswitch" to 1 and 2
  8. Set "pmset proximitywake" to 0 and 1
  9. Set "pmset standby" to 0 and 1

Each of the above solutions has been tried in a reset (original) environment, and in combination with each other. No dice.

EFI ZIP: https://gofile.io/?c=mwjjY9

config.plist: https://gofile.io/?c=kONkqk

SSDT-UIAC.aml: https://gofile.io/?c=cktKhp

-----------------------------------------------------

Anybody have any ideas what I can try from here?
I am quite stumped. Searching these forums and r/Hackintosh has yet to uncover anything new that I haven't tried. Thanks all!!!

submitted by /u/papadiche
[link] [comments]