Jump to content
Zenith432

GenericUSBXHCI USB 3.0 driver for OS X with source

920 posts in this topic

Recommended Posts

Hi Zenith432

 

I just want to say thank you for the amazing job.

With your kext I finally have a working machine with SuperSpeed 3.0 and audio from RME Fireface UCX (USB 2.0 for now) at the same time.

Great job.

Look forward to your next version improvements

Thank you !!! :thumbsup_anim:

Share this post


Link to post
Share on other sites
Advertisement

It can work for my Acer 3830TG (VID 1033, DEV 0194, rev 04) with ver 1.1.4 kext

However, sleep/wake issue occur(After wake up, Black screen).

 

As requested: the xhcdump caps and running output without kernel flags

xhcdump1.1.4.rtf

post-262981-0-11247200-1364383886_thumb.png

post-262981-0-64563500-1364383898_thumb.png

Share this post


Link to post
Share on other sites

Wow SMedia ASM1042 USB 3.0 xHCI work with asus p8z77-v le plus. :thumbsup_anim:

Screen+Shot+2556-03-27+at+20.09.18.png

Share this post


Link to post
Share on other sites

Is anyone having trouble downloading the binary? Mediafire seems to be on the blink but I've only tried over one 5 minute period.

Share this post


Link to post
Share on other sites

hi, if i boot with USB 3.0 HDD connected sometimes it's not mounted at startup. if i disconnect it and reconnect it appear on Desktop (but not always).

(Kext version 1.1.4)

Share this post


Link to post
Share on other sites

(1.1.4) sleep works on Gigabyte Z77-DS3H w/ integrated HD Graphics.

functionally USB3 to SATA OK but USB3 to IDE not working.

Share this post


Link to post
Share on other sites

Hello and Happy Easter to all :)

And especially for you Zenith432 a big thank you from the bottom of my heart! :)

I'm running Mountain Lion 10.8.3 on my HP Pavilion DV6 Notebook and my two USB 3.0 (Renesas) Slots are now working.

It tested my USB Mouse and my USB 2.0 HDD, both are working perfectly.

 

I have just two questions:

 

1. My sleep worked fine with the sleepenabler.kext, but now it doesn't work properly.

The sleep works like usual, but when I try to wake it up the screen remains black, I also tried darkwake=0, but it didn't help.

Is this a problem with the kext or maybe my DSDT?

Here is my DSDT:DSDT.aml.zip

 

2. I have a USB Headset. The microphone and the headphones are working perfectly on the USB 2.0 slots.

When I plug it in one of the two USB 3.0 slots, the system recognizes the microphone and the Headphones but they won't work.

Is this a feature that is hard to add to your kext?

 

Again a big thank you :)

Share this post


Link to post
Share on other sites

Is anyone having trouble downloading the binary? Mediafire seems to be on the blink but I've only tried over one 5 minute period.

 

I got the same pb. It keeps saying there was pb ... and that the dl will restart. then, back to the first page and again...

Share this post


Link to post
Share on other sites

I have two USB sound adapters (Behringer UCA 202 and C-Media). Both sound adapters are recognized, but neither work when plugged into USB3 ports (no sound output). I'm using GenericUSBXHCI v1.1.4 and OS X 10.8.3. The sound adapters work in USB2 ports.

post-66455-0-95637900-1365072523_thumb.png

post-66455-0-25997800-1365072532_thumb.png

Share this post


Link to post
Share on other sites

I have two USB sound adapters (Behringer UCA 202 and C-Media). Both sound adapters are recognized, but neither work when plugged into USB3 ports (no sound output). I'm using GenericUSBXHCI v1.1.4 and OS X 10.8.3. The sound adapters work in USB2 ports.

 

My sound adapter (creative audigy 2 nx) doesn't work too. Maybe it is because:

 

Limitations: Isochronous endpoints are not supported yet. This includes anything having to do with audio or video (webcams too.) If you try to connect devices with isoch endpoints, and OS X has an upper layer driver for the device, it'll fail to configure the device and you'll probably see some messages about it from IOUSBFamily in syslog.

Share this post


Link to post
Share on other sites

