USB mapping: Removed ports still show up in IORegistryExplorer [OC]

USB mapping: Removed ports still show up in IORegistryExplorer [OC]

In order to make sleep work on my new Hackintosh, I mapped my USB ports according to this guide: https://www.tonymacx86.com/threads/the-new-beginners-guide-to-usb-port-configuration.286553/

(What the guide suggests in short:

  • Removing the ports in Hackintool and exporting a kext
  • Adding that kext to EFI/OC/ and into the config.)

I did exactly that and sleep/wake worked initially (two weeks ago), but then stopped working for some reason (crash report below)... So I'm back at square one and am trying to isolate the problem. According to said guide after applying the kext and rebooting the removed ports should not show up anymore in IORegistryExplorer (last screenshot of the guide's OP).

I have two USB controllers with 14 and 8 ports respectively, without removing any ports:

  • PTXH (POT/PO) 1-14
  • XHC0 (PRT) 1-8

Because I don't need them, I removed PO9-11 and PRT3,4,7,8. But I have found out that, whereas the removed PRTs stay removed, PO9-11 still show up in IORegistryExplorer after applying the above:

https://preview.redd.it/cmke2tjmf1i41.png?width=1182&format=png&auto=webp&s=20c8a88d9eaeb1f34fd0a8b463c65e6a19bf555e

For the PTXH controller not even the connector type (USB 2/3) is shown correctly (even though I set that before exporting the kext): PO5,6,7,8,12,13,14 are USB 2 not USB 3 (PO5 is USB 2 of the type C port, PO12 and 13 even are USB 2 only)...?! But they all work ok.

My questions

  1. Why do they still show up and how could I remove them for good?
  2. I am fairly sure that my sleep issue is related to USB mapping as the crash report suspects "com.apple.iokit.IOUSBHostFamily". Can you confirm this relation?
  3. Could my (or any) sleep issue be related to the actual ports in use when sending the machine to sleep? This is a weird thesis, I know, but this is the only USB or EFI/config related thing I changed since it worked a few week ago...

Further info about my Hackintosh

  • Crash report after failed wake after sending machine to sleep:

panic(cpu 0 caller 0xffffff80144a2d1c): Sleep transition timed out after 180 seconds while calling power state change callbacks. Suspected bundle: com.apple.iokit.IOUSBHostFamily. Thread 0x1e06. Failure code:: 0x00000040 00000014 
Type Item
CPU AMD Ryzen 5 3600X
Motherboard MSI B450 GAMING PRO CARBON AC
Video Card Radeon RX 5700 XT
Wifi/BT Card via PCIe Fenvi BCM94360CD off AliExpress
USB 3.0 PCIe Card Some cheap thing (no brand found?!) I had laying around, not expected to work on macOS, good on Win10 (dualboot)
Full List: PCPartPicker Part List (without BCM94360CD)

submitted by /u/CrayCJ
[link] [comments]
Share: