Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

@RehabMan Any chance to include iMac19,2 into kext? My hardware more matches this model but I can't use USB patching with it. Pretty pleeeease?
 
Thanks, but don’t we need to include iMac 19,2 to mergeModelData inside the kext source code as well?
 
Dear all,

Would it be possible to disable a specific port of an internal MB USB2.0 hub?
I'm trying to disable port with location ID = 0x14930000 under HS13 (H150i because it breakes sleep) - see ioreg attached, while still using the other ones (e.g. BRCM20702).
One option would be to simply disconnect the cable to the cooler but I still want to use it in Windows...

Thanks!
 

Attachments

  • Rui’s iMac.ioreg.zip
    883.7 KB · Views: 64
Last edited:
Dear all,

Would it be possible to disable a specific port of an internal MB USB2.0 hub?
I'm trying to disable port with location ID = 0x14930000 under HS13 (H150i because it brakes sleep) - see ioreg attached, while still using the other ones (e.g. BRCM20702).
One option would be to simply disconnect the cable to the cooler but I still want to use it in Windows...

Thanks!
As per rules, please update your hardware profile to allow others to help you easier
 
Hello, thank you for the guide!

My motherboard asus z370-F has additional usb controller (1 x type-c, 1 x 3.1) called ASM2142. Should I do some renaming stuff for this device? Or I have to disable 4 HS/SS ports in order to not pass the limit? I tried to remove all PRT* ports and export the patch, but they still appears after reboot and refresh the ports list. If I don't remove them my machine wakes up immediately after falling asleep.

mb: z370f
cpu: 8700k
igpu: uhd 630 / DP / 4k
bt: BCM943602CS
os: Mojave 10.14.16 latest public beta

Also, should BT's devices wake machine? I am unable to do that with my magic trackpad and logitech BT keyboard.

EFI: https://www.dropbox.com/s/5gx862fg6ygrac4/EFI.zip?dl=0
 
I am going through discovery process and there is something I don't understand: I boot with HS ports only, 14 in total on my MB, but for one USB port when I insert a USB stick, neither IORegistryExplorer nor USBMap python tool show me the activated port despite macOS 10.13.6 being able to mount the stick.

Another peculiar thing is that two other ports don't react at all on insertion of the stick.
 
I am going through discovery process and there is something I don't understand: I boot with HS ports only, 14 in total on my MB, but for one USB port when I insert a USB stick, neither IORegistryExplorer nor USBMap python tool show me the activated port despite macOS 10.13.6 being able to mount the stick.

Another peculiar thing is that two other ports don't react at all on insertion of the stick.
If macOS 10.13.6 can mount the stick then the stick is in the ioregistry. Use the following commands, then examine the text files created:
Code:
ioreg -filw0 > ioreg.txt
diskutil list > diskutillist.txt
system_profiler SPUSBDataType > systemprofilerusb.txt
Possibly, the port you connected the stick to is not part of the chipset XHC and is therefore not part of the discovery.

Do the two ports that don't react work in Windows? Use Device Manager in Windows, View by Connection.
 
Possibly, the port you connected the stick to is not part of the chipset XHC and is therefore not part of the discovery.

Do the two ports that don't react work in Windows? Use Device Manager in Windows, View by Connection.

Thanks for your reply.

Indeed, one of the port was not a part of the chipset XHC.

One of the non-reacting ports started working only after I disabled all but a few HSxx ports, so I managed to figure out which number was it.

I ignored the second non-reacting port on the front. IIRC due to the limited space and cable management I did not bother connecting it to the MB.
 
Back
Top