Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
pcmantinker

USB 3.0 ports cause ML to freeze

15 posts in this topic

Recommended Posts

I have an MSI GT70 0ND-202US laptop with 3 x USB 3.0 ports and 2 x USB 2.0 ports, but every time I plug something into one of the USB 3.0 ports (USB 2.0 or USB 3.0), it freezes my computer and I'm forced to restart. USB 2.0 works fine on my two USB 2.0 ports. My USB 3.0 ports are using Intel's HM77 Chipset so the native USB 3.0 kexts are loading and System Information shows AppleUSBXHCI as the loaded driver for both the USB 3.0 High-Speed Bus and the USB 3.0 SuperSpeed Bus. Is there some sort of DSDT patch that I can apply to make these ports work?

post-180821-0-30509200-1345788317_thumb.jpg

post-180821-0-77476700-1345788326_thumb.jpg

Share this post


Link to post
Share on other sites

I've seen that if one uses the DP3 kexts for USB, it will stop the freezing. I have tested this method, but it appears to make the USB 3.0 ports not work altogether. Even if I can only get USB 2.0 from these ports, that would be great. I'll keep digging.

Share this post


Link to post
Share on other sites

Are you using a DSDT file at all?

 

I am using the same H77 chipset, not the same board, and did not have to add anything for the USB specifically.

I have a Toshiba 1tb USB3 drive that I have tested on both USB ports, and additionally tested against the USB2 ports. I have no problem with that drive at all (the only USB3 device I have on hand) and the OS accurately identifies the protocol of any other devices I plug into the USB3 ports.

I have tested speed as well to see the Toshiba drive runs ~3x faster on the USB3 ports than the USB2 so they are obviously being supported without any additional kext's or editing of anything.

 

**I am using an extracted/optimized DSDT file though.**

 

It would be a bummer if there was any difference in the mobile version. I have not seen any kexts or edits to provide USB3 specific support for the x77 chipset as ML already supports it..

Share this post


Link to post
Share on other sites

Tinker, I think I replied to your blog. I'm having the same exact problem.

I haven't found a solution to the USB 3.0 issue unfortunately. I did however notice that it behaves much better with OS X 10.8.2 than previous updates. Plugging a device into the USB 3.0 ports still crashes the computer, but not immediately. I just use the two USB 2.0 ports on mine while booted into Mountain Lion. It could be that the mobile chipset isn't exactly like Apple's in the Ivy Bridge Macbooks, thus it's causing issues when loading kexts for the XHCI USB controller. Just a wild guess though. Reverting to DP kexts didn't fix the issue sadly. It just broke all of my USB ports completely (USB 2.0 included).

Share this post


Link to post
Share on other sites

On my Lenovo laptop the USB 'freezing' was stopped by adding the Device ID of the USB3 to the info.plist of the XHCI kext (located in Plugins of the IOUSBFamily kext). Prior to the mod plugging a USB device into the USB3 port would apparently cause the USB2 ports to stop working, however, I found If I unplugged the device (USB mouse) in USB2 port and reinserted it started working again.

 

I don't know if USB3 really works as I don't have any USB3 devices, but the ports do work as USB2 without any 'freezing' effect.

Share this post


Link to post
Share on other sites

How did you find your device ID for the USB 3.0 controller? Also, did you put it in IOKitPersonalities->AppleUSBXHCI->IOPCIClassMatch ? It tried running lspci, but didn't seem to find the correct ID that way. I have 1e31, 1e2d, and 1e26 from lspci in OS X. According to System Information, 1e31 is the USB 3.0 controller and 1e2d and 1e26 are the USB 2.0 controllers. System Information shows that it recognizes the USB 3.0 controller, but I'm not sure why it freezes when I plug something in (USB 3.0 or 2.0). I haven't injected ids yet though.

 

EDIT:

I got my USB 3.0 ports to accept USB 2.0 devices by removing the XHCI plugin from IOUSBFamily.kext. I will try a few different configurations later, but this lets me at least use all USB ports on my laptop now! It seems to be an issue with the XHCI plugin that I will have to resolve later.

Share this post


Link to post
Share on other sites

I added the 1e31 ID to IOClassMatch in the XHCI kext to replace the one that was there. I forgot to mention that I also installed the PXHCD kext which I found on this site for USB3.

Share this post


Link to post
Share on other sites

I added the 1e31 ID to IOClassMatch in the XHCI kext to replace the one that was there. I forgot to mention that I also installed the PXHCD kext which I found on this site for USB3.

Could you attach your XHCI plugin kext? I'm not seeing a way to add that device ID. Also, I tried installing PXHCD.kext and it doesn't provide USB 3.0 on my laptop since the laptop's USB 3.0 controller is an Intel controller.

Share this post


Link to post
Share on other sites

Thanks for the kext attachment. Unfortunately, it appears as though injecting the device ID into the USBXHCI kext didn't fix the issue. I've removed AppleUSBXHCI.kext from the plugins for now so I can use all my USB ports as USB 2.0 until I figure out a fix for USB 3.0.

Share this post


Link to post
Share on other sites
I tried installing PXHCD.kext and it doesn't provide USB 3.0

 

There are two version 1.0.8 and 1.0.10... and i noticed that only one work for me. did you try both ?

 

Also, instead of PXHCD.kext you can try CalDigitFastIO.kext and CalDigitUSBxHCI.kext. (you may have to use IOUSBfamilyRollback with)

Share this post


Link to post
Share on other sites

Hey all, any updates on this? I have an HM77 too and my laptop only has one USB 2.0 port... naturally.

 

Also, for me at least, plugging something in to a USB 3.0 port freezes OSX, but if I remove the offending USB device and wait a minute, OSX works again.

Share this post


Link to post
Share on other sites

Specify... In BIOS? My laptop's (HP m6-1045dx) BIOS gives me virtually no options for anything, not even changing SATA mode from RAID to AHCI, it was a miracle I could make a Hackbook out of it.

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


  • Recently Browsing   0 members

    No registered users viewing this page.

×