Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Joined
Sep 5, 2013
Messages
103
Motherboard
GA-H87N-WIFI
CPU
4770
Graphics
GTX 750
Mac
MacBook Air, MacBook Pro
Joined
Apr 28, 2015
Messages
27
Motherboard
Gigabyte Z370 Aorus ULTRA GAMING
CPU
i7-8700K
Graphics
RX 480
Mac
iMac
Mobile Phone
iOS
Hi Rehabman, thanks for directing me here. I think i have followed the guide completely but have not successfully achieved file transfer speeds of over 10MBps. how can i check if i have done it successfully? creating some kind of report file perhaps?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,055
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi Rehabman, thanks for directing me here. I think i have followed the guide completely but have not successfully achieved file transfer speeds of over 10MBps. how can i check if i have done it successfully? creating some kind of report file perhaps?
As per post #1...

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Apr 19, 2018
Messages
2
Motherboard
Asrock Z370 PRO4
CPU
i5-8400
Graphics
Nvidia Geforce 760 2GB
Hello RehabMan

Asrock Z370 PRO4
i5-8400
Geforce 760 2GB

I just installed High Sierra on my first Hackintosh. Went great but my USB 3 ports are not working.
USB 2 devices work in the ports but not USB 3 devices.

When I test in IOREG, nothing happens at all when I plug in USB 3 devices.
Don't know what to do. I'm quite new to this.

EDIT:

I replaced my zip files with the one provided by black.dragon74's script.
debug_1878.zip

kextstat

Code:
hackintosh:RehabMan emil$ kextstat|grep -y acpiplat
   14    1 0xffffff7f8310e000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) FC118BB9-2E67-35DD-BB25-BA6DFAF5AE88 <13 12 11 7 6 5 4 3 1>
hackintosh:RehabMan emil$ kextstat|grep -y appleintelcpu
hackintosh:RehabMan emil$ kextstat|grep -y applelpc
hackintosh:RehabMan emil$ kextstat|grep -y applehda
   98    1 0xffffff7f82dc3000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.51) B33D861B-CBFD-34B8-883C-EBC5F129F824 <97 85 43 12 7 6 5 4 3 1>
  124    0 0xffffff7f82f43000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.51) 2A0459A7-A15B-33AB-ACF9-971801B4DE7E <123 98 97 94 85 43 6 5 4 3 1>
hackintosh:RehabMan emil$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
hackintosh:RehabMan emil$ pmset -g assertions
2018-04-19 01:12:56 +0200
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 92(hidd): [0x0000001500098076] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968070.3"
    Timeout will fire in 600 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14d00000
   id=501  level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14100000 owner=USB RECEIVER
   id=502  level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14200000 owner=Das Keyboard Model S
Idle sleep preventers: IODisplayWrangler
hackintosh:RehabMan emil$ pmset -g
System-wide power settings:
Currently in use:
standby              1
Sleep On Power Button 1
womp                 0
autorestart          0
hibernatefile        /var/vm/sleepimage
powernap             0
networkoversleep     0
disksleep            10
sleep                1
autopoweroffdelay    28800
hibernatemode        0
autopoweroff         1
ttyskeepawake        1
displaysleep         10
standbydelay         10800
hackintosh:RehabMan emil$ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: Yes
hackintosh:RehabMan emil$
kextcache

Code:
hackintosh:RehabMan emil$ sudo kextcache -i /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff724146420 [0x7fffa67f5af0]> { URL = "RT2870USBWirelessDriver.kext/ -- file:///System/Library/Extensions/", ID = "com.Ralink.driver.RT2870USBWirelessDriver" }
KernelCache ID: 9021049F1BEE4D7EBBD387A5F62F4373
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f91ceac8410 [0x7fffa67f5af0]> { URL = "RT2870USBWirelessDriver.kext/ -- file:///System/Library/Extensions/", ID = "com.Ralink.driver.RT2870USBWirelessDriver" }
 

Attachments

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,055
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hello RehabMan

Asrock Z370 PRO4
i5-8400
Geforce 760 2GB

I just installed High Sierra on my first Hackintosh. Went great but my USB 3 ports are not working.
USB 2 devices work in the ports but not USB 3 devices.

When I test in IOREG, nothing happens at all when I plug in USB 3 devices.
Don't know what to do. I'm quite new to this.

EDIT:

I replaced my zip files with the one provided by black.dragon74's script.
debug_1878.zip

kextstat

Code:
hackintosh:RehabMan emil$ kextstat|grep -y acpiplat
   14    1 0xffffff7f8310e000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) FC118BB9-2E67-35DD-BB25-BA6DFAF5AE88 <13 12 11 7 6 5 4 3 1>
hackintosh:RehabMan emil$ kextstat|grep -y appleintelcpu
hackintosh:RehabMan emil$ kextstat|grep -y applelpc
hackintosh:RehabMan emil$ kextstat|grep -y applehda
   98    1 0xffffff7f82dc3000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.51) B33D861B-CBFD-34B8-883C-EBC5F129F824 <97 85 43 12 7 6 5 4 3 1>
  124    0 0xffffff7f82f43000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.51) 2A0459A7-A15B-33AB-ACF9-971801B4DE7E <123 98 97 94 85 43 6 5 4 3 1>
hackintosh:RehabMan emil$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
hackintosh:RehabMan emil$ pmset -g assertions
2018-04-19 01:12:56 +0200
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 92(hidd): [0x0000001500098076] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968070.3"
    Timeout will fire in 600 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14d00000
   id=501  level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14100000 owner=USB RECEIVER
   id=502  level=255 0x4=USB mod=01/01/1970, 01.00 description=com.apple.usb.externaldevice.14200000 owner=Das Keyboard Model S
Idle sleep preventers: IODisplayWrangler
hackintosh:RehabMan emil$ pmset -g
System-wide power settings:
Currently in use:
standby              1
Sleep On Power Button 1
womp                 0
autorestart          0
hibernatefile        /var/vm/sleepimage
powernap             0
networkoversleep     0
disksleep            10
sleep                1
autopoweroffdelay    28800
hibernatemode        0
autopoweroff         1
ttyskeepawake        1
displaysleep         10
standbydelay         10800
hackintosh:RehabMan emil$ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: Yes
hackintosh:RehabMan emil$
kextcache

Code:
hackintosh:RehabMan emil$ sudo kextcache -i /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff724146420 [0x7fffa67f5af0]> { URL = "RT2870USBWirelessDriver.kext/ -- file:///System/Library/Extensions/", ID = "com.Ralink.driver.RT2870USBWirelessDriver" }
KernelCache ID: 9021049F1BEE4D7EBBD387A5F62F4373
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f91ceac8410 [0x7fffa67f5af0]> { URL = "RT2870USBWirelessDriver.kext/ -- file:///System/Library/Extensions/", ID = "com.Ralink.driver.RT2870USBWirelessDriver" }
You forgot to add a correct port limit patch to your config.plist.
The patch you have only works for 10.13.0 through 10.13.3.
Your ioreg proves you're running 10.13.4.
Refer to post #1 and config_patches.plist from the USBInjectAll github for the correct patch.
 
Joined
Apr 19, 2018
Messages
2
Motherboard
Asrock Z370 PRO4
CPU
i5-8400
Graphics
Nvidia Geforce 760 2GB
You forgot to add a correct port limit patch to your config.plist.
The patch you have only works for 10.13.0 through 10.13.3.
Your ioreg proves you're running 10.13.4.
Refer to post #1 and config_patches.plist from the USBInjectAll github for the correct patch.
You're exactly right. Just applied the patch and everything works great now,
I'm so grateful for the help. Thank you so much.
 
Joined
Apr 28, 2015
Messages
27
Motherboard
Gigabyte Z370 Aorus ULTRA GAMING
CPU
i7-8700K
Graphics
RX 480
Mac
iMac
Mobile Phone
iOS

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,055
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
ok updated, hope you can help with the multiple problems I'm having.

Thank you in advance!
Your ioreg shows only USB2 devices plugged in... no USB3 devices.
 
Joined
Apr 28, 2015
Messages
27
Motherboard
Gigabyte Z370 Aorus ULTRA GAMING
CPU
i7-8700K
Graphics
RX 480
Mac
iMac
Mobile Phone
iOS
Your ioreg shows only USB2 devices plugged in... no USB3 devices.
yup thats correct i hadn't had anything usb3 plugged in during the dump log, either way usb2 copy speeds are still running at 10meg a sec not even hitting 100. shal i plugin a usb3 device in the port and re do the ioreg dump?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
192,055
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
yup thats correct i hadn't had anything usb3 plugged in during the dump log, either way usb2 copy speeds are still running at 10meg a sec not even hitting 100. shal i plugin a usb3 device in the port and re do the ioreg dump?
No way to diagnose anything if you don't provide a set of problem reporting files that represent the problem scenario.

Or you could look at it in detail yourself. When you plug in a USB3 device, it should connect to an SSxx port in ioreg. If it doesn't, it is a hardware defect, or more likely a mistake in your USB configuration (wrong data in SSDT-UIAC.aml).
 
Top