Jump to content

GenericUSBXHCI USB 3.0 driver for OS X with source

xHC USB 3.0

  • Please log in to reply
636 replies to this topic

#621
DotTheI

DotTheI

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I've been trying to figure out whether there is a 100% working solution for Macbook Pro 2011 and earlier (with Yosemite installed) users to add USB 3.0 port connection into their computers using a hidden ExpressCard and achieve transfer speed more than 100Mb/s. These are the only three tutorials that I have found:

 

http://www.dawning.c...-on-my-macbook/ - Yosemite used, very low speed achieved

http://petesentme.co...-to-macbook-pro - not Yosemite, speed achieved is not known

http://www.spaceman.ca/blog/?p=288 - not Yosemite, speed achieved is not known

 

I hope members of this forum can give me an advise on that.



#622
@ROBASEFR

@ROBASEFR

    InsanelyMac Geek

  • Members
  • PipPipPipPipPip
  • 337 posts
  • Gender:Male
  • Location:France

I've been trying to figure out whether there is a 100% working solution for Macbook Pro 2011 and earlier (with Yosemite installed) users to add USB 3.0 port connection into their computers using a hidden ExpressCard and achieve transfer speed more than 100Mb/s. These are the only three tutorials that I have found:

 

http://www.dawning.c...-on-my-macbook/ - Yosemite used, very low speed achieved

http://petesentme.co...-to-macbook-pro - not Yosemite, speed achieved is not known

http://www.spaceman.ca/blog/?p=288 - not Yosemite, speed achieved is not known

 

I hope members of this forum can give me an advise on that.

I have à MBP 2011 also and tought also to make it USB 3 compatible.

What I found is that for a 100 % working solution and OOB you have to buy an Expresscard 34 with Fresco 1100 chip like these :

http://www.amazon.co... 34 fresco 1100

http://www.amazon.co... 34 fresco 1100



#623
mfckr

mfckr

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

Just a heads up for those using this kext on Yosemite:

 

If upon restart/shutdown your machine seems to go into a kind of standby mode (display turns off, disk activity stops, etc.) and hangs there for ~20-30 seconds before finally powering down, then disabling GenericUSBXHCI.kext might fix that.

 

Everything else I could think of (DSDT tweaking and so on) failed to address problem. Syslogs gave no insight as all logging ceases after the SHUTDOWN_TIME message. But issue was definitely unique to Yosemite (doesn't occur in Mavericks nor Windows). Finally on a random whim I removed aforesaid kext and the machine powered down normally.

 

Was using latest v1.2.7 tweaked for 10.10. Hardware specs are in signature (USB controller is Intel). Fortunately, for whatever reasons my USB ports (both 3.0 & 2.0) operate perfectly fine OOTB in Yosemite, so GenericUSBXHCI.kext is no longer necessary in my case.



#624
thorton

thorton

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

I have a sort of a minor but strange problem with this. The USB 3.0 ports don't work the first time after boot. If I remove the device and plug it in again then it gets detected and everything works fine after that. This behaviour repeats after the system wakes up from sleep. Although at times I plug in a flash drive and it gets detected as a USB 2.0 device. If I boot with the device plugged in, it works fine though.

 

 

I'm on Yosemite. I tried both - v1.2.7 and RehabMan's fork. I have a old MSI P67 motherboard which uses a NEC/Renesas uPD720200F1 chip.

I tried the -gux_nosleep flag but it didn't help. Also tried gux_log=2 but I couldn't find any relevant log messages. I also updated the firmware for uPD720200 but that didn't help either.



#625
waxfuzz

waxfuzz

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

I got this message in console, i have Nec/renesas laptop usb 3.0 

 

12/11/14 14:22:54,000 kernel[0]: USBF:    1.461    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken

 

Usb 3.0 works with device plugged before boot in os. Weird problem. 

 

If i eject the device it doesn't recognize anymore any devices.



#626
Allaп

Allaп

    Staff Member

  • Moderators
  • 4,139 posts
  • Gender:Male
  • Location:Brazil

Try use this boot arguments: -gux_defer_usb2 -gux_no_idle



#627
chriz74

chriz74

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

Hello all. I have a p8h67-v with i7 2600k (sandy bridge). I installed Yosemite with oaf clover and everything is working.

I am using GenericUSBXHCI v1.2.7 (yosemite) for the two usb 3.0 ports I have in the back. The ports are working, I have an external WD usb3 drive which is recognized and browsable. However in the boot log I can always see this message regarding the creation of USB Hub Root Device: Bus 14 already taken. I think it's some sort of conflict between USB drivers and I really don't kn ow what harm it's making.
Any clue as how to get rid of this error? By the way as you can see every time I get a different number (1.100, 0.992, 0.995) anyone know what that could be referred to?
Also sometimes when booting to windows 8.1 (I have it in a separate disk) one USB port stops working (yellow ! mark), I have to deactivate it from hardware management and reactivate it to get it working again).
 
Thanks
 
 
14/11/14 00:06:50,000 kernel[0]: USBF:    1.100    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken
 
14/11/14 09:21:37,000 kernel[0]: USBF:    1.100    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken
 
14/11/14 09:23:35,000 kernel[0]: USBF:    0.992    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken
 
14/11/14 09:41:22,000 kernel[0]: USBF:    0.995    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken
 
14/11/14 10:16:53,000 kernel[0]: USBF:    1. 11    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken


#628
frankiee

frankiee

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 221 posts
  • Gender:Male
  • Location:Earth
  • Interests:Everything

 
14/11/14 09:41:22,000 kernel[0]: USBF:    0.995    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken
 
14/11/14 10:16:53,000 kernel[0]: USBF:    1. 11    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken

 

 

I have asked this question several times (I have the same messages) but nobody was able to tell me, so do not expect an answer ;)

 

On the other hand, I think these are not an indication of a real problem, at least not one you could solve. At least all of the -gux-* flags did not make this message go away, so I simply ignore it now.

 

On the other hand, especially with 10.10 there seem to be even more problems with USB3, so an updated driver would be nice.

 

All in all, this is one of the reasons I won't upgrade to 10.10 (But not the main one)



#629
fffeee

fffeee

    InsanelyMac Protégé

  • Members
  • PipPip
  • 82 posts

I have a reproducible complete train-wreck of a kernel panic that happens so quickly it's hard to debug and it's related to GenericUSBXHCI and the ebook reader/manager application Calibre. This kernel panic happens with calibre-debug and calibre itself, and happens even when there is no device on the bus that Calibre would want to talk to. It's really something spectacular. 

 

I am thinking that this is probably a bug in implementation of usbmuxd/libimobiledevice in Calibre but the developer of Calibre is not known for, shall we say, enthusiastic responses to criticism in his software [1]. I may have another kernel panic as a result of this driver in the software installer and subsequent use of the driver to control a LeapMotion device. I haven't attempted to reproduce in a while, as I bought a CalDigit combo card but after Yosemite the Caldigit kernel extensions for USB have had issues of their own so I've yanked them, yanked the card, and I'm trying to make do with the Etron devices

 

So I'm back and considering either getting the better CalDigit card (the one with two internal ESATA connectoids and two external in addition to 2 USB 3.0 that doesn't lose it's effing mind when a USB 3.0 hub is plugged in) or going with another option entirely like upgrading my board to something with on-board Intel USB 3.0.

 

tl;dr is my reproducible panic something that can be addressed in GenericUSBXHCI or do I need to suck it up and go to battle with Kovid Goyal after swallowing enough anti-anxiety medication to not take his tantrums too seriously? With the original author/maintainer stepping out and two other folks starting to dig in I don't want to get in the way of that but if this is an interesting bug that you think will help get your bearings, I'd be happy to guineapig any suggestions and possible fixes.

 

My hardware is z68x-ud3h-b3 on UEFI h1l, I boot with Clover and don't have Windows (but if required I can pull down that preview release of Windows 10 and put it on a spare drive or VM.) 

 

