USB PORT LIMIT PATCH FOR 14.1, 14.2, 14.3

  • This following patch allows root hub port limit over 0xf to 0x3f.
  • Patch 1
  • Comment: USB port limit patch 10.14.1 10.14.2 (credit ydeng)
  • Name: IOUSBHostFamily
  • Find: 00e0 83fb 0f0f 8716 0400
  • Replace: 00e0 83fb 3f0f 8716 0400
  • This need to be used together with AppleUSBXHCI patch published elsewhere * (https://www.tonymacx86.com/threads/solved-mojave-10-14-1-update-lost-usb-3-0.264125/).
  • Patch 2
  • Comment: USB Port limit patch 10.14.1, 10.14.2
  • Name: com.apple.driver.usb.AppleUSBXHCI
  • Find: 00 00 83 FB 0F 0F 83 8F 04 00 00
  • Replace: 00 00 83 FB 3F 0F 83 8F 04 00 00
  • Mojave 14.1 has an additional check in AppleUSBHostPort::setPortLocation to limit maximum number of ports to 0xf.
  • __text:0000000000015CC6 test ebx, ebx; port number passed in the argument, zero for root hub ports
  • __text:0000000000015CC8 jnz short loc_15CD2
  • __text:0000000000015CCA mov ebx, [r12+0D0h] ; port id from port property
  • __text:0000000000015CD2 loc_15CD2:
  • __text:0000000000015CD2 mov r14d, 0E00002C2h
  • __text:0000000000015CD8 cmp ebx, 0Fh ; check port id is not above 0xf
  • __text:0000000000015CDB ja loc_160F7
  • Patch 3
  • One more to fix port names:
  • https://www.tonymacx86.com/threads/usb-port-limit-patch-for-14-1-14-2-14-3.268893/#post-1888473
点赞
Share