Jump to content

(GUIDE) 10.11 full speed USB (series 8/9) keeping vanilla SLE


wegface
497 posts in this topic

Recommended Posts

Wish I could report equal happiness

 

I have been running this for a while and everything seemed cool. In the meanwhile, I ended up turning off my ASMedia controller, because I got the gut feeling it was interfering with my sleep/wake. To replace it I bought a FL1100 5-port controller.

So, now, I am running both an Intel 9-series and a FL1110. With this patch.

 

Alas, my front ports stopped accepting hard drives. An iPhone/iPad will work just fine when plugged in to the front ports. But, plug a USB3 hard disk. And it's like nothing happened. The drive's light will go on, but as far as OS X is concerned, nothing was connected. Not a glimpse in System Profiler, not in IORegistry Editor. Nothing. Plugging the disk into one of the FL1100 ports on the back works just fine though.

 

I am scrambling with DSDT edits, kexts, ..., trying to make sense of this. It's not critical obviously, but it's very weird and somewhat worrisome that this silently regressed sometime during 10.11.2 for me.

 

EDIT: A combination of three things seems to have fixed this for me. I'll keep my eyes open for future regressions, but here's my recipe:

- I upped the limit of ports from 0x16 to 0xFF

- I installed RehabMan's USBInjectAll in CLOVER/kexts/10.11

- I removed my FL1100 controller, rebooted, then plugged it in and rebooted once again

 

EDIT2: and... scratch of all the above

At the end of the day, I think my kernel cache was in some sorry state because, it turns out, all those changes broke sleep and shutdown for me

I reverted all of them, and I still got my front ports working. However, sleep returned to a functional state, but shutdown didn't.

I applied the Clover shutdown fix, and still no shutdown. Everything else, working.

I have a backup disk, and booting from it rendered a shutdown-able install, so I know it's not a hardware issue. As a last attempt, I removed my kernel cache, and rebooted. Lo and behold, everything works: shutdown, sleep, front ports, back ports, ...

 

I have the shutdown fix still applied in Clover, but I have fiddled way more than I wanted to already, so I am going to leave that one in for now.

 

Make of my Friday night journey what you wish.

 

Been running this for ~2months, all transfers have been safe for me without issues. Still works on 10.11.2

Link to comment
Share on other sites

  • 2 weeks later...

Does anybody know how to fix the interrupts problem in x99 chipset? I have a GA-X99-UD4P and a 5820k but if I turn on XHCI in the BIOS there is a quite big performance hit. Geekbench results are worse by more than 2000 points.

 

"power metrics -s interrupts" shows XHCI is creating thousands of interrupts and that seems to slow down the main core.

 

Any idea about how to fix it?

 

Thanks in advance. 

Link to comment
Share on other sites

  • 4 weeks later...

The Ultimate Solution

 

As I suspected earlier the 15 ports limit can be removed!!!

 

Did some assembly work and here is the result:

 

In Clover, use kext patch feature, patch AppleUSBXHCIPCI

 

Find                83BD8CFEFFFF10

Replace with  83BD8CFEFFFF16

                        <dict>
                                <key>Comment</key>
                                <string>remove usb limit</string>
                                <key>Find</key>
                                <data>
                                g72M/v//EA==
                                </data>
                                <key>Name</key>
                                <string>AppleUSBXHCIPCI</string>
                                <key>Replace</key>
                                <data>
                                g72M/v//Fg==
                                </data>
                        </dict>

the kext use >=0x10 to set the limit so with 0x10 we have 15 ports available.

Changing to 0x16 will give us 21 ports. I didn't go higher as 21 is the maximum amount for 8/9 series motherboard(8 USB2+6 USB3+1 possible dummy port) afaik but should be OK to set it to 0xFF...

 

 

Thats all. No other change necessary  :lol:

 
I can confirm, working all my USB 2.0/3.0 Ports on 10.11.3.
Even the USB 2.0 ports from my monitor (3x) and my USB 2.0/3.0 frontal ports from my hack case (4x)
Using just the code above on Clover, no kext, no nothing, only it.
Link to comment
Share on other sites

Do you still need the DSDT patch for EHCxx to make this kext patch work? 

 

Edit: Thanks for the answers :D. I tried it myself. The only thing is needed is the Clover patch for AppleUSBXHCIPCI. I took the Injector kext away and also use the original DSDT which I made before USB problems started to show up. All seems to work fine now with 10.11.3. That has also fixed my PCI Device list in DPCI Manger.

Schermafbeelding_2016_01_27_om_20_31_17.

Link to comment
Share on other sites

  • 4 weeks later...

for smbios iMac10,1

need rename EHC1 to EH01

# Rename USB devices for OSX 10.11 GM support (remember to use injector with this)
into device label EHC1 set_label begin EH01 end;
into device label EHC2 set_label begin EH02 end;
into device label XHC1 set_label begin XHC end;
into_all all code_regex EHC1 replaceall_matched begin EH01 end;
into_all all code_regex EHC2 replaceall_matched begin EH02 end;
into_all all code_regex XHC1 replaceall_matched begin XHC end;
for smbios MacPro3,1
no need rename EHC1 to EH01
Link to comment
Share on other sites

  • 4 weeks later...

Thanks!  My USB 3.0 now can mount drives again.

I had to laugh too because my new MacBook Pro 15" could only run at 40MB/s on a Orico USB 3.0 drive bay with a SSD in it.  Plugged it into my Hack and it goes 280MB/s.  Needless to say I'm getting a new USB 3.0 Bay from OWC.  Appears to use a 106x ASMedia interface maybe unsupported.

