Jump to content
Sign in to follow this  
Followers 0
cwestpha

USB ports no longer working reliably after 10.12.6 update

21 posts in this topic

Recommended Posts

Looks like after the 10.12.6 update something reset in my USB subsystem and now I am no longer able to reliably use almost half of my USB ports. This is across both USB 2.0 and 3.x ports. It looks like the ports re-organized themselves and I am hitting limits again though I am not sure why (granted I have 4 USB hubs attached to my computer in addition to the internal ones). I guess I havent been keeping up on grooming my edits and patches since .3 so it was bound to happen. [i really hope the USB subsystem is better in 10.13]

 

Any assistance would be appreciated. I have attached my ACPI dumps as patched by Clover, the original unpatched dumps, my current config.plist, my patched ssdt.aml, and an IOREG USB dump.

Asrock Z170 Ext 6+ 6700K @ 4.4.zip

Share this post


Link to post
Share on other sites
Advertisement

make sure that you are using the latest version of USBInjectAll.kext which is 0.6.2.

 

and this is the latest patch for 100-Series on @Rehabman's GitHub:

Comment: change 15 port limit to 26 in AppleUSBXHCIPCI
Name: AppleUSBXHCIPCI
Find: <83bd8cfe ffff10>
Replace: <83bd8cfe ffff1b>

Share this post


Link to post
Share on other sites

Confirmed I am using that version of USBInjectAll.kext and that it is loaded...

 

looks like the hex changed...

 

was

<key>Find</key>

    <data>
    g710////EA==
    </data>
    <key>Name</key>
    <string>AppleUSBXHCIPCI</string>
    <key>Replace</key>
    <data>
    g710////Gw==
    </data>

 

now...

<key>Find</key>
    <data>
    g72M/v//EA==
    </data>
    <key>Name</key>
    <string>AppleUSBXHCIPCI</string>
    <key>Replace</key>
    <data>
    g72M/v//Gw==
    </data>

 

The result is the same though. About half of my USB ports are still not working when something is plugged into them.

Share this post


Link to post
Share on other sites

Confirmed I am using that version of USBInjectAll.kext and that it is loaded...

Do you have a custom SSDT-UIAC.aml for your USB ports?

Share this post


Link to post
Share on other sites

There is a link in my signature "macOS Sierra Guide" you can find a chapter on how to create a custom SSDT-UIAC.aml you might find it useful.

Share this post


Link to post
Share on other sites

There is a link in my signature "macOS Sierra Guide" you can find a chapter on how to create a custom SSDT-UIAC.aml you might find it useful.

