rehabman / os-x-generic-usb3 Goto Github PK
View Code? Open in Web Editor NEWFork of Zenith432's GenericUSBXHCI USB 3.0 driver for OS X
Fork of Zenith432's GenericUSBXHCI USB 3.0 driver for OS X
Background: I was having an issue with my hackintosh where the system halted before shutdown/restart/sleep. The system halted for 10-20 seconds. It only halted when I had my mouse and/or keyboard plugged in.
After removing the kext, I did not have this problem. The issue persisted even after compiling the latest sources from this repo.
This /r/hackintosh post has more information.
Various system information (If you need more ask me!):
OS X 10.10.2
GA-Z87MX-D3H
Keyboard: Microsoft Sidewinder X4
Mouse: Gigabyte M6880
There is no halt when both the mouse and keyboard aren't plugged in. If either one is plugged in, then there is a halt. For this reason I doubt it is an issue caused by either one of them.
Please look into this issue RehabMan
Thank you!
I get a kernel panic on shutting down:
PMRD: PagingOff all drivers took 0 ms
PMRD: PagingOff total 0 ms
PMRD: PowerOff handler 0xffffff7f80c55e26 took 538 ms
PMRD: PowerOff handler 0xffffff7f80c55e26 took 501 ms
PMRD: PowerOff still waiting on GenericUSBXHCI
Debugger called: <panic>
IOPlatformPanicAction -> AppleAHCIDiskDriver
IOPlatformPanicAction -> AppleSMC
panic(cpu 0 caller 0xffffff801c06580c): "USB2.0 Hub[0x1000001ef]::terminate(kIOServiceSynchronous) timeout\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.41.2/iokit/Kernel/IOService.cpp:2289
Backtrace (CPU 0), Frame : Return Address
0xffffff812691b960 : 0xffffff801ba4f606
0xffffff812691b9b0 : 0xffffff801bb7c654
0xffffff812691b9f0 : 0xffffff801bb6e149
0xffffff812691ba70 : 0xffffff801ba01120
0xffffff812691ba90 : 0xffffff801ba4f03c
0xffffff812691bbc0 : 0xffffff801ba4edbc
0xffffff812691bc20 : 0xffffff801c06580c
0xffffff812691bc70 : 0xffffff801c0692b7
0xffffff812691bcf0 : 0xffffff7f9c70e808
0xffffff812691bd10 : 0xffffff7f9cd28f2b
0xffffff812691bd50 : 0xffffff7f9cd28908
0xffffff812691bdb0 : 0xffffff7f9cd1dd8b
0xffffff812691bdf0 : 0xffffff7f9cd20a8d
0xffffff812691be40 : 0xffffff801c076315
0xffffff812691beb0 : 0xffffff801c0760ba
0xffffff812691bed0 : 0xffffff801ba88ec4
0xffffff812691bf40 : 0xffffff801ba889b5
0xffffff812691bfa0 : 0xffffff801ba004f7
Kernel Extensions in backtrace:
com.apple.iokit.IOUSBFamily(900.4.1)[FD04D3BC-D376-36FD-924C-DD5DF51B0509]@0xffffff7f9c6d1000->0xffffff7f9c76bfff
dependency: com.apple.iokit.IOPCIFamily(2.9)[8E6C654E-4A8F-3C6B-BBFE-BA8A68C9C146]@0xffffff7f9c334000
dependency: com.apple.iokit.IOUSBHostFamily(1.2)[8398A8CC-6560-38E5-B061-C4EEB6B2E1D9]@0xffffff7f9c651000
dependency: com.apple.driver.usb.AppleUSBCommon(1.0)[E768F6C8-F7ED-3AA5-AB26-03284841965E]@0xffffff7f9c649000
com.apple.driver.AppleUSBLegacyHub(900.4.1)[6D278A06-950F-35C6-B3E4-445F4BBD7DB9]@0xffffff7f9cd1b000->0xffffff7f9cd33fff
dependency: com.apple.iokit.IOUSBFamily(900.4.1)[FD04D3BC-D376-36FD-924C-DD5DF51B0509]@0xffffff7f9c6d1000
BSD process name corresponding to current thread: kernel_task
Boot args: -v kext-dev-mode=1 -f UseKernelCache=no debug=0x2a
Mac OS version:
17D102
Kernel version:
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
Kernel UUID: 18D901F1-4A03-3FF1-AE34-C26B2732F13C
Kernel slide: 0x000000001b600000
Kernel text base: 0xffffff801b800000
__HIB text base: 0xffffff801b700000
System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61)
System uptime in nanoseconds: 949667086618
last loaded kext at 926478018923: @filesystems.msdosfs 1.10 (addr 0xffffff7f9f573000, size 69632)
last unloaded kext at 330188552168: @filesystems.msdosfs 1.10 (addr 0xffffff7f9f573000, size 61440)
loaded kexts:
org.pqrs.driver.Karabiner.VirtualHIDDevice.v050000 5.0.0
com.realtek.driver.!ARTL815XEthernet 1.0.17
org.voodoo.driver.VoodooHDA 2.9.0d10
net.osx86.kexts.GenericUSBXHCI 1.2.11
as.vit9696.WhateverGreen 1.1.6
as.vit9696.Lilu 1.2.2
@filesystems.msdosfs 1.10
@filesystems.autofs 3.0
@kext.AMDFramebuffer 1.6.0
@AGDCPluginDisplayMetrics 3.16.2
>pmtelemetry 1
|IOUserEthernet 1.0.1
>!AUpstreamUserClient 3.6.4
>!AMCCSControl 1.5.3
|IO!BSerialManager 6.0.2f2
@Dont_Steal_Mac_OS_X 7.0.0
>!AHV 1
>ACPI_SMC_PlatformPlugin 1.0.0
@kext.AMDRadeonX4000 1.6.0
>!AOSXWatchdog 1
>!A!ISlowAdaptiveClocking 4.0.0
@kext.AMD8000!C 1.6.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@BootCache 40
@filesystems.hfs.kext 407.30.1
>!ULegacyHub 900.4.1
>!AAHCIPort 329
>!AACPIButtons 6.1
>!ARTC 2.0
>!ASMBIOS 2.1
>!AAPIC 1.7
@nke.applicationfirewall 183
$quarantine 3
$TMSafetyNet 8
@IOBufferCopyEngineTest 1
|IOUSBHIDDriver 900.4.1
@kext.triggers 1.0
@kext.AMDRadeonX4050HWLibs 1.0
>!ASMBus!C 1.0.18d1
|IOSMBus!F 1.1
|IO!B!F 6.0.2f2
>!ASSE 1.0
>IOPlatformPluginLegacy 1.0.0
>IOPlatformPlugin!F 6.0.0d8
|IOAccelerator!F2 376.6
|IOSurface 209.2.2
|IONDRVSupport 517.22
|IOSerial!F 11
@!AGPUWrangler 3.16.2
|IOSlowAdaptiveClocking!F 1.0.0
@kext.AMDSupport 1.6.0
@!AGraphicsDeviceControl 3.16.21
@kext.AMDRadeonX4000HWServices 1.6.0
|IOGraphics!F 517.22
|IOAHCIBlock!S 301.40.2
>!UComposite 900.4.1
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
@filesystems.hfs.encodings.kext 1
>usb.!UHostPacketFilter 1.0
|IOAudio!F 206.5
@vecLib.kext 1.2.0
|IOUSB!F 900.4.1
>usb.!UEHCIPCI 1.2
|IOAHCI!F 288
>usb.!UUHCIPCI 1.2
>usb.!UUHCI 1.2
>usb.!UEHCI 1.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOHID!F 2.0.0
$sandbox 300.0
@kext.!AMatch 1.0.0d1
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!AKeyStore 2
>!UTDM 439.30.4
>!AMobileFileIntegrity 1.0.5
|IOUSBMass!SDriver 140.30.1
|IOSCSIBlockCommandsDevice 404.30.2
|IOSCSIArchitectureModel!F 404.30.2
>!ACredentialManager 1.0
>KernelRelayHost 1
|IOUSBHost!F 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
|IOBufferCopyEngine!F 1
>DiskImages 480.30.2
|IO!S!F 2.1
|IOReport!F 31
|IOTimeSync!F 650.5
|IONetworking!F 3.4
>!AACPIPlatform 6.1
>!ASMCRTC 1.0
>!ASMC 3.1.9
|IOPCI!F 2.9
|IOACPI!F 1.4
@kec.Libm 1
@kec.pthread 1
@kec.corecrypto 1.0
Attempting to commit panic log to NVRAM
Please go to https://panic.apple.com to report this panic
Hi RehabMan. With this my NEC USB3 started working, all the ports. But it caused one problem.Now my Intel HD Audio which I made to work by using VoodooHDA.kext stopped working. Is it a know problem? Is there any solution? If all else doesn't work I'd like to get my Audio back at the cost of losing USB3, I'll be happy to provide any information
Please, does anyone know how to update this kext to be able to enable USB 3.0 (ASMedia 1042) to work on Big Sur?
This driver works perfectly fine on 10.13.6 on my Lenovo x220, except for one little thing : the connected hard drive is disconnect and reconnected at wake.
The USB controller, on this laptop is the NEC Renesas uPD720200. Is there a way to have resume from sleep to work ? Should I use a patched AppleXHCI kext instead of GenericUSBXHCI.kext ?
Any idea ?
Thanks.
Actually do you mean that this will not work in Sierra?
Hello to all. Since install Catalina on my 2011 MacBook Pro 17 can't use the USB 3.0 ExpressCard34.
Console says about the use a busy port 14:
default 12:41:13.977003-0400 usbd [Line 825 of /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOUSBFamily_executables/IOUSBFamily-987.120.1/USBAgentAndDaemon/Daemon/Classes/USBDaemon.m] -[USBDaemon portOverCurrent:]overcurrent at 0xfa140000
default 12:41:13.975465-0400 kernel 000617.204586 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x4000, localSimulatedInterrupts = 0x1
default 12:41:14.089806-0400 NotificationCenter Queuing action present for app SYSTEM_CENTER:com.apple.USBAgent.
default 12:41:19.078392-0400 kernel 000622.307498 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x4000, localSimulatedInterrupts = 0x0
default 12:41:24.182332-0400 kernel 000627.411449 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x4000, localSimulatedInterrupts = 0x0
default 12:41:25.758003-0400 NotificationCenter Queuing action removeAlert for app SYSTEM_CENTER:com.apple.USBAgent.
default 12:41:29.286344-0400 kernel 000632.515471 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x4000, localSimulatedInterrupts = 0x0
default 12:41:34.390000-0400 kernel 000637.619123 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x4000, localSimulatedInterrupts = 0x0
default 12:41:39.493901-0400 kernel 000642.723028 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x4000, localSimulatedInterrupts = 0x0
default 12:41:44.597651-0400 kernel 000647.826785 AppleUSB20HubPort@fa140000: AppleUSBHostPort::interruptOccurred: overcurrent detected with port status 0x0, localSimulatedInterrupts = 0x1
default 12:41:45.361807-0400 kernel Notice - new kext com.apple.driver.usb.AppleUSBHostPlatformProperties, v1.2 matches prelinked kext but can't determine if executables are the same (no UUIDs).
default 12:41:45.504698-0400 kernel USBF: 648.733
default 12:41:45.504714-0400 kernel GenericUSBXHCI::CreateRootHubDevice Bus 14 already taken
default 12:41:45.504720-0400 kernel
Any idea about?
SysReg shows ExpressCard is present as PCI USB 2.0 and 3.0. on RP04@1C,3
EXCD@0
Extension loads and presents USB 3.0 interfaces to the system, but the ports don't actually work.
Im glad this kext enables the USB3 ports on my ASUS P8P67 Pro Rev3.0 so a big thank you first. No other kext or solution I tried was able to do this and regarding the answer in this blog no other solution will do: Link.
But when I add the kext, the system doesn't shutdown anymore, it just waits and then restarts. I had this problem earlier and I was able to fix it by disabling the "FixShutdown" ACPI patch. I already tried to re-enable it but without success. Im running OS X Mojave.
Hello,
There seems to be an issue with the Asmedia 1042 USB 3.0 controller.
The ports work if - 1) There is a device plugged into them at boot up. - or - 2) I am already booted, I plug something in (nothing) I unplug and plug it back in. It shows up.
I see on older osx versions someone reported a similar issue and it was closed out.
Thanks.
Is it possible to make it work with yosemite ? The driver gets loaded and i can see it in "about this mac", but attached devices don't connect.
Hi, kext not working under 10.11 (Gets Kernel Panic on boot). USB 3.0 Controller - NEC upd720202 on expresscard slot
I was using this package for months in Sierra with no problem. After upgrading to High Sierra, Shutdown caused the system restart and sleep did not wake. After so much searching and try and error I found out that by removing this kext, shutdown and sleep both fixes! This good old library has power management issues with High Sierra (At least 10.13.4+). I am using an NEC (renessas) USB3 PCI-e card on Gigabyte SandyBridge mainboard.
USB 3.0 only works if i insert the USB device before my laptop is powered up. It has to be attached when my pc is booting up. Otherwise it gives this error: "32,000 kernel[0]: USBF: 3.168 GenericUSBXHCI::CreateRootHubDevice Bus 14 already taken"
Laptop: Asus K53SV
CPU: Intel Core i5 2430M
USB 3.0 Controller: Asmedia 1042
Link to tonymacx86 thread: http://www.tonymacx86.com/general-help/148333-genericusbxhci-kext-yosemite.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.