Jump to content
Andy Vandijck

USB3 capable IOUSBFamily (10.6.5/10.6.6/10.6.7/10.6.8)

55 posts in this topic

Recommended Posts

I rewrote IOUSBFamily to be capable to use USB3 devices at full speed.

I also implemented the Orbyte legacy fix and the Slice errata fix + sleep fix (made sleep fix togleable in Info.plist of AppleUSBEHCI and AppleUSBOHCI).

 

Download:

http://rapidshare.com/files/435500537/IOUS...ly_USB3_AnV.zip

 

Source patch (10.6.5/10.6.6/10.6.7, patch build 417.4.1):

http://rapidshare.com/files/435501345/IOUS....1-AnV.diff.zip

 

Source patch (10.6.8, patch build 424.4.1):

https://rapidshare.com/files/2702776741/IOU..._patch.diff.zip

 

xHCI controller kext:

http://rapidshare.com/files/436438000/CalD...SBxHCI.kext.zip

 

Enjoy... :)

 

EDIT: Added modified CalDigitxHCI.kext for USB3 controller (requires this patched IOUSBFamily)

ANOTHER EDIT: Added sources for 10.6.8 IOUSBFamily, rest will follow...

IOUSBFamily_USB3_AnV.zip

IOUSBFamily_417.4.1_AnV.diff.zip

CalDigitUSBxHCI.kext.zip

IOUSBFamily.kext_418.4.2_10.6.7_USB3.zip

IOUSBFamily_424.4.1_10.6.8_USB3_AnV_patch.diff.zip

IOUSBFamily_424.4.1_AnV.zip

Share this post


Link to post
Share on other sites
Advertisement

Great - i will test this (USB 2 only today).

EDIT : Installed (10.6.5, GA EP 35, some USB dsdt moddings) , reboot and USB devices continue working.

I have sometimes (rare) lost of keyboard after wake, but mouse USB sleep works ?!. Perhaps this fixes that.

Q: I see some kernel (debug?) infos, perhaps usefull for the dev :)

07.12.10 19:01:25 kernel USBF: 0.934 Attempting to get EHCI Controller from BIOS

07.12.10 19:01:25 kernel USBF: 0.934 USBLEGCTLSTS value 0xc0000000

07.12.10 19:01:25 kernel USBF: 0.934 acquireOSOwnership done - value 0x1000001

07.12.10 19:01:25 kernel USBF: 0.934 Attempting to get EHCI Controller from BIOS

07.12.10 19:01:25 kernel USBF: 0.934 USBLEGCTLSTS value 0xc0000000

07.12.10 19:01:25 kernel USBF: 0.934 acquireOSOwnership done - value 0x1000001

 

I tried sleep - wake (by press USB key on kexboard) - also worked.

07.12.10 19:08:28 kernel Wake reason = US31 UHC4

07.12.10 19:08:28 kernel System Wake

07.12.10 19:08:28 kernel Previous Sleep Cause: 0

07.12.10 19:08:28 kernel The USB device CompositeDevice (Port 2 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2)

Share this post


Link to post
Share on other sites

Thanks

 

 

My kernel.log with your rewrote IOUSBFamily.kext in S/L/E/

 

Dec 7 20:46:20 localhost kernel[0]: USBF: 0.813 Attempting to get EHCI Controller from BIOSUSBF: 0.813 Attempting to get EHCI Controller from BIOS

Dec 7 20:46:20 localhost kernel[0]: USBF: 0.813 USBLEGCTLSTS value 0xc0002000

Dec 7 20:46:20 localhost kernel[0]: USBF: 0.813 acquireOSOwnership done - value 0x1000001

Dec 7 20:46:20 localhost kernel[0]: USBF: 0.839 USBLEGCTLSTS value 0xc0002000

Dec 7 20:46:20 localhost kernel[0]: USBF: 0.842 acquireOSOwnership done - value 0x1000001

Dec 7 20:46:20 localhost kernel[0]: USBF: 1.444 [0x9dc4500] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of Hub at 0x3a000000)

Dec 7 20:46:20 localhost kernel[0]: USBF: 2.231 [0x9dc4500] The IOUSBFamily has successfully enumerated the device.

Dec 7 20:46:20 localhost kernel[0]: USBMSC Identifier (non-unique): 0x204 0x6025 0x100

 

This in my normal config USB2.0

 

Fabio

Share this post


Link to post
Share on other sites

Lost my usb mouse and keyboard, man not a lot of these works do they. Don´t even come back after reboot, trying safe mode now if that does´nt work ether I need to fix it with my backup install.

 

Edit: Got my mouse back going safe mode but Camtwist shuts down on me now so goodbye webcasting till I fix it. Not so cool

Share this post


Link to post
Share on other sites

To dev :

Do you know what that USBLEGCTLSTS values are (listed in konsole) ?

I ask only for interest (seems to be little different between burners/pcs).