Still missing half of my ports :-(

getting closer though.

<"pci1849,a12f", "pci8086,a12f", "pciclass,0c0330", "XHC">

 

It still isn't detecting two onboard USB 2.0 ports and it still only sees half of the ports on USB 3.0 hubs.

 

HS 1, 2, 5, 7, 14

USR 1

 

appear completely un-used. The internal headers a sensor is on and the Bluetooth USB data lines for Apple Airport card aren't detected.

 Am I correct it is safe to remove USR 2 & the SS devices for Z170 platform?

 

I assume this is just a matter of phantom devices hitting the port limit?

SSDT-UIAC-ALL.dsl.zip

Share this post


Link to post
Share on other sites

Still missing half of my ports :-(

getting closer though.

<"pci1849,a12f", "pci8086,a12f", "pciclass,0c0330", "XHC">

 

It still isn't detecting two onboard USB 2.0 ports and it still only sees half of the ports on USB 3.0 hubs.

 

HS 1, 2, 5, 7, 14

USR 1

 

appear completely un-used. The internal headers a sensor is on and the Bluetooth USB data lines for Apple Airport card aren't detected.

 Am I correct it is safe to remove USR 2 & the SS devices for Z170 platform?

 

I assume this is just a matter of phantom devices hitting the port limit?

Did you compile the aml file? or did you use the .dsl file?

If you plugged a device in each USB port and mapped them correctly then you can remove the unused ports because macOS won't use them anyway.

Share this post


Link to post
Share on other sites

Did you complete the aml file? or did you use the .dsl file?

I used the .aml file I compiled but attached the .dsl because it includes the commented out sections I removed for reference. That way when I am done freeing up the unused ports, if I find one I accidentally disabled I need to re-enable I can easily see what I killed off and can comment it back in with a quick recompile and save.

Share this post


Link to post
Share on other sites

I used the .aml file I compiled but attached the .dsl because it includes the commented out sections I removed for reference. That way when I am done freeing up the unused ports, if I find one I accidentally disabled I need to re-enable I can easily see what I killed off and can comment it back in with a quick recompile and save.

Ok that sound like good plan. But I suggest we do this one step at the time. Remove all the external USB hubs, identify your onboard USB ports and create the SSDT file based on your active ports. If all the ports are working OK then you can move on to step two and add the extra USB ports to the SSDT.

Just one more thing!

 

Did you add the MatchOS entry for the USB port limit patch?

Share this post


Link to post
Share on other sites

Did you try changing AppleUSBXHCIPCI to AppleUSBXHCISPT

Is this change mandatory? because my ports are working with the same old patch and there is no mention of the AppleUSBXHCISPT on rehabman's GitHub.

 

Update:

Besides, AFIAK when we use the custom SSDT there is no need for the port limit patch anyway.

Share this post


Link to post
Share on other sites

Sorry, I am not expert. This change works on my system. but if you see on system report (USB) you will read host control driver: AppleUSBXHCISPT.

Share this post


Link to post
Share on other sites

Sorry, I am not expert. This change works on my system. but if you see on system report (USB) you will read host control driver: AppleUSBXHCISPT.

It's ok I'm just curious to know, that's why I asked :)

 

I just replaced the patch and it seems to work as well. Just changed the name and it's working ok.

Share this post


Link to post
Share on other sites

Ok that sound like good plan. But I suggest we do this one step at the time. Remove all the external USB hubs, identify your onboard USB ports and create the SSDT file based on your active ports. If all the ports are working OK then you can move on to step two and add the extra USB ports to the SSDT.

Just one more thing!

 

Did you add the MatchOS entry for the USB port limit patch?

That's actually what I did. Hence my question about SS and USR ports being safe to get rid of (to free up more available ports).

 

I assume it is still true we want to set which XHR ports are 2.0 only since USB 3.x still takes up two port count?

 

I wish there was an easy utility that allowed one to just do an entire high-level overview of your USB ports and how they are setup for easy reference. Like you just open the flood gates using the all ports injector and plug a USB 3.0 mass storage device into each port and it automagically tracks what has real devices off of it and (depending on how it is detected)  handles USB version. Oh well.

 

And no, I don't think I had a MatchOS entry.

 

Did you try changing AppleUSBXHCIPCI to AppleUSBXHCISPT

I have a USB 3.1 bus off of AppleUSBXHCIPCI (ASMedia ASM1142) and my main USB 3.0 (Z170 fed) bus off of AppleUSBXHCISPTI then have two internal USB 2.0 port headers and a 3.0 header. So far only one of the 2.0 headers (two ports) is working. Everything else seems to work/detect fine.

Share this post


Link to post
Share on other sites

That's actually what I did. Hence my question about SS and USR ports being safe to get rid of (to free up more available ports).

 

I assume it is still true we want to set which XHR ports are 2.0 only since USB 3.x still takes up two port count?

 

I wish there was an easy utility that allowed one to just do an entire high-level overview of your USB ports and how they are setup for easy reference. Like you just open the flood gates using the all ports injector and plug a USB 3.0 mass storage device into each port and it automagically tracks what has real devices off of it and (depending on how it is detected)  handles USB version. Oh well.

 

And no, I don't think I had a MatchOS entry.

 

I have a USB 3.1 bus off of AppleUSBXHCIPCI (ASMedia ASM1142) and my main USB 3.0 (Z170 fed) bus off of AppleUSBXHCISPTI then have two internal USB 2.0 port headers and a 3.0 header. So far only one of the 2.0 headers (two ports) is working. Everything else seems to work/detect fine.

 

To answer your question I need to see your IOReg. If you can send it to me, I need both IOReg files with and without plugging USB devices in all the USB ports if you can. I need to compare those files to see which ports are used.

 

BUT if the ones you commented out are not showing in the IOReg as busy or used when you plugged a USB device in each and every USB port available then yes it's safe to remove them.

 

How many active USB ports you have including the USB hubs?

Share this post


Link to post
Share on other sites

To answer your question I need to see your IOReg. If you can send it to me, I need both IOReg files with and without plugging USB devices in all the USB ports if you can. I need to compare those files to see which ports are used.

 

BUT if the ones you commented out are not showing in the IOReg as busy or used when you plugged a USB device in each and every USB port available then yes it's safe to remove them.

 

How many active USB ports you have including the USB hubs?

I have 27 ports total including hubs (though some devices have internal hubs like the HTC Vive which technically has a hub of its own). All but 4 are USB 3.x. For just the mainboard... there should be the 2 USB 3.1 provided by the ASM1142, plus 8 USB 3.0 and 4 USB 2.0.

 

Will see what I can do for the comparison...

Share this post


Link to post
Share on other sites

I have 27 ports total including hubs (though some devices have internal hubs like the HTC Vive which technically has a hub of its own). All but 4 are USB 3.x. For just the mainboard... there should be the 2 USB 3.1 provided by the ASM1142, plus 8 USB 3.0 and 4 USB 2.0.

 

Will see what I can do for the comparison...

Oh my! we need to sacrifice on port. The patch is to change the 15 ports limit to 26.

If you decided to send me the IOReg files it would be great if you could use IOJones instead of IORegistryExplorer. I will check them later because I have to go now. I hope we can find a way to solve your problem.

Share this post


Link to post
Share on other sites

 

and this is the latest patch for 100-Series on @Rehabman's GitHub:

Comment: change 15 port limit to 26 in AppleUSBXHCIPCI
Name: AppleUSBXHCIPCI
Find: <83bd8cfe ffff10>
Replace: <83bd8cfe ffff1b>

AFAIK, this is for 10.11.x

 

 

100-series for 10.12 is:

Find: 83BD74FF FFFF10
Replace: 83BD74FF FFFF1B

Share this post


Link to post
Share on other sites

Where do we change this?

This is the name of the patch

 

for up to 10.12.5

<dict><key>Comment</key>
<string>change 15 port limit to 26 in AppleUSBXHCIPCIName: AppleUSBXHCIPCI</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
g72M/v//EA==
</data>
<key>Name</key>
<string>AppleUSBXHCIPCI</string>
<key>Replace</key>
<data>
g72M/v//Gw==
</data>
</dict>

and for 10.12.6

<dict><key>Comment</key>
<string>change 15 port limit to 26 in AppleUSBXHCIPCIName: AppleUSBXHCIPCI</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
g72M/v//EA==
</data>
<key>Name</key>
<string>AppleUSBXHCISPT</string>
<key>Replace</key>
<data>
g72M/v//Gw==
</data>
</dict>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By misterphoton
      Thanks to the website for being a resource and making hacktintosh a valuable resource to the little guy.
       
      I have a HP Elitebook 8560p with a Radeon HD 6470m video card / Hackintosh that I was able to get Mavericks onto with everything working but Sierra has problems with the USB 3.0, as well the Radeon Card working with GPU acceleration.
       
      I have installed Sierra and I cannot get the GPU to work with OPEN CL, resolution or the USB 3.0 to be recognized, unlike the Mavericks partition.
       
      As far as the Radeon goes, It is in VGA mode with no GPU acceleration, but it sees it in the system profiler but not correctly with the V RAM. I for the life of me cannot remember how I resolved these issues in Mavericks, as I was foolish enough not to take notes or make a build sheet.
       
      Can you point me in the right direction on these 2 issues? I can provide my contact information as well if this is OK to?
       
      Hardware is: (Bolder text being an immediate priority for assistance if anyone can)
       
      i7 quad core 16gb ram (OK) 2 USB 2 ports working 2 USB 3.0 port not working Radeon HD 6470m with 1024 v RAM, that is in VGA mode with no GPU acceleration motherboard:  Intel MX67QM (not sure if this is a 6, 7, 8 or 9 series chipset) The chipset is listed as MX67QM BIOS: AMI 64 (updated) NO Intel HD graphics enabled on the motherboard HDMI not tested, but says the audio is working via HDMI Intel 82579LM Gigabit LAN not tested Intel 82574 PCIe LAN not tested (not seen, but listed in motherboard specs) Intel Centrino Ultimate N6300 AGN (says for network adapter, but I  Realtek ALC 887 working by Voodoo 2,8,8 Card Reader: Not recognized No dual Intel HD graphics (not seen by system profiler) and HP stated the card is either removed or disabled (perhaps by BIOS)  
       
      Thanks for your time, Nick Teti, Mister Photon Media. [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] worked in the past for USB 3, but I do not remember how I got the GPU issue fixed. I can be contacted through the forum or by my profile if this is not breaking the rules?
    • By insanelymacdonald
      CPU | Intel core i7 6700 3.4Ghz
      Mobo | Gigabyte H170-D3hp
      Ram | Corsair Vengeance 16GB (2x8GB) 2133Mhz
      GPU | Galax GTX970 4GB
      SSD | Samsung 850 Evo 500GB
      PSU | Thermaltake 600w
      OS | 10.11.6

      I initially thought this issue was a blown port and while it still could be hardware I've noticed something very odd.

      Two days ago I was using a USB 3.0 portable drive doing some colour grading in Da Vinci resolve. Quite suddenly, the mouse stopped working and then a couple of seconds later the system reset itself. I have no idea what happened but when the system rebooted a message popped up and for a tense few seconds I was worried the drive was ruined. The message said something like 'drive connected to mac but does not have power' or something along those lines but specifically indicating that I should plug the device in to a port that has power.

      This was the same port the drive was plugged in to when the reset happened and so I unplugged it and moved it to the port above and it worked. I was curious about the issue today and didn't have any critical work to do so I had a test with another bus powered drive that also previously worked fine. This one also had not encountered any dodginess like the sudden system reset either. I plugged it in to the port that I knew had caused issue and received the same message. I plugged it in to the port immediately adjacent and also received the same message. The thing is the drive is spinning so it *is* receiving power and the fact that it's giving me that message suggested to me that is registering on at least some level with OSx.

      Anyone know what I should do?
    • By mediocre
      Ciao a tutti ragazzi, ho aggiornato da Mavericks a Sierra, tutto ok, le uniche 2 cose che non sono riuscito ancora ad installare sono le porte usb 3.0 e la scheda ethernet realtek 8169sc che funzionava con Mavericks, la scheda ethernet è aggiuntiva Pci perchè quella della motherboard si è bruciata ho fatto alcune prove ma non ci sono riuscito qualcuno può aiutarmi per favore? Grazie mille
      Questa sotto è la mia configurazione:
      i5 2400 - Motherboard P8H61 Asus, 12Gb Ram DDR3, SSD Evo 850
    • By rhew90
      Hello, There is a solution to my problem? do not work as USB 3.0 ports 3.1. Also not working the sound card and for this I thought I Buy the Asus Xonar x3 to Solve
    • By leadermar
      Finalmente sono riuscito ad installare El capitan, sembra essere tutto ok, solo alcune cose da sistemare.
      Ho seguito in parte la guida di gengik84 relativa all'Asrock H110m, ma mi sono perso nella parte relativa all'audio, qualcuno puoi darmi una mano? l'HDMI funziona già.
       
      Un ultima cosa, non capisco a cosa serve SSDT.aml.
       
      Confg:
       
      Asrock h170m Pro4s
      CPU 6700 Skylake
      Ram DDR4 2133 16GB(2x8)
       
      Grazie di tutto
×