Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
Nov 8, 2011
Messages
86
Motherboard
ASRock X99 Extreme4/3.1
CPU
E5-1620-V3
Graphics
Gigabyte GTX 960 OC 2GB
you can use this fork, or just add iMac19,2 to the plist yourself

 
Joined
Oct 23, 2012
Messages
12
Motherboard
MSI B360m Mortar Titanium
CPU
i7-8700
Graphics
RX 560
Mac
MacBook Pro
Mobile Phone
iOS
Thanks, but don’t we need to include iMac 19,2 to mergeModelData inside the kext source code as well?
 
Joined
Dec 8, 2018
Messages
2
Motherboard
ASUS ROG MAXIMUS XI HERO (WI-FI)
CPU
i9-9900K
Graphics
HD 630
Mobile Phone
Android
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

Last edited:

Feartech

Moderator
Joined
Aug 3, 2013
Messages
10,889
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
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
 
Joined
Dec 1, 2018
Messages
34
Motherboard
ASUS ROG STRIX Z370F
CPU
i7-8700K
Graphics
UHD630
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
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
 
Joined
Mar 7, 2017
Messages
34
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.
 
Joined
Apr 5, 2016
Messages
633
Motherboard
GIGABYTE Z170X-Gaming 7
CPU
i7-6700K
Graphics
GTX TITAN X
Mac
iMac, MacBook, MacBook Air, MacBook Pro, Mac mini, Mac Pro
Classic Mac
Apple, LC, Power Mac
Mobile Phone
iOS
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.
 
Joined
Mar 7, 2017
Messages
34
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.
 
Top