[Guide] Creating a Custom SSDT for USBInjectAll.kext

Discussion in 'Mojave Laptop Support' started by RehabMan, Jan 2, 2017.

  1. Strik9

    Strik9

    Joined:
    Sep 5, 2013
    Messages:
    103
    Motherboard:
    GA-H87N-WIFI
    CPU:
    4770
    Graphics:
    GTX 750
    Mac:
    MacBook Air, MacBook Pro
    Apr 18, 2018 at 1:14 PM #1571
    Strik9

    Strik9

    Joined:
    Sep 5, 2013
    Messages:
    103
    Motherboard:
    GA-H87N-WIFI
    CPU:
    4770
    Graphics:
    GTX 750
    Mac:
    MacBook Air, MacBook Pro
  2. kingkongw24

    kingkongw24

    Joined:
    Apr 28, 2015
    Messages:
    20
    Motherboard:
    Gigabyte Z370 Aorus ULTRA GAMING
    CPU:
    CoffeeLake i7-8700K
    Graphics:
    GTX760
    Mac:
    iMac
    Mobile Phone:
    iOS
    Apr 18, 2018 at 2:50 PM #1572
    kingkongw24

    kingkongw24

    Joined:
    Apr 28, 2015
    Messages:
    20
    Motherboard:
    Gigabyte Z370 Aorus ULTRA GAMING
    CPU:
    CoffeeLake i7-8700K
    Graphics:
    GTX760
    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?
     
  3. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Apr 18, 2018 at 3:13 PM #1573
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    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.
     
  4. EmilFrom

    EmilFrom

    Joined:
    Apr 19, 2018
    Messages:
    2
    Motherboard:
    Asrock Z370 PRO4
    CPU:
    i5-8400
    Graphics:
    Nvidia Geforce 760 2GB
    Apr 19, 2018 at 12:24 AM #1574
    EmilFrom

    EmilFrom

    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" }
     

    Attached Files:

    Last edited: Apr 19, 2018
  5. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Apr 19, 2018 at 1:29 AM #1575
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    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.
     
  6. EmilFrom

    EmilFrom

    Joined:
    Apr 19, 2018
    Messages:
    2
    Motherboard:
    Asrock Z370 PRO4
    CPU:
    i5-8400
    Graphics:
    Nvidia Geforce 760 2GB
    Apr 19, 2018 at 6:40 AM #1576
    EmilFrom

    EmilFrom

    Joined:
    Apr 19, 2018
    Messages:
    2
    Motherboard:
    Asrock Z370 PRO4
    CPU:
    i5-8400
    Graphics:
    Nvidia Geforce 760 2GB
    You're exactly right. Just applied the patch and everything works great now,
    I'm so grateful for the help. Thank you so much.
     
  7. kingkongw24

    kingkongw24

    Joined:
    Apr 28, 2015
    Messages:
    20
    Motherboard:
    Gigabyte Z370 Aorus ULTRA GAMING
    CPU:
    CoffeeLake i7-8700K
    Graphics:
    GTX760
    Mac:
    iMac
    Mobile Phone:
    iOS
    Apr 19, 2018 at 4:44 PM #1577
    kingkongw24

    kingkongw24

    Joined:
    Apr 28, 2015
    Messages:
    20
    Motherboard:
    Gigabyte Z370 Aorus ULTRA GAMING
    CPU:
    CoffeeLake i7-8700K
    Graphics:
    GTX760
    Mac:
    iMac
    Mobile Phone:
    iOS
    ok updated, hope you can help with the multiple problems I'm having.

    Thank you in advance!
     

    Attached Files:

  8. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Apr 19, 2018 at 5:02 PM #1578
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Your ioreg shows only USB2 devices plugged in... no USB3 devices.
     
  9. kingkongw24

    kingkongw24

    Joined:
    Apr 28, 2015
    Messages:
    20
    Motherboard:
    Gigabyte Z370 Aorus ULTRA GAMING
    CPU:
    CoffeeLake i7-8700K
    Graphics:
    GTX760
    Mac:
    iMac
    Mobile Phone:
    iOS
    Apr 23, 2018 at 11:55 AM #1579
    kingkongw24

    kingkongw24

    Joined:
    Apr 28, 2015
    Messages:
    20
    Motherboard:
    Gigabyte Z370 Aorus ULTRA GAMING
    CPU:
    CoffeeLake i7-8700K
    Graphics:
    GTX760
    Mac:
    iMac
    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?
     
  10. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Apr 23, 2018 at 2:20 PM #1580
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,335
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    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).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice