Jump to content

GenericUSBXHCI USB 3.0 driver for OS X with source


928 posts in this topic

Recommended Posts

NOTE: The generic driver used in this post does not work with Mac OS X 10.10 Yosemite, as of the Public Beta. The developer still appears to be active, but no idea yet if/when Yosemite compatibility will come.  If you are rely on these drivers and are considering upgrading to Yosemite, know that they do not yet work and you will no longer have USB 3.0 access to your devices.

 

 

the generic driver work or not work with Yosemite ? 

 

my english is not good , can anybody tell me what card and driver work with Yosemite ?

Link to comment
Share on other sites

the generic driver work or not work with Yosemite ? 

For me Yes, but this depends from your Hardware!

And any one of you has try to use GenericUSBXHCI.kext + rollback IOUSBFamily.kext and IOUSBMassStorageClass.kext from 10.9.5???

Later I'll do a test....

 

EDIT

 

from 10.9.5:

IOUSBFamily.kext.zip

IOUSBMassStorageClass.kext.zip

 

Be sure you have the way to get back to OSX before try (and repair permission + rebuild the cache)

  • Like 1
Link to comment
Share on other sites

And any one of you has try to use GenericUSBXHCI.kext + rollback IOUSBFamily.kext and IOUSBMassStorageClass.kext from 10.9.5???

 

Well, even if that would work, such solutions are typically more than shaky and ususally only work temporary - if at all.  Am so glad I stayed on 10.9. Without a reliable USB solution - and it seems that such a solution simply does not exist right now - 10.10 is close to totally useless for me. Imho, it is simply not enough if it works sometimes for some people, and it is simply not acceptable that I apparently need at least 2 additional USB PCI cards (I have > 10 devices) just for such a basic functionality if I have >10 ports already on my Mobo. That's just abnormal imho.

 

I really really really hope that anyone takes over the apparently stagnant development of this kext, bc there is simply no alternative.

 

Or is anyone aware of any (Highend!) Mobo that has native USB 2/3 support? I.e. works reliably with native Apple drivers, and nothing else?

 

PS: reward is now up to $150 and YES this is a serious offer.

Link to comment
Share on other sites

@frankie, what's you saying?

 

Personally this kext is fantastic, but  IOUSBFamily source from Apple is no longer available, so development is stopped at Mavericks (as I understand what Zenith432 said). So there is nothing abnormal or totally useless here, but there is only a light because  otherwise to have full implementation you need to buy a MacPro6,1 at € 3.053,03.

Link to comment
Share on other sites

USB3 hubs are an issue.  Each device connected to the USB topology must have a specific driver for it to work.  USB3 hubs are a device in that sense and need a driver.   Apple has a built-in USB3 hub driver in IOUSBFamily, but it may not work on all USB3 hubs.  They test it with hardware they ship.

Some xhci chipsets have a built-in rate-matching hub in the chipset for handling USB 2.0 devices.  This is permited by the spec - and again - Apple's supplied hub driver may not succeed in handling it.

Link to comment
Share on other sites

@frankie, what's you saying?

 

Personally this kext is fantastic, but  IOUSBFamily source from Apple is no longer available, so development is stopped at Mavericks (as I understand what Zenith432 said). So there is nothing abnormal or totally useless here, but there is only a light because  otherwise to have full implementation you need to buy a MacPro6,1 at € 3.053,03.

 

Yeah, this kext is / was "OK" for me, but not exactly"fantastic". Again, no one to blame, but I also really cannot call that "fantastic", bc I had / have quite some issues even on 10.9.5 - but I am sure Zenith did what he could do - so I absolutely appreciate his work and thank him for his efforts. But as you also said this kext apparently cannot be properly developed any further. Of course I do not blame anyone (as I already said!!!!!!!) but ignoring that fact does not improve on the situation and does not solve anything. Fact is, that there is apparently no proper USB solution for Yosemite right now, and I don't like that of course  (why should I?)

 

And no, I won't buy another Mac Pro, unless they return to the old form factor (which Apple never will). And I am not sure if there will be an updated model at all. Buying one right now is just stupid imho.

 

So my questions remain:

 

1) Is there even a remote possibilty that we will get a reliable USB solution also for 10.10 (and 10.11)? If "no" then 10.9.x will be my last OS X version. What is an OS worth without proper USB support?

2) Is there any Highend Mobo with native USB support, that could be used for a hackintosh? DSDT Edits would be OK for me, but not any 3rd party kexts

 

Thanks for any insights!

 

PS: with "abnormal" I meant the fact that I need additional USB cards even when I already have 10+ ports built in my mobo.

Are people saying it doesn't work on Yosemite sure they have the Yosemite-specific build installed?

 

sure

  • Like 1
Link to comment
Share on other sites

USB3 hubs are an issue.  Each device connected to the USB topology must have a specific driver for it to work.  USB3 hubs are a device in that sense and need a driver.   Apple has a built-in USB3 hub driver in IOUSBFamily, but it may not work on all USB3 hubs.  They test it with hardware they ship.

Some xhci chipsets have a built-in rate-matching hub in the chipset for handling USB 2.0 devices.  This is permited by the spec - and again - Apple's supplied hub driver may not succeed in handling it.

 

Sorry but I mean the USB3 controller not external hub:

Bus SuperSpeed USB 3.0:

  Posizione controller host:	USB integrata
  Driver controller host:	GenericUSBXHCI
  ID dispositivo PCI:	0x7023 
  ID revisione PCI:	0x0001 
  ID fornitore PCI:	0x1b6f 
  Numero bus:	0x0e 

USB_3_0 Reader:

  ID prodotto:	0xb049
  ID fornitore:	0x05dc  (Lexar Media, Inc.)
  Versione:	0.01
  Numero di serie:	000000019564
  Velocità:	Fino a 5 Gb/sec
  Produttore:	Lexar
  ID posizione:	0x1d200000 / 1
  Corrente disponibile (mA):	900
  Corrente necessaria (mA):	896

kind regards

Link to comment
Share on other sites

PS: with "abnormal" I meant the fact that I need additional USB cards even when I already have 10+ ports built in my mobo.

 

sure

Yea, do not take bad what I said, because before GenerickUSBXHCI "exist" there was no way to see USB 3.0 work in OSX with Intel chipset. Asmedia and NEC-Renesas have had their support after someone hack them (CallDigit kexts or PXHCD.kext, but even they have not made people happy in hackintosh world). For the rest GenericUSBXHCI.kext  in SLE (or EFI/CLOVER/kexts/) has always run my port in Yosemite---> gratis :) . Maybe I talk too much, but for me it has always worked and I should stop talking since everything is ok here.

If does not work for others or not working really super, patience :), however I always buy what I need with an eye on --> Asmedia and Nec/Renesas are not supported by OSX, but Intel works, so nothing "abnormal", sure.

Link to comment
Share on other sites

Same issue as @uukk on my asus laptop, usb 3 (Asmedia1042) shows up in system report app but when a device is plugged in it doesn't show up on desktop (or finder).

 

Though, if I have a usb device plugged in during boot it works excellent, goes to sleep without problems, works after sleep too.... but have to plug in a usb during boot every time   :wacko:

 

This is when using genericsusbxhci.kext....

Link to comment
Share on other sites

Hello everyone,

 

Instead of opening a new thread, I decided to post here about a problem I am currently having with my Hackintosh.

 

My knowledge of Hackintoshes is rather limited, but either through sheer luck or thorough reading of guides I managed to get my system mostly stable. I have only a few niggles and one of them is USB.

 

My hardware is found in my signature.My bootloader is Clover. I have no DSDT or SSDT installed.

 

My system has 4 USB2.0  ports and 8 USB3. Everything appears to be working in order, speeds are as they should. I can get over 250mb/s on USB3 and around 40mb/s on USB2. Strangely, whenever I plug a something on a USB2 port, the System Report (About this Mac -> System Report) it is displayed under USB 3.0 High Speed Hub. 

 

However, my problem is this: whenever i put the pc in sleep mode and wake up, I don't have any usb devices working (mouse, apple keyboard, usb flash disk). After a lot of digging and experimentation I found a workaround that helped me isolate the cause of the problem: i use an SSH client to access my Hackintosh and i kext unload and then load /System/Library/Extensions/AppleIOUSBFamily.kext/Content/Plugins/AppleUSBXHCI.kext. Everything works after this. I tried using bootflags but they didn't work.

 

I have tried installing GenericUSBHXCI.kext (Rehab's version) but the same problem persists. I have not however tried GenericUSBXHCI in combination with bootflags.

 

Any suggestion would be appreciated.

 

Thank you.

Link to comment
Share on other sites

 

Ok.

 

You tried use this arguments?

-gux_defer_usb2 -gux_no_idle

And if you use OS X Yosemite:

kext-dev-mode=1

I had tried those arguments without the GenericUsbXHCI.kext without success. Now that I installed GenericUSBXHCI along with the boot flags it does work spot on. I realized that I hadn't tried this while posting here, but I was at work at the time and couldn't test.

 

Thank you Allan. You are very helpful, I see your posts scattered around this forum and I thank you very much for it.

 

In order to understand what I was doing wrong, do i HAVE to have GenericUSBXHCI installed for the bootflags to work? Otherwise with the native kext the flags do nothing?

  • Like 1
Link to comment
Share on other sites

This arguments should be only used for GenericUSBXHCI.

One small niggle I have with GenericUSBXHCI: After resuming from sleep, my screen turns on, then off for one moment, then on again. It flashes for a moment before I can do anything.

 

Is this a common "issue"? Removing -gux_defer_usb2 makes it go away, but ofc no usb after sleep :P

Link to comment
Share on other sites

Hi,

 

I come here because I am desesperate. I've read carefully all I was able to find about usb freezing and tried what I could but I still have major freezes related with usb. Thus I really need the help of usb specialists.

What is strange is that the freezes are random. When I plug a usb hard drive in a usb plug, (different brand, different usb type 2.0 or 3.0, different usb chipset, etc.) it freeze randomly my system. Sometimes I am able to use usb drive (plug and unplug, copy, backup, etc.) a day long with no problem and an other day it freeze almost instantly or 5 minutes later, the thing is at some point using a usb device freezes my system. It is usb related because when I don't use usb device (apart keyboard/mouse)  my system runs fine.

 

My keyboard is an Apple usb keyboard plugs in the usb 2.0 plug of the mobo, my mouse is usb as well and is pluged into the keyboard. I have no freeze with keyboard/mouse. The freezes seems to happen only with somme devices: usb drive (external power), usb drive (usb powered), SD card reader. I can provided more infos about these devices, just tell me what you need.

 

I had before an other hack based on z77 and 2600k witch was rock stable. I did use the very same usb drives that today freeze my systems so I'm sure there is nothing wrong with the usb drives or devices I use either.

 

My current system is:

- Ga-z97x-ud5h

- Core i-7 4790k

- Ram : DDR3 G.Skill RipjawsX 16Go (2x8Go) PC12800 1600Mhz 1.5V CL9 (F3-1600C9D-16GXM)

- Graphic card: MSI gtx580 twin frozr II

- SSD Samsung 840 Evo 120 Go (system)

- SSD Samsung 840 pro 256 Go

- HDD Western Digital Green 1 To

- PSU: Be Quiet Pure 700w (it is Haswell ready)

- OS X 10.9.5

 

 

What I have done so far to fix the problem:

 

usb related :

- First I did a Mavericks install without GenericUSBXHCI because I read that it was not necessary with my mother board but, since I had freezes, I added GenericUSBXHCI.kext 1.2.7, edit the file /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist according the "read me" file and changed the GenericUSBXHCI key to 1.2.7 : freeze like before

- Tried different settings in xHCI bios (Auto, smartAuto, enable) : freeze like before

- Tried differents usb drive (with or without external power) and card readers of several brands (Western digital, LaCie, etc.), plugged into any of the usb plugs of the mobo. : freeze

 

Others:

- Set The P states and C states to "no" in org.chameleon.Boot.plist

- Change ddr3 Ram

 

I've checked my bios and settings, I did nothing fancy about it, just the usual, and I almost sure there is nothing wrong there. My hardware is ok and Haswell compatible.

These random freezes are just killing me. Please help a poor desesperate guy.

 

 

 

 

 

 

Link to comment
Share on other sites

×
×
  • Create New...