Link to comment
Share on other sites

  • 2 weeks later...

My laptop based on x401a asus motherboard has one USB3 port, the device is intel series 7 (1e31). The usb3 port never worked, in yosemite pluggin an usb3 device would freeze the machine, it worked only with genericusbxhci, in el capitan if xhci is enabled in bios the machine will freeze during boot, I have to disable it in the bios to be able to boot. I tried everything but nothing worked. Any idea?

Link to comment
Share on other sites

Hej RehabMan, is there already a way to get 3.1 ports to work on 10.11.4 (iMac17,1)?

I've tried using the USBInjectAll and the Port Limit Patch, so DPCIManagr or IOreg are showing everything, but when I connect a device it won't work.

Also disabling some ports directly in BIOS to stay under the Port Limit didn't help.

DId I miss something essential?

Thank you very much in advance for your help.

Link to comment
Share on other sites

To note: For series 7 and below, the procedure still applies, but is slightly different. I will update this post with details asap.

 

Has anyone done this with a series 7 board yet?  Care to out your injector so I can compare?

Link to comment
Share on other sites

hi

 

it's a looooong time ago, since my last visit @insanely. in the last week i've build my first hackintosh cause my mini doesn't fit anymore and a macpro is not needed.

 

it's an gigabyte board GA-Z97N-Gaming5 with an gtx 960 card. everything works fine now, except the usb ports.

 

so i wanna know if you guys here (or elsewhere) having a download area, where the updated and board specific dsdt files are available, cause for me this hole stuff is hocus pocus ;-)

 

thanks a lot for all your brilliant effort to give us this possibility!!!!!

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Hi guys, I'm seeing a lot of mixed info in this thread as far as what the best method is to use. Now that the 5960x can work in El Capitan I'm going to start working on an install. Is the general consensus that dsdt/dsdt is still the best method?

Link to comment
Share on other sites

Hi guys, I'm seeing a lot of mixed info in this thread as far as what the best method is to use. Now that the 5960x can work in El Capitan I'm going to start working on an install. Is the general consensus that dsdt/dsdt is still the best method?

It's the way Apple uses to solve the problem and I think that's an argument.

 

Mieze

Link to comment
Share on other sites

  • 3 weeks later...

But one Problem is still there with this fix.

 

It's the USB audio bug. Sound stutter and so on in logic X and also in 9.

 

This is not happening with GenericUSBXHCI.

 

Anyone an idea?

 

Sound card is an apogee duet 2

Link to comment
Share on other sites

But one Problem is still there with this fix.

 

It's the USB audio bug. Sound stutter and so on in logic X and also in 9.

 

This is not happening with GenericUSBXHCI.

 

Anyone an idea?

 

Sound card is an apogee duet 2

It's just a guess but this sounds like a power management issue. GenericUSBXHCI might be less efficient so that it keeps the CPU more busy than the native drivers. The USB related DSDT routines get only called when devices get connected or removed and don't have any influence on performance.

 

Mieze

Link to comment
Share on other sites

So no chance to get it fixed without apples power management for x99?

Although I haven't played with an X99 machine in order to find out what is possible, there is little hope without official X99 support by Apple.  :(

 

Mieze

Link to comment
Share on other sites

The Ultimate Solution

 

As I suspected earlier the 15 ports limit can be removed!!!

 

Did some assembly work and here is the result:

 

In Clover, use kext patch feature, patch AppleUSBXHCIPCI

 

Find                83BD8CFEFFFF10

Replace with  83BD8CFEFFFF16

                        <dict>
                                <key>Comment</key>
                                <string>remove usb limit</string>
                                <key>Find</key>
                                <data>
                                g72M/v//EA==
                                </data>
                                <key>Name</key>
                                <string>AppleUSBXHCIPCI</string>
                                <key>Replace</key>
                                <data>
                                g72M/v//Fg==
                                </data>
                        </dict>

the kext use >=0x10 to set the limit so with 0x10 we have 15 ports available.

Changing to 0x16 will give us 21 ports. I didn't go higher as 21 is the maximum amount for 8/9 series motherboard(8 USB2+6 USB3+1 possible dummy port) afaik but should be OK to set it to 0xFF...

 

 

Thats all. No other change necessary  :lol:

 

Till 10.11.5 was OK, but now, is no more working in macOS Sierra 10.12   :wallbash:

  • Like 1
Link to comment
Share on other sites

To unlock 31 Ports at Intel 100 Series Chipset at macOS Sierra use this patch

 

Find : 00837D94100F835A

Replace : 00837D941F0F835A

Name : AppleUSBXHCIPCI

 

Look at my IOREG 

 

I'm thinking about if it works on G97 Series... I'll try...

 

Edited: Patch working at macOS Sierra!!!

 

Thank you, Andres!

Link to comment
Share on other sites

To unlock 31 Ports at Intel 100 Series Chipset at macOS Sierra use this patch

 

Find : 00837D94100F835A

Replace : 00837D941F0F835A

Name : AppleUSBXHCIPCI

 

Look at my IOREG 

Do I apply this in my Clover Configurator for this to work?

Link to comment
Share on other sites

To unlock 31 Ports at Intel 100 Series Chipset at macOS Sierra use this patch

 

Find : 00837D94100F835A

Replace : 00837D941F0F835A

Name : AppleUSBXHCIPCI

 

Look at my IOREG 

I tested x99 with 10.12

This patched worked.

Thank you.

Link to comment
Share on other sites

×
×
  • Create New...