Jump to content

How to get Intel 7 Series USB 3.0 fully working - Step by Step guide


  • Please log in to reply
98 replies to this topic

#81
falanx

falanx

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male

I'm trying this on my laptop. In my dsdt there isn't any Device (HUBN) so neither PR1x's.. Any tips?



#82
Voskot

Voskot

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Italy

I'm trying this on my laptop. In my dsdt there isn't any Device (HUBN) so neither PR1x's.. Any tips?

 

 

I was trying to follow the guide for my laptop (Asus UX32A) and I'm in the same situation. 

Does anyone know what to do?



#83
bozma88

bozma88

    InsanelyMac Protégé

  • Donators
  • 21 posts
  • Gender:Male
  • Location:Brescia, Italy
  • Interests:HighCRI lighting, web frameworks, Hackintosh, 2-strokes bikes, Wankel-powered cars.

Thank you to the OP for this guide, it perfectly fixes all my problems with USB!

My platform is Intel native and I was using Zenith kext to enable multiplexing on 10.10.

 

Looooots of bugs with that kext, including:

 

- Very often devices do not work when first plugged, and have to be plugged again in another port to work

- USB devices very slow to be recognised sometimes (usb audio cards, for example)

- Delayed shutdown (computer shuts down but stays powered for another 10 secs with black screen before shutting down)

- Sudden wake from sleep in certain conditions

 

This DSDT patch, instead, is perfect. Thank you!



#84
carbo178

carbo178

    InsanelyMac V.I.P.

  • Local Moderators
  • 8,884 posts
  • Gender:Male
  • Location:Dalle paludi della Pianura Padana

Hi, i have a doubt...

The part about PR11 and following I find it under the device EHC1 both in device EHC2, I must add "Name (MUXS, "XHCA")" even in device PR11 and following under EHC2?

Now i've applied the code under EHC1 section only, and all works well.. 



#85
chriz74

chriz74

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 112 posts

Is there any news as how to get this patch working on Intel hm76 chipset laptops? The DSDT doesn't have a HUBN device nor PRxx.



#86
bozma88

bozma88

    InsanelyMac Protégé

  • Donators
  • 21 posts
  • Gender:Male
  • Location:Brescia, Italy
  • Interests:HighCRI lighting, web frameworks, Hackintosh, 2-strokes bikes, Wankel-powered cars.

A question for you all:

This patch works perfectly, but sometimes when I go into standby the USB ports remain powered.

It seems that if I put the computer to sleep early after boot, the ports stay powered, and if I put it after some time they correctly power down during sleep.

 

Any ideas?



#87
chriz74

chriz74

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 112 posts

good news people, I was able to patch the DSDT (lacking HUBN) of an HM76 laptop (asus) to enable usb 3.0 super speed, however when I tried to plug an usb 2.0 device into the usb 3.0 port the system freezed, maybe it's a problem related to what ports I named MUXS. I will make a new post regarding this patch so maybe someone can look into it and help.



#88
falanx

falanx

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male

good news people, I was able to patch the DSDT (lacking HUBN) of an HM76 laptop (asus) to enable usb 3.0 super speed, however when I tried to plug an usb 2.0 device into the usb 3.0 port the system freezed, maybe it's a problem related to what ports I named MUXS. I will make a new post regarding this patch so maybe someone can look into it and help.

How did you get to work without without HUBN? I tried to get it to work but couldn't and the kext is too buggy for me. USB 3.0 is the last thing I need to get my fully working hackintosh. :D I'd like to see how you did it to get to work at least, maybe together we could dig deeper and get it working for both of us properly. That'd be great. :D



#89
davidm71

davidm71

    InsanelyMac Geek

  • Donators
  • 226 posts
  • Gender:Male

Thanks to the Op for this guide. These dsdt edits helped get rid of the 'not enough power to usb port' error message in the boot log. Though I was wondering about the structure of OS specific conditional statements as I plan on multibooting and want a different code path for Darwin vs Windows. Is this for instance correct:

            Store (0x07D0, OSYS)
            If (CondRefOf (\_OSI, Local0))
            {
                If (_OSI ("Darwin"))
                {
                    //darwin code
                }

                If (_OSI ("Linux"))
                {
                    //linux code
                }

                If (_OSI ("Windows 2001"))
                {
                    //windows code
                }

Is there also an 'if else' way of putting it?

 

Thanks.



#90
artur-pt

artur-pt

    InsanelyMac V.I.P.

  • Local Moderators
  • 5,230 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

the patched dsdt only will be used by OS X

 

good hack



#91
davidm71

davidm71

    InsanelyMac Geek

  • Donators
  • 226 posts
  • Gender:Male
I integrated my dsdt into my rom bios so not just OS X would see it or use it.

#92
Mieze

Mieze

    Giant Cat

  • Coders
  • 766 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

I integrated my dsdt into my rom bios so not just OS X would see it or use it.

 

Extremely bad idea! Looks like you are looking for trouble with your computer...  :no:

 

Mieze



#93
davidm71

davidm71

    InsanelyMac Geek

  • Donators
  • 226 posts
  • Gender:Male
I have dual bios and I'm not afraid to test the limits of what can be done!

For what it's worth been playing around with ozmosis..

I feel like the other Rob Lowe whose looking for trouble. Don't be like the other me..

#94
EnzoFX

EnzoFX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 286 posts

My usb issues are strange. 

 

On a Z77x-UD3H. 

Using the genericusb kext, and the gux-dever-usb/gux-no-idle flags. Other than that it's a pretty minimal config with Clover I believe (new to Clover). I'll attach it in case anyone wants to look at it =P.

 

But anyways, sometimes a port just stops working, even though they all can work. Furthermore after sleep it's very likely one will stop working. Also, after sleep some stuff unmounts, mainly my kb/mouse which is annoying. The latest revelation is that moving my mouse to my monitor's hub allowed to remain connected, which is strange because it's still connected to a USB 3 connection at the back of the board (My board has no rear USB 2.0 ports). Ugh... USB should not be this hard to get it work haha.

 

Other notable settings:

In bios: CPU PLL overvoltage disabled. XHCI auto and also tried enabled. XHCI/EHCI hand-off enabled. 

Tried sudo pmset - a standby 0

and sudo pmset -a hibernatemode 0

 

Not sure what else to try next besides the dsdt edits in the OP. 

Attached Files



#95
TheRacerMaster

TheRacerMaster

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Gender:Male

GA-Z77X-UD3H has both Intel USB3 & VIA VL800 USB3. Have you tried using a patched AppleUSBXHCI kext instead of GenericUSBXHCI (you can use Clover patching): http://www.insanelym...d-appleusbxhci/

 

Also, can you post an IOReg dump using IORegistryExplorer?



#96
EnzoFX

EnzoFX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 286 posts

GA-Z77X-UD3H has both Intel USB3 & VIA VL800 USB3. Have you tried using a patched AppleUSBXHCI kext instead of GenericUSBXHCI (you can use Clover patching): http://www.insanelym...d-appleusbxhci/

 

Also, can you post an IOReg dump using IORegistryExplorer?

Alright, trying patching the Apple kext instead, will post results ( fingers crossed).

 

IOReg dump, I think I did it right:

Attached Files



#97
EnzoFX

EnzoFX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 286 posts

Alright, well I *think* things are a bit better...

 

At first I thought it was working great, no crashes. Peripherals such as kb/mouse and USB sound card were working immediately after wake (not disconnecting). So I thought it was a great sign. However USB flash drives still disconnect. I've also realized there's a difference between the Intel USB ports vs the VIA ones. The VIA ones at one point weren't detecting any usb drives. Weird. Furthermore once I started actually using my USB HDD enclosure it caused a USB sound issue I had before. Where sound went out suddenly with Quicktime. Though this time relaunching QT seemed to fix it, as before I had to completely restart as it was system wide...

 

My only takeaway thus far: USB Drives are a different animal than just getting my peripherals to work. I think peripherals are mostly working as intended so that's great. My USB enclosure caused 2 crashes in the short time it was connected. The KP report doesn't seem to suggest to it was USB related:

*** Panic Report ***
panic(cpu 1 caller 0xffffff80225448fb): "thread_invoke: preemption_level 1, possible cause: blocking while holding a spinlock, or within interrupt context"@/SourceCache/xnu/xnu-2782.30.5/osfmk/kern/sched_prim.c:2213
Backtrace (CPU 1), Frame : Return Address
0xffffff8134d9b230 : 0xffffff802252bda1 
0xffffff8134d9b2b0 : 0xffffff80225448fb 
0xffffff8134d9b340 : 0xffffff80225421af 
0xffffff8134d9b380 : 0xffffff7fa344db77 
0xffffff8134d9b3a0 : 0xffffff7fa4da78e8 
0xffffff8134d9b3f0 : 0xffffff7fa344e2a8 
0xffffff8134d9b430 : 0xffffff8022ad73b4 
0xffffff8134d9b480 : 0xffffff7fa344e388 
0xffffff8134d9b4a0 : 0xffffff7fa344d776 
0xffffff8134d9b510 : 0xffffff7fa344d9a2 
0xffffff8134d9b550 : 0xffffff80227a2d0c 
0xffffff8134d9b690 : 0xffffff80228739dd 
0xffffff8134d9ba10 : 0xffffff8022884bcb 
0xffffff8134d9bb20 : 0xffffff8022884776 
0xffffff8134d9bd40 : 0xffffff802288e8d8 
0xffffff8134d9bda0 : 0xffffff8022a152c0 
0xffffff8134d9be90 : 0xffffff80229f2eb6 
0xffffff8134d9bec0 : 0xffffff80229ed3ab 
0xffffff8134d9bf10 : 0xffffff80229ed2fc 
0xffffff8134d9bf50 : 0xffffff8022a4bc56 
0xffffff8134d9bfb0 : 0xffffff8022635376 
      Kernel Extensions in backtrace:
         com.apple.iokit.IONetworkingFamily(3.2)[247581D8-DFC5-3AAE-B079-3D13F5514C2B]@0xffffff7fa343c000->0xffffff7fa3467fff
         com.insanelymac.ALXEthernet(1.0.2)[6348F8DB-1233-3D33-A7FD-66E3ED3E7EB6]@0xffffff7fa4da6000->0xffffff7fa4db3fff
            dependency: com.apple.iokit.IONetworkingFamily(3.2)[247581D8-DFC5-3AAE-B079-3D13F5514C2B]@0xffffff7fa343c000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[D8F585E8-2EE9-3135-8E37-A034123FE45C]@0xffffff7fa2c47000

BSD process name corresponding to current thread: smbd
Boot args: -gux_defer_usb2 -gux_no_idle kext-dev-mode=1 UseKernelCache 

Mac OS version:
14E46

Kernel version:
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
Kernel UUID: E3C26B2F-8B97-3F1D-B193-690F7E34F830
Kernel slide:     0x0000000022200000
Kernel text base: 0xffffff8022400000
__HIB  text base: 0xffffff8022300000
System model name: iMac13,2 (Mac-FC02E91DDD3FA6A4)

System uptime in nanoseconds: 64072361428672
last loaded kext at 63575446310857: com.apple.iokit.SCSITaskUserClient	3.7.5 (addr 0xffffff7fa4e2f000, size 36864)
last unloaded kext at 63639239226814: com.apple.driver.AppleUSBCDC	4.3.3b1 (addr 0xffffff7fa4e23000, size 16384)
loaded kexts:
jp.plentycom.driver.SteerMouse	4.2.4
com.insanelymac.ALXEthernet	1.0.2
org.netkas.driver.FakeSMC	1372
com.apple.iokit.IOUSBAttachedSCSI	1.1.1
com.apple.filesystems.smbfs	3.0.1
com.apple.filesystems.autofs	3.0
com.apple.driver.AppleUpstreamUserClient	3.6.1
com.apple.driver.AppleMCCSControl	1.2.12
com.apple.kext.AMDFramebuffer	1.3.2
com.apple.iokit.IOBluetoothSerialManager	4.3.5f8
com.apple.driver.AGPM	110.19.6
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.ApplePlatformEnabler	2.2.0d4
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleLPC	1.7.3
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.AMDRadeonX3000	1.3.2
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleHWAccess	1
com.apple.kext.AMD6000Controller	1.3.2
com.apple.driver.AppleHV	1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleIntelFramebufferCapri	10.0.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.BootCache	36
com.apple.driver.XsanFilter	404
com.apple.iokit.IOAHCIBlockStorage	2.7.1
com.apple.driver.AppleUSBHub	705.4.2
com.apple.driver.AppleUSBXHCI	710.4.11
com.apple.driver.AppleUSBEHCI	705.4.14
com.apple.driver.AppleAHCIPort	3.1.2
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleACPIButtons	3.1
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleAPIC	1.7
com.apple.driver.AppleIntelCPUPowerManagementClient	218.0.0
com.apple.nke.applicationfirewall	161
com.apple.security.quarantine	3
com.apple.security.TMSafetyNet	8
com.apple.driver.AppleIntelCPUPowerManagement	218.0.0
com.apple.kext.triggers	1.0
com.apple.driver.AppleSMBusController	1.0.13d1
com.apple.iokit.IOSMBusFamily	1.1
com.apple.iokit.IOSerialFamily	11
com.apple.driver.IOBluetoothHIDDriver	4.3.5f8
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.iokit.IONDRVSupport	2.4.1
com.apple.driver.IOPlatformPluginFamily	5.9.1d7
com.apple.iokit.IOSurface	97.4
com.apple.iokit.IOBluetoothFamily	4.3.5f8
com.apple.kext.AMDSupport	1.3.2
com.apple.driver.AppleSMC	3.1.9
com.apple.iokit.IOSCSIBlockCommandsDevice	3.7.5
com.apple.iokit.IOUSBUserClient	705.4.0
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.iokit.IOAcceleratorFamily2	156.16
com.apple.AppleGraphicsDeviceControl	3.10.24
com.apple.iokit.IOGraphicsFamily	2.4.1
com.apple.iokit.IOUSBMassStorageClass	3.7.2
com.apple.driver.AppleUSBAudio	295.23
com.apple.iokit.IOAudioFamily	203.3
com.apple.vecLib.kext	1.2.0
com.apple.iokit.IOSCSIArchitectureModelFamily	3.7.5
com.apple.driver.AppleUSBMergeNub	705.4.0
com.apple.iokit.IOUSBHIDDriver	705.4.0
com.apple.driver.AppleUSBComposite	705.4.9
com.apple.iokit.IONetworkingFamily	3.2
com.apple.iokit.IOUSBFamily	720.4.4
com.apple.iokit.IOAHCIFamily	2.7.5
com.apple.driver.AppleEFINVRAM	2.0
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.driver.AppleEFIRuntime	2.0
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.DiskImages	397
com.apple.iokit.IOStorageFamily	2.0
com.apple.iokit.IOReportFamily	31
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleACPIPlatform	3.1
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.Libm	1
com.apple.kec.pthread	1
com.apple.kec.corecrypto	1.0
Model: iMac13,2, BootROM IM131.010A.B05, 4 processors, Intel Core i5, 3.40 GHz, 8 GB, SMC 2.11f14
Graphics: AMD Radeon HD 6850 X2, AMD Radeon HD 6850 X2, PCIe, 1024 MB
Memory Module: BANK0/DIMM1, 4 GB, DDR3, 1333 MHz, Corsair, CMZ8GX3M2A1600C9
Memory Module: BANK1/DIMM1, 4 GB, DDR3, 1333 MHz, Corsair, CMZ8GX3M2A1600C9
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: Crucial_CT240M500SSD1, 240.06 GB
Serial ATA Device: WDC WD6400AAKS-75A7B0, 640.14 GB
Serial ATA Device: ST3500320AS, 500.11 GB
Serial ATA Device: Crucial_CT240M500SSD3, 240.06 GB
USB Device: Hub
USB Device: Hub
USB Device: Hub
USB Device: Logitech Camera
USB Device: Hub
USB Device: USB Receiver
USB Device: Ultra Fast Media Reader
USB Device: Creative Xmod
USB Device: USB2.0 Hub
USB Device: daskeyboard
Thunderbolt Bus: 

It just seems unstable when USB drives are connected at this time.

Could it be power related? I noticed Clover has a setting to give devices more voltage or something. Not sure what to try next. 



#98
TheRacerMaster

TheRacerMaster

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Gender:Male

You sure it's not the NIC driver? ALXEthernet can be pretty unstable. Have you tried a recently-compiled version of AtherosL1cEthernet?



#99
EnzoFX

EnzoFX

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 286 posts

Ok so further testing... (just takes me a while as I rarely have the time)

 

USB 2.0 Flash drive works in the VIA USB 3.0 ports. However USB 3.0 External Enclosure doesn't mount when connected to the same VIA ports.

 

USB 3.0 Enclosure works with Intel USB 3.0 ports. However USB 2.0 Flash drives does not.... 

 

Again, USB Mouse/All Peripherals? Work fine in all ports... This is just strange to me. At least I now have enough ports working (Bought a 4 ports USB 2.0 Header PCI bracket) that I can get anything to work one way or another. Stability.. I'll get back on testing that.

 

 

I did switch Atheros kext, thanks @TheRacerMaster. 

 

Edit: Well no crashes so far, so overall solid. 







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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