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

Replace USB controllers with qemu-xhci for macOS Sonoma support #105

Closed
wants to merge 2 commits into from

Conversation

manuth
Copy link

@manuth manuth commented Mar 17, 2024

Changes made in this commit will fix #103 by replacing the ich9-echi1 controller with a qemu-xhci controller as recommended on Reddit: https://www.reddit.com/r/macOSVMs/s/kzSuQrgOgt.

Setting the address of the controller to <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> (virt-managers default), causes USB devices to not be picked up.

For that reason, the address from this repository was used, which seems to work out just fine:
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/>.

Unlike recommended on Reddit, the ports does not seem to be necessary. macOS 14.4 works just fine with the changes made in this PR.

When I limited the ports as recommended on Reddit (by adding ports='7' to the controller-tag), I also had to set UEFI -> ProtocolOverrides -> HashServices to true in OpenCore's config.plist file. Otherwise, a notification "Volume Hash Mismatch" notification was shown each time I booted up the VM.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. We don't currently review these file types ['.in'] - Let us know if you'd like us to change this.

@notAperson535
Copy link
Owner

@manuth I'll add this to the code myself while keeping both the other usb devices too. Let me know if that wouldn't work and ill reopen this, else it is closed and thank you

@manuth
Copy link
Author

manuth commented Mar 17, 2024

I'll give it a try once you pushed the changes
Thank you very much!

@notAperson535
Copy link
Owner

actually no i'll just replace it all with your changes

@manuth
Copy link
Author

manuth commented Mar 17, 2024

Awesome! Thank you very much 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

USB (including Keyboard and Mouse) Don't Work on macOS 14.4 Sonoma
2 participants