- Joined
- Apr 28, 2011
- Messages
- 909
- Motherboard
- Asus Prime Z690M-Plus D4
- CPU
- i7-12700KF
- Graphics
- RX 6600
- Mac
- Mobile Phone
I tried to lower down from 0x19 to 0x17 on portcount value of USBPort.kext/info.plist, but opposite as your test, my port number 0x18 and 0x19 don't show up in IOReg, which is the expected behavior. I wonder how come in your build if you cut down to 0x17 the portcount value, ports n. 0x18 and 0x19 show up!Thanks @gandem !
unfortunately things on my side are a little bit different because I've always been using @CaseySJ SSDT-UIAC-ASUS-Z690-PROART-15-ALL-PORTS.aml with UIA-EXCLUDE flag in my config.plist , so that I've always been stayed at 15 total ports.
So I decided to build all the USB map from scratch by myself, I preferred to go with another method: instead of using and relying on Usbinjectall.kext v. 0.7.7 which is still based on the previous generation Z590 motherboards, I choose to go with USBToolBox under Windows 10. And these are my finding:
And that's it! Finally everything is working correctly and the internal USB-C 3.2 gen. 2 port (HS09/SS09) is working as expected. The only thing I'm not happy with is that sleep will not be broken if an SSD disk is actually present in that port.
- file UTBMAP_z690PROART.txt is just the text version of the USBToolBox output. There are 3 XHCI trees in my case: the 1st one is referred to the USB parts of the two Thunderbolt ports, the 2nd is referred to the actual USB ports from Z690 chipset, and the 3rd one is related to my AMD RX6800XT GPU.
- As you can see there are - as always happen - two ghost ports, namely the HS15 (0x0F0000) and HS16 (0x100000) inside the total 25 ports.
- I build up the USBPorts.kext manually, based upon those finding and referring to all these actual (but not the ghost ones) ports onto the Asus Z690 ports as in the map1 and map2 of @CaseySJ . So I deliberately choose to strip down both the ghost ports and to lower the port-count data value inside the info.plist to 0x17 instead of 0x19.
- I then exclude ports not in use with a "#" in front the port data key of each port I'm not using.
- I must remember here that my kext works with my sysdef which is iMacPro 1,1 instead of Mac Pro 7,1. So change it accordingly if someone would go for a test!
Could someone kindly check the sleep with some disk attached to that port?
Here's my USB map and complete kext for reference: