Jump to content

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


  • Please log in to reply
54 replies to this topic

#1
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
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.co...ly_USB3_AnV.zip

Source patch (10.6.5/10.6.6/10.6.7, patch build 417.4.1):
http://rapidshare.co....1-AnV.diff.zip

Source patch (10.6.8, patch build 424.4.1):
https://rapidshare.c..._patch.diff.zip

xHCI controller kext:
http://rapidshare.co...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...

Attached Files



#2
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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)


#3
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,691 posts
  • Gender:Male
  • Location:Canary Islands
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

#4
starobrno1

starobrno1

    InsanelyMac Legend

  • Banned
  • PipPipPipPipPipPipPip
  • 930 posts
  • Gender:Male
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

#5
starobrno1

starobrno1

    InsanelyMac Legend

  • Banned
  • PipPipPipPipPipPipPip
  • 930 posts
  • Gender:Male
fixed Camtwist all is good again.

#6
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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).

#7
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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.

#8
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany

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.

#9
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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.

#10
p_noch

p_noch

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
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

#11
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Added modified CalDigitUSBxHCI.kext for USB3 controller support.

#12
iAstroboyid

iAstroboyid

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
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

#13
MacNB

MacNB

    InsanelyMac Protégé

  • Members
  • PipPip
  • 69 posts
  • Gender:Male

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 ?

#14
kmare

kmare

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 121 posts
  • Gender:Male
  • Location:Toronto
Any chance of adding 1000mA support (for iPad charging)

#15
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,630 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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).

#16
MacNB

MacNB

    InsanelyMac Protégé

  • Members
  • PipPip
  • 69 posts
  • Gender:Male

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.

#17
Powaking

Powaking

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 149 posts
  • Gender:Male
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.

#18
starobrno1

starobrno1

    InsanelyMac Legend

  • Banned
  • PipPipPipPipPipPipPip
  • 930 posts
  • Gender:Male
Be sure to test on a backup hard drive before, I tell you guys I found out the hard way.

#19
Powaking

Powaking

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 149 posts
  • Gender:Male

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.

#20
Powaking

Powaking

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 149 posts
  • Gender:Male

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.





0 user(s) are reading this topic

0 members, 0 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