Does this driver support USB 3.0 hubs ( and by extension, external drives connected to the hub ) ? Anyone able to get that to run ?

Share this post


Link to post
Share on other sites

First of all, thanks a lot, your kext is the only one which enables usb3.0 on my lenovo y570 with upd720200a nec/renesas usb3.0 chipset. But, now I, among some other people, have problem with wake up from sleep both on 1.1 and 1.1.4 version. It doesn't matter if any device is connected to usb3.0 port, system doesn't wake up in any case. Anyway, I value +2 usb3.0 ports more than sleep, so thanx)

caps.txt

running.txt

Share this post


Link to post
Share on other sites

First, Thanks Zenith432 for making the USB3 ports on my GA Z-68X UD3H B3 work.

 

I do have a small issue though, since installing the .Kext whenever I insert a USB2 device (Flash Drive) I get a complete system freeze. I have tried to look into the console to see if any errors pop up, but alas none do. (Unless I am not looking in the right log) I have tried the -gux_defer_usb2 boot flag but no change in the issue.

 

I am in the process of DL the Combo Update to 10.8.3 to see if for what ever reason that fixes the issue. (But I doubt it will)

 

Any Idea what could be causeing the issue and what is the best way for me to log the crash?

Share this post


Link to post
Share on other sites

Works great for ML 10.8.2 on Asrock Z68-Pro3-M (which comes with EtronTech EJ168A chipset), at least can read files on a USB 2.0 card reader. Haven't tested performance with USB 3.0 devices yet.

Share this post


Link to post
Share on other sites

I have intel panther point controller in laptop. Using this kext my USB3.0 can now recognize USB2.0 devices. However it now makes it wake after sleep. Does one of the flags ,or any other fix for that?

Share this post


Link to post
Share on other sites

For Intel Series 7, when the xhci driver initializes, it yanks control of the USB 2.0 ports away from the ehci driver (assuming the ehci driver initialized earlier). This may cause problems for some devices. I'm not sure what to do about this. For the time being, if this gives you trouble, go ahead and leave the ports with the ehci driver by "-gux_defer_usb2".

You can add permanent kernel flags in /Extra/org.chameleon.Boot.plist in the "Kernel Flags" entry.

Edit: Try looking in your bios settings if it's possible to route the ports to xhci from boot-time, that may also solve the problem (instead of "-gux_defer_usb2").

 

I uploaded v1.1.4 (see post #1). Anyone that's being having trouble with not-coming-back-from-sleep, or spontaneous-reboot-on-shutdown, I suggest you try it, as I made code for those things more robust.

 

Hi Zenith432..thanks for the work in this. I finally got USB3.0 to recognize USB2.0 devices. When I first loaded it, devices mounted but caused wake during sleep. So reading some more I used this flag and now stays asleep, and port works for non USB3.0. Great work!! :thumbsup_anim:

Share this post


Link to post
Share on other sites

First, Thanks Zenith432 for making the USB3 ports on my GA Z-68X UD3H B3 work.

 

I do have a small issue though, since installing the .Kext whenever I insert a USB2 device (Flash Drive) I get a complete system freeze. I have tried to look into the console to see if any errors pop up, but alas none do. (Unless I am not looking in the right log) I have tried the -gux_defer_usb2 boot flag but no change in the issue.

 

I am in the process of DL the Combo Update to 10.8.3 to see if for what ever reason that fixes the issue. (But I doubt it will)

 

Any Idea what could be causeing the issue and what is the best way for me to log the crash?

 

*UPDATE

 

So I managed to figure out what was causing the issues I had experienced. It turns out anytime I inserted a Mass Storage device into one of my USB2 ports, Android File Transfer was causing the kernel panic. I was only able to see it when I had booted up with the verbos logging kernel flag. I don't know why it had such an issue, could it be related to the isochronous endpoints?

 

I have an image from the kernel panic if you want it for debuging, just let me know...

Share this post


Link to post
Share on other sites

@Zenith432 I would like to put GenericUSBXHCI into Pandora, there are particular conflicting kexts to remove, as PXHCD.kext, CalDigitUSBxHCI.kext and CalDigitFastIO.kext etc. if found? ... Know any others?

Another thing, I can make script that allows installation only if OS is greater than or equal to 10.7.5, but this is really right, or give freedom is best?

I would like to be sure that everything runs smoothly.

 

Congratulations for this work

 

Micky

Share this post


Link to post
Share on other sites

Woohoo!!! I finally have working UDB 3 on my EVGA Classified SR-2!! All the other USB 3 drivers I would try wouldn't show any of the devices, or they would run at USB 1 speeds.. I am getting full speed, and my USB 3 Hub is working fine too... (Shows up as both a USB 2 hub and a USB 3, Does the same on my Retina Macbook)

 

Surprised #the beast# doesn't have this driver in it yet. Glad Pandora is getting it... I will have to checkout Pandora.

 

About sleep, With my motherboard, I have to put it to sleep at the Login screen, then wake it up for my Blackmagic Decklink, and Firewire cards to work. Haven't tried usb3 before that stage... The LaCee Driver before would make my bootup take longer, and now my box even boots faster with this driver... I have used Seagate Backup +, a Buffalo Raid, and Lacee rugged drive all at the same time connected to my USB 3 hub.

Share this post


Link to post
Share on other sites

@Zenith432 I would like to put GenericUSBXHCI into Pandora, there are particular conflicting kexts to remove, as PXHCD.kext, CalDigitUSBxHCI.kext and CalDigitFastIO.kext etc. if found? ... Know any others?

Another thing, I can make script that allows installation only if OS is greater than or equal to 10.7.5, but this is really right, or give freedom is best?

I would like to be sure that everything runs smoothly.

 

Congratulations for this work

 

Micky

 

Micky..mille grazie.. I got hdmi to work on my laptop reading your thread on it, in italian of all things.

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.

  • Similar Content

    • By shiecldk
      Warning: This driver is made for none-Intel chipset USB3.0 controllers.
       
      This AppleUSBXHCI.kext is based on Zenith432's patch.
      Original Topic
       
      Please install this driver to /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns.
      Alternatively, you can use Clover's KextsToPatch with the following Binary patch.
       
      Binary patch description (Hex & Assembly Codes):
       
       
      Chipset Compatible List: (Working/Semi-working)
      Please feel free give some feedbacks, if your chipset is not on this list, or if you think there is something wrong about the list.
      NEC/Renesas:
      D720200
      D720200a
      D720201
      D720202
      D720210
      Etron:
      EJ168
      EJ168a
      EJ188
      EF198
      Fresco Logic:
      FL1000
      FL1009
      FL1100
      VIA:
      VL800
      VL801
      VL805
      VL806
      Texas Instruments:
      TUSB7320
      TUSB7340
      ASMedia:
      ASM1042
       
      If this driver doesn't work for you, restore the original AppleUSBXHCI.kext and check out Zenith432's GenericUSBXHCI.kext.
    • By Angelo_
      Since when I updated to 10.13.6 (and possibly .5 since i don't use usbs that often) my usb 3.0 drives don't work on usb 3.0 ports or hubs and work only if inserted slowly and get recognized as usb 2.0s in that case (480mb/s in sysinfo) and if i try to put my hackintosh to sleep the screen turns black for a second and then it takes me to the login screen instead of going to sleep, this usb issue happened to me on 10.13.2/3 too, is there a way to fix it ? Thank you
       
      CLOVER not working usb 3.0s+ sleep.zip
    • By cwestpha
      Looks like after the 10.12.6 update something reset in my USB subsystem and now I am no longer able to reliably use almost half of my USB ports. This is across both USB 2.0 and 3.x ports. It looks like the ports re-organized themselves and I am hitting limits again though I am not sure why (granted I have 4 USB hubs attached to my computer in addition to the internal ones). I guess I havent been keeping up on grooming my edits and patches since .3 so it was bound to happen. [i really hope the USB subsystem is better in 10.13]
       
      Any assistance would be appreciated. I have attached my ACPI dumps as patched by Clover, the original unpatched dumps, my current config.plist, my patched ssdt.aml, and an IOREG USB dump.
      Asrock Z170 Ext 6+ 6700K @ 4.4.zip
×