Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XhciPortLimit broken in macOS 11.3 Beta 2(20E5186d) #1514

Closed
khronokernel opened this issue Feb 18, 2021 · 2 comments
Closed

XhciPortLimit broken in macOS 11.3 Beta 2(20E5186d) #1514

khronokernel opened this issue Feb 18, 2021 · 2 comments

Comments

@khronokernel
Copy link
Member

khronokernel commented Feb 18, 2021

When updating to macOS 11.3 Beta 2(20E5186d), the machine will boot loop due to issues with the USB drivers. Below log includes multiple boot loops:

17:126 00:040 OCAK: Patching invalid size 8F000 with F80000 for com.apple.iokit.IOUSBHostFamily
17:135 00:008 OCAK: 64-bit RemoveUsbLimitIoP1 replace count - 1
17:141 00:005 OCAK: Patch success port com.apple.iokit.IOUSBHostFamily
17:150 00:009 OCAK: Patching invalid size 4D000 with DEA000 for com.apple.driver.usb.AppleUSBXHCI
17:159 00:008 OCAK: 64-bit RemoveUsbLimitV2 replace count - 1
17:165 00:006 OCAK: Patch success com.apple.driver.usb.AppleUSBXHCI
17:174 00:009 OCAK: Patching invalid size 29000 with D94000 for com.apple.driver.usb.AppleUSBXHCIPCI
17:183 00:008 OCAK: Skipping legacy port patch AppleUSBXHCIPCI on 200400

Additional files:

@ghorwith
Copy link

ghorwith commented Feb 19, 2021

Had same issue. Found 2 ports that worked with hardwired KB and Mouse, but otherwise ports are borked. Uncheck or disable XhciPortLimit to fix for now.

@vit9696
Copy link
Contributor

vit9696 commented Feb 21, 2021

Checked the patches. The code changes apply fine and the patched code did not change. It is macOS itself that got changed (somewhere, perhaps even outside the driver) resulting in the patches no longer functioning correctly. This may well be because of the incorrect location ids.

Given the overall discourage of the approach to patch USB ports, I think it is about the time to abandon these patches. At least by the core team, until anybody provides a better set.

@khronokernel please upload a complete IOUSBHostFamily.kext or maybe even the whole Extensions set from b1/b2 in case anybody wants to debug this some day.

1alessandro1 added a commit to 1alessandro1/OpenCore-Install-Guide that referenced this issue Feb 23, 2021
It shoud target one of the points from [this](dortania/bugtracker#162) issue 

Original Acidanthera's bugtracker issue can be found [here](acidanthera/bugtracker#1514)
I added the link gently provided by @khronokernel in the issue [162](dortania/bugtracker#162)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants