Jump to content

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

  • Like 2
Link to comment
Share on other sites

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)

Link to comment
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

Link to comment
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

Link to comment
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.

Link to comment
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.

Link to comment
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.

Link to comment
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

Link to comment
Share on other sites

Added modified CalDigitUSBxHCI.kext for USB3 controller support.

Link to comment
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 ?

Link to comment
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).

Link to comment
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.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...
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

Link to comment
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?

Link to comment
Share on other sites

 Share

×
×
  • Create New...