Jump to content

GenericUSBXHCI USB 3.0 driver for OS X with source


928 posts in this topic

Recommended Posts

CalDigit - panic after a ~minute;

LaCie - no panic, but a logageddon happens :D no big deal. read speed 15-20 MBps, write speed almost the same (blackmagic disk speed test).

Oyen Digital - no panic.. yet, no log flood. read speed ~20, write speed ~50. i use it as a solution for the first time.

 

I've tried all of these as well with my Pro and if I inject ven/dev IDs into ASMX to get the rear hub-connected ports going I got a KP with the Oyen driver as well. Maybe it's just a 10.6 thing. At the moment I'm using the Oyen with just the front USB ports.

 

There's a patched copy of the Lacie to take care of the logging but ultimately I found it didn't work as well as the CalDigit/Oyen drivers.

Link to comment
Share on other sites

after changing "legacy usb 3.0" option in bios to off i get kp with Oyen now.. but genericusbxhci now working for 2 ports with 20 MBs speed without kp. although i experience long power off with it. not tested new 1.1.6 version yet.

 

tested that patched lacie driver before - no luck. log fix is not quite thing i need. thanks anyway.

Link to comment
Share on other sites

Apologies for the long delay, but I've finally completed work on Isochronous-endpoints support that allows GenericUSBXHCI to be used with webcams and other USB devices with real-time audio or video streaming.

It's in v1.2.0.

 

The driver is now feature-complete. Future work will be oriented toward fixing bugs or adding quirks for various chipsets.

  • Like 4
Link to comment
Share on other sites

Apologies for the long delay, but I've finally completed work on Isochronous-endpoints support that allows GenericUSBXHCI to be used with webcams and other USB devices with real-time audio or video streaming.

It's in v1.2.0.

 

The driver is now feature-complete. Future work will be oriented toward fixing bugs or adding quirks for various chipsets.

 

Awesome! I assume you're building/releasing off branch 'master' now... Thanks!

Link to comment
Share on other sites

Awesome! I assume you're building/releasing off branch 'master' now... Thanks!

 

Truly amazing news Zenith, people like you make the scene...

 

RehabMan, are you still patching/branching this driver? Or were your changes brought back into the master branch? Wondering because i am using the ##### version of the driver but would like to update to latest version.

Thanks,

g\

Link to comment
Share on other sites

Truly amazing news Zenith, people like you make the scene...

 

RehabMan, are you still patching/branching this driver? Or were your changes brought back into the master branch? Wondering because i am using the ##### version of the driver but would like to update to latest version.

Thanks,

g\

 

I still am, but I think Zenith has brought most of my changes in. The only parts not present relate to build settings/optimizations that I did. The other major difference between my build and Zenith's is that his contains 32-bit support, where mine is 64-bit only. For the ProBook Installer, we don't need 32-bit support on Lion because we've standardized on kozlek's FakeSMC which does not support 32-bit.

Link to comment
Share on other sites

I still am, but I think Zenith has brought most of my changes in. The only parts not present relate to build settings/optimizations that I did. The other major difference between my build and Zenith's is that his contains 32-bit support, where mine is 64-bit only. For the ProBook Installer, we don't need 32-bit support on Lion because we've standardized on kozlek's FakeSMC which does not support 32-bit.

 

Thanks RehabMan,

That is very valuable info. Please let us know when you have a branch of the latest builds, i don't think its a huge deal but i also don't need 32bit support. Maybe it will save some precious kilobytes :P

g\

Link to comment
Share on other sites

Thanks RehabMan,

That is very valuable info. Please let us know when you have a branch of the latest builds, i don't think its a huge deal but i also don't need 32bit support. Maybe it will save some precious kilobytes :P

g\

 

I already put my build up earlier today...

Link to comment
Share on other sites

I already put my build up earlier today...

 

Hi, thanks for your awesome work.

I have 99% perfect working system except for extra-current. Still can't enable it.

I have ASUS P8Z77-M Pro with intel/ASM1042 USB

Is there any way to make it work?

Link to comment
Share on other sites

The other major difference between my build and Zenith's is that his contains 32-bit support, where mine is 64-bit only.
Turns out the 32-bit build for OS 10.7.5 doesn't work because it has a bug in it :) It's fixed in version 1.2.1. Edited by Zenith432
  • Like 1
Link to comment
Share on other sites

Can you clarify something? If this is installed on a 7 series chipset with intel native USB 3.0, does it work alongside the apple USB 3.0 drivers or does it supersede them? the reason is it seems for full compatibility it would be good if this driver were able to work on third party chipsets while allowing the apple driver to control the intel ones.
You can do this by editing GenericUSBXHCI.kext/Contents/Info.plist, and changing IOProbeScore from 1 to -1. AppleUSBXHCI has an IOProbeScore of 0. If you set it lower, the kernel will first try to start AppleUSBXHCI on all chips. It will succeed for Intel and fail for the others (provided you don't set AllowAnyXHCI to true). After that, GenericUSBXHCI will be loaded for the others.

 

Note on the extra-current error - I found where this error is coming from, but it's going to take some work to figure out how to make it go away. Stay tuned.

Edited by Zenith432
  • Like 2
Link to comment
Share on other sites

Thank you! Good job! Works on my Lenovo Y570 (Nec\Renesas uPD720200a USB 3.0 Controller), but

wakeup-on-sleep don't work. Without this driver sleep and wake works good. Help me please.

Link to comment
Share on other sites

I do not know the issue at hand very well, but when I go to sleep and wake up from sleep, it takes a while for my devices to be "recognized".

 

Here is the console log:

2013-05-21 11:54:33.000 AM kernel[0]: Wake reason =
2013-05-21 11:54:33.000 AM kernel[0]: No interval found for . Using 8000000
2013-05-21 11:54:33.000 AM kernel[0]: RTC: PowerByCalendarDate setting ignored
2013-05-21 11:54:33.000 AM kernel[0]: Previous Sleep Cause: 5
2013-05-21 11:54:33.000 AM kernel[0]: 458.172783: setDISASSOC from ATH_INTERFACE_CLASS disconnectVap
2013-05-21 11:54:33.000 AM kernel[0]: 458.172793: switchVap from 1 to 1
2013-05-21 11:54:33.000 AM kernel[0]: RestoreControllerStateFromSleep: xHC Restore Error
2013-05-21 11:54:33.203 AM configd[17]: setting hostname to "localhost"
2013-05-21 11:54:33.207 AM configd[17]: network changed: v4(en1-:129.97.141.181) DNS- Proxy- SMB
2013-05-21 11:54:34.000 AM kernel[0]: considerRebuildOfPrelinkedKernel prebuild rebuild has expired
2013-05-21 11:54:34.600 AM loginwindow[55]: ERROR | -[LWScreenLock(Private) screenIsLockedTimeExpired:] | No lock state found, use built in check
2013-05-21 11:54:34.000 AM kernel[0]: Elan: Detecting the touchpad
2013-05-21 11:54:34.000 AM kernel[0]: Elan: Successfully placed touchpad into Absolute mode
2013-05-21 11:54:34.000 AM kernel[0]: Elan: MouseInformation { 0x20, 0x03, 0xc8 }
2013-05-21 11:54:34.000 AM kernel[0]: Elan: Enabling the touchpad
2013-05-21 11:54:34.000 AM kernel[0]: HID tickle 1586 ms
2013-05-21 11:54:34.000 AM kernel[0]: ELAN: KEYBOARD ENABLED
2013-05-21 11:54:34.000 AM kernel[0]: No interval found for . Using 8000000
2013-05-21 11:54:34.000 AM kernel[0]: No interval found for . Using 8000000
2013-05-21 11:54:35.282 AM WindowServer[79]: handle_will_sleep_auth_and_shield_windows: no lock state data
2013-05-21 11:54:35.295 AM VDCAssistant[1507]: VDCAssistant: Found a camera (0x1d15000004f2b330) , but was not able to start it up (0xe00002be -- (iokit/common) resource shortage)
2013-05-21 11:54:35.295 AM VDCAssistant[1507]: VDCAssistant::DeviceArrived Got error (0xe00002be), waiting to see if the device shows up again
2013-05-21 11:54:35.317 AM WindowServer[79]: Created shield window 0xf8 for display 0x003f003d
2013-05-21 11:54:35.317 AM WindowServer[79]: handle_will_sleep_auth_and_shield_windows: no lock state data
2013-05-21 11:54:36.000 AM kernel[0]: EAPD: Sending Command
2013-05-21 11:54:36.000 AM kernel[0]: EAPD: Enabled Successfully
2013-05-21 11:54:37.231 AM WindowServer[79]: Created shield window 0xf9 for display 0x003f003e
2013-05-21 11:54:37.231 AM WindowServer[79]: handle_will_sleep_auth_and_shield_windows: no lock state data
2013-05-21 11:54:37.251 AM loginwindow[55]: resume called when there was already a timer
2013-05-21 11:54:38.618 AM Skype[1501]: Error loading /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib: dlopen(/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib: mach-o, but wrong architecture
2013-05-21 11:54:38.619 AM Skype[1501]: Cannot find function pointer IOUSBLibFactory for factory 4547A8AA-9EF3-11D4-A9BD-000A27052861 in CFBundle/CFPlugIn 0x40bc150 </System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle> (bundle, not loaded)
2013-05-21 11:54:38.620 AM Skype[1501]: QuickTimeUSBVDCDigitizer Got error (0xe00002be), waiting to see if the device shows up again
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:45.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:46.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:46.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:46.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:47.000 AM kernel[0]: FN KEYS SENT: 3 3
2013-05-21 11:54:49.910 AM Skype[1501]: SKLog:SKUpgradeChecker - -[sKUpgradeChecker pingUISkypeCom:]: Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0xf0c6610 {NSErrorFailingURLStringKey=http://ui.skype.com/ui/3/6.3.0.602/en/getlatestversion?format=plist&uhash=117163405348073daa8f4b98ddee81193&machine=MacBookAir4%2C2&osversion=1083&ver=6.3.0.602&ping=true, NSErrorFailingURLKey=http://ui.skype.com/ui/3/6.3.0.602/en/getlatestversion?format=plist&uhash=117163405348073daa8f4b98ddee81193&machine=MacBookAir4%2C2&osversion=1083&ver=6.3.0.602&ping=true, NSLocalizedDescription=The Internet connection appears to be offline., NSUnderlyingError=0x40839f0 "The Internet connection appears to be offline."}
2013-05-21 11:54:49.000 AM kernel[0]: IOUSBHIDDriver: waitForPMDriverCall timeout
2013-05-21 11:55:05.000 AM kernel[0]: IOUSBHIDDriver: waitForPMDriverCall timeout

Link to comment
Share on other sites

On same laptop, i got X.7.5 and X.8.3. All is fine under MT but USB Key is not load from USB3 port under X.7.5 (ok from USB2 port) :-/

 

Console log following :

 

May 21 18:04:41 localhost kernel[0]: PMAP: PCID enabled
May 21 18:04:41 localhost kernel[0]: Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
May 21 18:04:41 localhost kernel[0]: vm_page_bootstrap: 2010767 free pages and 70001 wired pages
May 21 18:04:41 localhost kernel[0]: kext submap [0xffffff7f80736000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000736000]
May 21 18:04:41 localhost kernel[0]: zone leak detection enabled
May 21 18:04:41 localhost kernel[0]: standard timeslicing quantum is 10000 us
May 21 18:04:41 localhost kernel[0]: mig_table_max_displ = 73
May 21 18:04:41 localhost kernel[0]: TSC Deadline Timer supported and enabled
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: Based on code by mercurysquad, superhai (C)2008
May 21 18:04:41 localhost kernel[0]: User defined TjMax=0
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=1 Enabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=2 Enabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=0 Disabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=0 Disabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=7 LocalApicId=0 Disabled
May 21 18:04:41 localhost kernel[0]: AppleACPICPU: ProcessorId=8 LocalApicId=0 Disabled
May 21 18:04:41 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet
May 21 18:04:41 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
May 21 18:04:41 localhost kernel[0]: calling mpo_policy_init for Sandbox
May 21 18:04:41 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
May 21 18:04:41 localhost kernel[0]: calling mpo_policy_init for Quarantine
May 21 18:04:41 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
May 21 18:04:41 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
May 21 18:04:41 localhost kernel[0]: The Regents of the University of California. All rights reserved.
May 21 18:04:41 localhost kernel[0]: MAC Framework successfully initialized
May 21 18:04:41 localhost kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
May 21 18:04:41 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
May 21 18:04:41 localhost kernel[0]: ACPI: System State [s0 S3 S4 S5]
May 21 18:04:41 localhost kernel[0]: PFM64 (36 cpu) 0xf10000000, 0xf0000000
May 21 18:04:41 localhost kernel[0]: [ PCI configuration begin ]
May 21 18:04:41 localhost kernel[0]: console relocated to 0xf10000000
May 21 18:04:41 localhost kernel[0]: PCI configuration changed (bridge=9 device=2 cardbus=0)
May 21 18:04:41 localhost kernel[0]: [ PCI configuration end, bridges 6 devices 13 ]
May 21 18:04:41 localhost kernel[0]: RTC: Only single RAM bank (128 bytes)
May 21 18:04:41 localhost kernel[0]: ARPT cannot assert wake from D3cold
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: CPU family 0x6, model 0x2a, stepping 0x7, cores 2, threads 4
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: Using efi
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: BusClock=99MHz FSB=399MHz
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: Platform string T9
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: CPU0 Tjmax 100
May 21 18:04:41 localhost kernel[0]: IntelCPUMonitor: CPU1 Tjmax 100
May 21 18:04:41 localhost kernel[0]: [RealtekRTL81xx:init] RealtekRTL81xx.kext v0.0.90 (c)2010-2011 by Lnx2Mac (lnx2mac@gmail.com)
May 21 18:04:41 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 0057
May 21 18:04:41 localhost kernel[0]: AppleIntelCPUPowerManagement: (built 19:39:51 Apr  9 2012) initialization complete
May 21 18:04:41 localhost kernel[0]: mbinit: done [96 MB total pool size, (64/32) split]
May 21 18:04:41 localhost kernel[0]: Pthread support ABORTS when sync kernel primitives misused
May 21 18:04:41 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
May 21 18:04:41 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
May 21 18:04:41 localhost kernel[0]: 2.4.4 Little Snitch: starting
May 21 18:04:41 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
May 21 18:04:41 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
May 21 18:04:41 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready
May 21 18:04:41 localhost kernel[0]: [RealtekRTL81xx:init] _logLevel is now 132 (0x0084)
May 21 18:04:41 localhost kernel[0]: [RealtekRTL81xx:init] Using updated PHY config method
May 21 18:04:41 localhost kernel[0]: [RealtekRTL81xx:init] init completed
May 21 18:04:41 localhost kernel[0]: [RTL81xx@0x3000:rtl8168_init_board] NIC identified as RTL8168E/8111E (mcfg=14)
May 21 18:04:41 localhost kernel[0]: [iOBluetoothHCIController::setConfigState] calling registerService
May 21 18:04:41 localhost kernel[0]: rooting via boot-uuid from /chosen: 5F3875C7-5E40-313F-BCB0-xxxxxxxxxxxxx
May 21 18:04:41 localhost kernel[0]: From path: "uuid", Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
May 21 18:04:41 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@1F,2/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/SAMSUNG SSD 830 Series Media/IOGUIDPartitionScheme/Untitled 2@2
May 21 18:04:41 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
May 21 18:04:41 localhost kernel[0]: Kernel is LP64
May 21 18:04:42 localhost kernel[0]: ath_get_caps[4035] rx chainmask mismatch actual 3 sc_chainmak 0
May 21 18:04:42 localhost kernel[0]: 2.062294: ath_get_caps[4010] tx chainmask mismatch actual 3 sc_chainmak 0
May 21 18:04:42 localhost kernel[0]: 2.067104: Atheros: mac 128.2 phy 13.0 radio 12.0
May 21 18:04:42 localhost kernel[0]: 2.067119: Use hw queue 0 for WME_AC_BE traffic
May 21 18:04:42 localhost kernel[0]: 2.067127: Use hw queue 1 for WME_AC_BK traffic
May 21 18:04:42 localhost kernel[0]: 2.067135: Use hw queue 2 for WME_AC_VI traffic
May 21 18:04:42 localhost kernel[0]: 2.067143: Use hw queue 3 for WME_AC_VO traffic
May 21 18:04:42 localhost kernel[0]: 2.067151: Use hw queue 8 for CAB traffic
May 21 18:04:42 localhost kernel[0]: 2.067157: Use hw queue 9 for beacons
May 21 18:04:42 localhost kernel[0]: 2.067322: wlan_vap_create : enter. devhandle=0xd11dd610, opmode=IEEE80211_M_STA, flags=0x1
May 21 18:04:42 localhost kernel[0]: 2.067392: wlan_vap_create : exit. devhandle=0xd11dd610, opmode=IEEE80211_M_STA, flags=0x1.
May 21 18:04:42 localhost kernel[0]: 2.067523: start[1012] sc->sc_inuse_cnt is at offset: 203c, sizeof(_sc->sc_ic) is 25e8
May 21 18:04:44 MBPX7 kernel[0]: Previous Shutdown Cause: 3
May 21 18:04:44 MBPX7 kernel[0]: SMC::smcInitHelper ERROR: MMIO regMap == NULL - fall back to old SMC mode
May 21 18:04:44 MBPX7 kernel[0]: Transcript Offline - Buffer Pool Allocate [181000] failed
May 21 18:04:44 MBPX7 kernel[0]: No interval found for . Using 8000000
May 21 18:04:44 MBPX7 kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 1656 goto Exit
May 21 18:04:44 MBPX7 kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit
May 21 18:04:44 MBPX7 kernel[0]: kxld[net.osx86.kexts.GenericUSBXHCI]: The super class vtable '__ZTV17IOUSBControllerV3' for vtable '__ZTV14GenericUSBXHCI' is out of date. Make sure your kext has been built against the correct headers.
May 21 18:04:44: --- last message repeated 1 time ---
May 21 18:04:44 MBPX7 kernel[0]: Can't load kext net.osx86.kexts.GenericUSBXHCI - link failed.
May 21 18:04:44 MBPX7 kernel[0]: Failed to load executable for kext net.osx86.kexts.GenericUSBXHCI.
May 21 18:04:44 MBPX7 kernel[0]: Kext net.osx86.kexts.GenericUSBXHCI failed to load (0xdc008016).
May 21 18:04:44 MBPX7 kernel[0]: Failed to load kext net.osx86.kexts.GenericUSBXHCI (error 0xdc008016).
May 21 18:04:44 MBPX7 kernel[0]: DSMOS has arrived
May 21 18:04:44 MBPX7 kernel[0]: VoodooBattery 1.3 (C) 2008-10 Superhai, All Rights Reserved. May  5 2010 09:52:50 64 bit
../..

 

Any idea ?

 

(i remove one by one another USB3 kexts as HXPCD, AppleUSBXHCI but in vain. My laptop is VAIO VPCSA 13")

Link to comment
Share on other sites

68x:

RestoreControllerStateFromSleep: xHC Restore Error
Your xhci chip can't sleep. The delay is because of bus reenumeration. I suggest you try booting with '-gux_nosleep' - the reenumeration might be faster that way because it starts from a better position.

 

LoLL

The super class vtable '__ZTV17IOUSBControllerV3' for vtable '__ZTV14GenericUSBXHCI' is out of date. Make sure your kext has been built against the correct headers.
You're using some outdated IOUSBFamily. The one in OS 10.7.5 should be version 510.4.6. I tried loading GenericUSBXHCI with it in both 64-bit and 32-bit yesterday and it worked.
Link to comment
Share on other sites

This war between tmx and other sites is ridiculous. There is no stealing going on here.

 

First of all credit is given in MB and whenever I reply to a message where the OP is confused and trying to give me credit for Zenith432's work, I will always correct them to indicate that this is all Zenith432's work.

 

Second of all, this is open source. Perhaps you should read up on it: http://en.wikipedia....source_software

 

 

yes, but this habit of creating fork/branch is the only real reason that prevents Linux to break through. In my opinion they are a total waste of energy, dictated in most case by the desire to be "the first woman." In many cases it's possible to collaborate together on the same project in order to discuss and refine the code... Why work separately?

Thanks

Bye

Link to comment
Share on other sites

This war between tmx and other sites is ridiculous. There is no stealing going on here.

 

First of all credit is given in MB and whenever I reply to a message where the OP is confused and trying to give me credit for Zenith432's work, I will always correct them to indicate that this is all Zenith432's work.

 

Second of all, this is open source. Perhaps you should read up on it: http://en.wikipedia....source_software

 

You don't even have a clue.

Link to comment
Share on other sites

68x:

Your xhci chip can't sleep. The delay is because of bus reenumeration. I suggest you try booting with '-gux_nosleep' - the reenumeration might be faster that way because it starts from a better position.

 

LoLL

You're using some outdated IOUSBFamily. The one in OS 10.7.5 should be version 510.4.6. I tried loading GenericUSBXHCI with it in both 64-bit and 32-bit yesterday and it worked.

 

Is there a reason why my XHCI cannot sleep? Also the -gux_nosleep flag alleviates the problem, but none of the USB devices connected do not work after 2-3s from wake.

Link to comment
Share on other sites

Will people having problems with the extra-current errors please try this version and let me know if it makes any difference? Thanks.

 

Seems it's not work, extra operating current @500mA for iPhone is not appeared in System Information -> USB

Can't test for iPad now.

 

attached screenshot of System Information and xhcdump

Archive.zip

  • Like 1
Link to comment
Share on other sites

Seems it's not work, extra operating current @500mA for iPhone is not appeared in System Information -> USB
The screen shot shows the iPhone is connected as a high-speed device, for which 500mA is max. The extra-current errors are for super-speed devices only. They leave a message like this in system.log
The IOUSBFamily did not receive enough extra current for the SuperSpeed device ____ at _____, asked for 400mA but got 0 mA

 

Rampage Dev: The message

WaitForCMD: Timeout waiting for command completion, 100ms
indicates the xhci controller in stalled. The KP later is in Apple's code (AppleUSBHub), probably because the controller is stalled and returning errors AppleUSBHub doesn't process well. I'll need to see a xhcdump of the controller state. Maybe with no connected devices it won't KP so xhcdump can be recorded.

 

68x: Usually it's because auxillary power is not supplied to the xhci chip during sleep.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...