Share this post


Link to post
Share on other sites
To dev :

Do you know what that USBLEGCTLSTS values are (listed in konsole) ?

I ask only for interest (seems to be little different between burners/pcs).

Yes, I know the values are listed.

It is done to see if USB legacy works fine.

Share this post


Link to post
Share on other sites
Yes, I know the values are listed.

It is done to see if USB legacy works fine.

 

Thanks, does it matter that my values are a little bit different to the other user post (xxc0000000 vs xxc0000200) ?

Or does this happens normal by different dvd burners.

Share this post


Link to post
Share on other sites
Thanks, does it matter that my values are a little bit different to the other user post (xxc0000000 vs xxc0000200) ?

Or does this happens normal by different dvd burners.

No, it's still fine.

Share this post


Link to post
Share on other sites

Still get "A device is drawing too much power from the USB" after wake from sleep (with no usb device being plugged in)

 

Have this problem since 10.6.5

 

Already tried to roll back to 10.6.4 IOUSBFamily but didn't help.

 

Thanks

Share this post


Link to post
Share on other sites

Added modified CalDigitUSBxHCI.kext for USB3 controller support.

Share this post


Link to post
Share on other sites

I try it did not work for me ? can any one tell me how ? I have my usb working but a 1.1 thanks 10.6.5

 

ok i have usb 2.0 i guess this will not work for me some one knows make my usb 2.0 full speed again thanks roll back to 10.6.4 IOUSBFAMILY

Share this post


Link to post
Share on other sites
Added modified for USB3 controller support.

Hi Andy,

I am waiting for my NEC chipset based USB 3.0 PCI-e add-in card to arrive. Do I simply use your CalDigitUSBxHCI.kext in /S/L/E to make it work or is there more to do ?

Share this post


Link to post
Share on other sites
Hi Andy,

I am waiting for my NEC chipset based USB 3.0 PCI-e add-in card to arrive. Do I simply use your CalDigitUSBxHCI.kext in /S/L/E to make it work or is there more to do ?

Yes install IOUSBFamily.kext and CalDigitUSBxHCI.kext into /S/L/E and it should work (tested it on a USB3 capable Asus laptop).

Share this post


Link to post
Share on other sites
Yes install IOUSBFamily.kext and CalDigitUSBxHCI.kext into /S/L/E and it should work (tested it on a USB3 capable Asus laptop).

Cool !

Thx. Will let you know when the card arrives.

Share this post


Link to post
Share on other sites

This driver sees my card but I'm not able to see anything attached to the card. Is there anything I need to tweak? I have the eVGA card.

Share this post


Link to post
Share on other sites
Be sure to test on a backup hard drive before, I tell you guys I found out the hard way.

 

Yah I know what you mean. The LaCie package now gives me KP on boot up. Only way I know how to fix it is boot with the OSX setup cd, go into terminal the remove the PXC driver and delete the cache mkext.

Share this post


Link to post
Share on other sites
Yes install IOUSBFamily.kext and CalDigitUSBxHCI.kext into /S/L/E and it should work (tested it on a USB3 capable Asus laptop).

 

This driver pack sees my card (eVGA EU30 card with NEC chipset) but it would show my drives.

Share this post


Link to post
Share on other sites
I rewrote IOUSBFamily to be capable to use USB3 devices at full speed.

I also implemented the Orbyte legacy fix and the Slice errata fix + sleep fix (made sleep fix togleable in Info.plist of AppleUSBEHCI and AppleUSBOHCI).

 

Download:

http://rapidshare.com/files/435500537/IOUS...ly_USB3_AnV.zip

 

Source patch:

http://rapidshare.com/files/435501345/IOUS....1-AnV.diff.zip

 

xHCI controller kext:

http://rapidshare.com/files/436438000/CalD...SBxHCI.kext.zip

 

Enjoy... :dance_24:

 

EDIT: Added modified CalDigitxHCI.kext for USB3 controller (requires this patched IOUSBFamily)

 

Could you please make a new one for 10.6.7? That one work work "properly" on 10.6.7, the camera is recognized but it won't show. It's showing up black screen when using the camera =( please fix it T_T

Share this post


Link to post
Share on other sites

Hello,

 

This kext is really excellent because i tried so much possibilities to get my OHCI device working but this is the only way to get it working.

 

Thank you for that great kext.

 

 

Greetz

Share this post


Link to post
Share on other sites

I've had no luck trying to get this to work on an actual MacBook Pro (2006) with a Patriot ExpressCard. The system will recognize the device and even declare the existence of a SuperSpeed bus, but a USB 3.0 device connected to the card doesn't show up anywhere (I/O registry, System Profiler). A USB 2.0 device connected to the card causes the card to disappear from the system. I looked at the deltas in the code and didn't see any obvious dependency on other OSx86 components. What am I missing here that this works for other people on non-Apple hardware?

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.

×