s1025xfei 发表于 2014-7-23 09:41

支持10.10的USB3.0驱动GenericUSBXHCI.kext修改版

本帖最后由 s1025xfei 于 2014-8-28 08:26 编辑

转载自http://www.insanelymac.com/forum/topic/286860-genericusbxhci-usb-30-driver-for-os-x-with-source/page-29#entry2042974

那些升级了10.10的USB接口失效或者出了问题的请更新此驱动:

**** Hidden Message *****

附件的驱动直接安装到SLE或者放在clover的10.10文件里面就行。要重建缓存和修复权限

然后再执行以下的命令:sudo kextcache -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions如果还不行的话。clover或者变色龙的引导文件里面请加上usbfix=yes

上个附件中的驱动不行的话,请测试下面的GenericUSBXHCI_1.2.8d7测试版USB驱动,这个驱动是支持10.10的。
本驱动是从http://www.hackintoshosx.com/files/file/3955-genericusbxhci/下载转载的。
**** Hidden Message *****
本附件使用方法和上面的是一样的(总体来说上面2个附件区别不大,一个是个人修改版本号基于1.2.7,一个是官方修改而且更新版本号1.2.8d7)。

当然也可以参照这里http://www.insanelymac.com/forum/files/file/150-patched-appleusbxhci/使用Clover 的
KextsToPatch功能:

Disable Intel & Fresco Logic USB3.0 controllers check:000000000000ffc4 jne 0x10000
F6 80 D4 00 00 00 80 75 34
-->
000000000000ffc4 jmp 0x10000
F6 80 D4 00 00 00 80 EB 34This one is actually "75 34"-->"EB 34", but there are more than one "75 34" in the binary.
Disable XHCI 1.0 check:0000000000012160 cmpl $0x100, %eax ## imm = 0x100
41 BC C7 02 00 E0 3D 00 01 00 00
-->
0000000000012160 cmpl $0x000, %eax ## imm = 0x000
41 BC C7 02 00 E0 3D 00 00 00 00This one is actually "3D 00 01 00 00"-->"3D 00 00 00 00", but there are more than one "3D 00 01 00 00" in the binary.
Patch MSI or pin interrupts:00000000000144a3 orl $0x400000, 0x8(%rcx) ## imm = 0x400000
81 49 08 00 00 40 00
-->
00000000000144a3 orl $0x000000, 0x8(%rcx) ## imm = 0x000000
81 49 08 00 00 00 00

000000000001574c movl $0x000000, 0x8(%r15) ## imm = 0x400000
41 C7 47 08 00 00 40 00
-->
000000000001574c movl $0x000000, 0x8(%r15) ## imm = 0x000000
41 C7 47 08 00 00 00 00

00000000000159bc movl $0x400000, 0x8(%r15) ## imm = 0x400000
41 C7 47 08 00 00 40 00
-->
00000000000159bc movl $0x000000, 0x8(%r15) ## imm = 0x000000
41 C7 47 08 00 00 00 00
Disable the sleep code leaving the controller in non-working state after wake:000000000000641e movb $0x1, 0xc8(%rax)
C6 80 C8 00 00 00 01
-->
000000000000641e movb $0x0, 0xc8(%rax)
C6 80 C8 00 00 00 00
Enable PCI power management if there is no such code in DSDT:0000000000006486 jne 0x64d5
75 4D 48 8B BB E8 01 00 00
-->
0000000000006486 jmp 0x64d5
EB 4D 48 8B BB E8 01 00 00This one is actually "75 4D"-->"EB 4D", but we can't be sure if next OSX update would bring more than one "75 4D" in the binary.

dsdt修复usb和打补丁请参考这里https://bbs.pcbeta.com/viewthread-1356343-1-1.html

测试驱动有效果的请点赞↓↓↓

s1025xfei 发表于 2014-7-23 09:42

本帖最后由 s1025xfei 于 2014-8-28 08:17 编辑


关于第一个修改版驱动的原文作者是这么做的:(看不懂完全没关系,你下载附件安装使用就行)
I got it working on DP4 but it involved some things

1. sudo nvram boot-args="kext-dev-mode=1"
2. download source
3. download xcode, signing in with apple developer account and requesting certificates
4. removing _onThunderbolt functions from source as xcode 6 raised like 8 errors on it.
5. signing with my mac developer account and then build/compile.
6. after installing the resulted .kext with kextwizard i rebuild the mkext with:
7.sudo kextcache -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions8. reboot & working for me.













http://smilies.oss-cn-hangzhou.aliyuncs.com/ac/41.png 这么简单的英语应该能看的懂吧,我就不翻译了。

tlsnake 发表于 2014-7-23 09:48

不错
支持
下来啊

hetenbin 发表于 2014-7-23 09:50

谢谢分享

zixiang5288 发表于 2014-7-23 10:02

为了usb3.0而来

846860757 发表于 2014-7-23 10:06

谢谢分享。z?z

shiwuye12 发表于 2014-7-23 10:13

谢谢分享

ZQLL 发表于 2014-7-23 10:18

haoba好吧 来试试 谢谢了

yuwenbai 发表于 2014-7-23 10:19

这么效率 辛苦

pyleung 发表于 2014-7-23 10:19

看下是否解决

franky74 发表于 2014-7-23 10:26

看看是否有幫助!感謝你的無私!

钟明桂 发表于 2014-7-23 10:31

刚升级 需要 谢谢

732317926 发表于 2014-7-23 10:35

支持,需要来试试

nokia5310 发表于 2014-7-23 10:36

谢谢楼主发布新补丁

maycry13 发表于 2014-7-23 10:42

一会试试谢谢分享

ZHUO_XIAO_0831 发表于 2014-7-23 10:54

正需要解决这个问题

ousamadm 发表于 2014-7-23 11:10

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶

苏尔坦 发表于 2014-7-23 11:25

谢谢楼主

topcatcher 发表于 2014-7-23 11:40

感谢分享。。

chenbin19911018 发表于 2014-7-23 11:42

感谢分享,下载试试.
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 支持10.10的USB3.0驱动GenericUSBXHCI.kext修改版