Jump to content

USB 3.0 ports cause ML to freeze


  • Please log in to reply
14 replies to this topic

#1
pcmantinker

pcmantinker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:LSU
  • Interests:Hackintoshes, Programming, Piano, Classic Video Games
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?

Attached Files



#2
pcmantinker

pcmantinker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:LSU
  • Interests:Hackintoshes, Programming, Piano, Classic Video Games
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.

#3
SiliconVoid

SiliconVoid

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
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..

#4
SnprSlick

SnprSlick

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Tinker, I think I replied to your blog. I'm having the same exact problem.

#5
pcmantinker

pcmantinker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:LSU
  • Interests:Hackintoshes, Programming, Piano, Classic Video Games

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

#6
everdone

everdone

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 299 posts
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.

#7
pcmantinker

pcmantinker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:LSU
  • Interests:Hackintoshes, Programming, Piano, Classic Video Games
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.

#8
everdone

everdone

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 299 posts
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.

#9
pcmantinker

pcmantinker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:LSU
  • Interests:Hackintoshes, Programming, Piano, Classic Video Games

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.

#10
everdone

everdone

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 299 posts
Below is a modified USBXHCI kext for the IOUSBFamily.kext

Attached Files



#11
pcmantinker

pcmantinker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:LSU
  • Interests:Hackintoshes, Programming, Piano, Classic Video Games
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.

#12
Skaz

Skaz

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 131 posts
  • Gender:Male
  • Location:France
  • Interests:Graphisme - WebDesign - MAO

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)

#13
jimmyco2008

jimmyco2008

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
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.

#14
kernel_picnic

kernel_picnic

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
I had the same experience before. Have you guys tried to set XHCI hand-off to ``enabled'' in BIOS?

#15
jimmyco2008

jimmyco2008

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy