Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

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?
 
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.
 
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

  • debug_1878.zip
    2.5 MB · Views: 89
Last edited:
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.
 
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.
 

Attachments

  • debug_15301.zip
    1.9 MB · Views: 88
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.
 
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?
 
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).
 
Hi @RehabMan, I desperately need your help in determining if there are errors in my SSDT-UIAC.aml creation. I have followed this guide as best as I could, but there seem to be problems - my USB3 (Sabrent UIN3) card reader, connected to a USB3 header on the motherboard, is recognised and powered up (and works flawlessly) when I boot using the SSDT-UIAC, but it disappears after the first sleep/wake, and then the computer cannot go into proper sleep (it sleeps, and then the fans spin up again and the screen comes back on, again and again, in an endless loop). I am afraid I might have made a mistake marking/not marking a USB2/USB3 or an internal hub as something else.

Also, if I don't boot from scratch (turn the power switch off on the SMPS/power supply, and then back on), the card reader does not get powered on and/or detected. Can't figure out why. Beyond my knowledge and understanding.

Could you please go through my files. I have supplied all problem reporting files, along with other files that I think might help.

The card reader works flawlessly on a linux boot (on a separate hard drive) on the same computer, which leads me to believe that the problem lies somewhere with how I have done my ACPI implementation and/or SSDT creation.

Your help is greatly appreciated.
 

Attachments

  • after-SSDT-UIAC.ioreg.zip
    975 KB · Views: 82
  • problem-reporting-files.zip
    3.2 MB · Views: 68
  • uia_ignore_rmcf.ioreg.zip
    1 MB · Views: 60
  • SSDT-UIAC-FINAL.dsl
    10.4 KB · Views: 111
  • SSDT-UIAC.aml
    1.8 KB · Views: 93
  • USB-Mapping.jpg
    USB-Mapping.jpg
    855.7 KB · Views: 93
Back
Top