FWIW I'm not opposed to learning more about USB myself so I'm not merely volunteering to run builds and whine about them.  I'm GMT-5/US-en and familiar with git/svn/rcs/mercurial and arcane knowledge like unified diffs and dtrace.

 

No hard feelings if nobody wants to run with this with me, I'm fine just throwing hardware and money at it if that's all it takes.

 

[1] For example, there is what has to be by now a 200 page thread on launchpad of him arguing why a security vulnerability in his software isn't important and him actually telling well-reguarded researchers and developers that know how to address the issues to go screw.

 

 

 



#630
mircsicz

mircsicz

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

Hi all,

 

I'm new to all this OSx86 thing, though not new to Mac's or Linux...

 

Got a Lenovo T420s on which I installed 10.10 three weeks ago. Thanks to Tluck and this Thread I got it to work as expected, except USB3.

 

Regarding to lspci its:

0d:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04) 

And I already have RehabMan's Version of "GenericUSBXHCI (1.2.8d7)" installed but USB3 Sticks attached to the USB3 Port remain inactive: http://ctrlv.in/462976 Is there anything else I need to do?



#631
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,930 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

Hi all,

 

I'm new to all this OSx86 thing, though not new to Mac's or Linux...

 

Got a Lenovo T420s on which I installed 10.10 three weeks ago. Thanks to Tluck and this Thread I got it to work as expected, except USB3.

 

Regarding to lspci its:

0d:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04) 

And I already have RehabMan's Version of "GenericUSBXHCI (1.2.8d7)" installed but USB3 Sticks attached to the USB3 Port remain inactive: http://ctrlv.in/462976 Is there anything else I need to do?

Have you tried to update the firmware?



#632
mircsicz

mircsicz

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

@Micky1979

 

THX a ton man, read about it before but didn't believe it might be the cure... Searching this Thread didn't make that better!

 

Anyway's I followed this Posting, worked even with my Win8.1 install!

 

Right after Boot I could see my USB3 Stick...

 

Not yet done a performance test.



#633
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,930 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

So it's ok now... :lol:



#634
mircsicz

mircsicz

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

Yeap, seems to be OK...

 

Here's a performance comparison, slower is from USB2... Could be more, but better then before were I couldn't use the port at all!

 

546ccaa032148.png   546ccaf7e6432.png



#635
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,930 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

Better than nothing :thumbsup_anim:



#636
fffeee

fffeee

    InsanelyMac Protégé

  • Members
  • PipPip
  • 82 posts

I wouldn't hate it if someone would try downloading Calibre (it's an ebook library manager) and trying to run it while having this kext loaded and see if you get a kernel panic? I can replicate it 100% on my own hardware but before I go on a witch hunt I'd like some confirmation.

 

http://calibre-ebook.com

 

The panic will likely occur after you create a library (any existing/new folder will do) and the initial setup. Once the UI starts up completely it (should) panic. Please don't do this without the expectation of it causing an instant reboot.



#637
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts

I got this message in console, i have Nec/renesas laptop usb 3.0 

 

12/11/14 14:22:54,000 kernel[0]: USBF:    1.461    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken

 

Usb 3.0 works with device plugged before boot in os. Weird problem. 

 

If i eject the device it doesn't recognize anymore any devices.

I have the same in my log.

 

Nov 20, 2014, 8:54:08 PM kernel[0]: USBF:    0.986    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken

Nov 20, 2014, 8:54:08 PM kernel[0]: USBF:    0.988    GenericUSBXHCI::CreateRootHubDevice  Bus 14 already taken

My OS ver:

 

System Software Overview:

 

  System Version: OS X 10.10.1 (14B25)

  Kernel Version: Darwin 14.0.0

  Boot Volume: Yosemite

  Boot Mode: Normal

  Computer Name: iMac

 
Here is dump.
 
By the way, USB3 don't works
 






Also tagged with one or more of these keywords: xHC, USB 3.0


3 user(s) are reading this topic

1 members, 2 guests, 0 anonymous users


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