toine44, on 25 September 2012 - 05:41 PM, said:
I've use otx to disassemble the kext.
+257 0000f915 0fb7401e movzwl 0x1e(%eax),%eax
+261 0000f919 663d9f05 cmpw $0x059f,%ax
+265 0000f91d 746a je 0x0000f989
+267 0000f91f 0fb7c0 movzwl %ax,%eax
+270 0000f922 8944240c movl %eax,0x0c(%esp)
+274 0000f926 89542408 movl %edx,0x08(%esp)
+278 0000f92a c74424049c950100 movl $0x0001959c,0x04(%esp) %p::UIMCreateControlTransfer - Super Speed device other than LaCie is not supported - Vendor ID[%x]\n
+286 0000f932 c7042401000000 movl $0x00000001,(%esp)
059F is lacie usb id.
the instruction then jump to offset 6A if the comparaison is OK (cmpw $0x059f,%ax)
0x0000f989 = 0000f91d + 2 + 6A
in an old patch driver, the JE op 74 is replaced by unconditional short jump JMP op EB
So open an hex editor, find 663d9f05 2 times (32 and 64 bit exe) and replace the following 74 by EB.
+257 0000f915 0fb7401e movzwl 0x1e(%eax),%eax
+261 0000f919 663d9f05 cmpw $0x059f,%ax
+265 0000f91d 746a je 0x0000f989
+267 0000f91f 0fb7c0 movzwl %ax,%eax
+270 0000f922 8944240c movl %eax,0x0c(%esp)
+274 0000f926 89542408 movl %edx,0x08(%esp)
+278 0000f92a c74424049c950100 movl $0x0001959c,0x04(%esp) %p::UIMCreateControlTransfer - Super Speed device other than LaCie is not supported - Vendor ID[%x]\n
+286 0000f932 c7042401000000 movl $0x00000001,(%esp)
059F is lacie usb id.
the instruction then jump to offset 6A if the comparaison is OK (cmpw $0x059f,%ax)
0x0000f989 = 0000f91d + 2 + 6A
in an old patch driver, the JE op 74 is replaced by unconditional short jump JMP op EB
So open an hex editor, find 663d9f05 2 times (32 and 64 bit exe) and replace the following 74 by EB.
Thanks a lot Toine44. I patched the PXHCD and my external HDD is recognized



Sign In
Create Account

Find content
Not Telling


