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

USB (including Keyboard and Mouse) Don't Work on macOS 14.4 Sonoma #103

Open
manuth opened this issue Mar 16, 2024 · 5 comments
Open

USB (including Keyboard and Mouse) Don't Work on macOS 14.4 Sonoma #103

manuth opened this issue Mar 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@manuth
Copy link

manuth commented Mar 16, 2024

Which operating system are you trying to install?
macOS Sonoma

Describe the bug
When running macOS using the make.sh --add, USB devices including keyboard and mouse don't work.

To Reproduce
Steps to reproduce the behavior:

  1. Install macOS Minterey using the "Manual Installation" guide
  2. Add the VM to virt-manager using make.sh --add
  3. Take note that mouse and keyboard still work
  4. Upgrade your macOS in the settings app
  5. Take note that after a reboot, both mouse and keyboard don't work anymore.

Expected behavior
Mouse and keyboard input should be picked up

Screenshots
n/a

Desktop (please complete the following information):

  • OS: Linux (Arch)
  • Version: latest

Additional context
The issue has been described in a reddit post found here:
https://www.reddit.com/r/macOSVMs/s/kzSuQrgOgt

As it looks, it's due to macOS dropping support for USB 2.

Switching to qemu-xhci is adviced.

I believe I managed it to fix it by doing exactly that, but I need to test it first.

Probably related to #87

@manuth manuth added the bug Something isn't working label Mar 16, 2024
@notAperson535
Copy link
Owner

This is a well known issue at this point, make sure to tell me how you edited the virt manager so I can update the repo

@manuth
Copy link
Author

manuth commented Mar 16, 2024

No worries, will do 😄

@emoffett
Copy link

I have created a pull request that has solved this issue for me: #104

Please let me know if you need more in order to accept it.

@manuth
Copy link
Author

manuth commented Mar 17, 2024

Alright!
I created a PR #105 addressing the libvirt-part.

@ErichPetersen
Copy link

ErichPetersen commented Apr 24, 2024

I am unable to access the iPhone via the USB port on MacOS Sonoma.
Is anyone else experiencing the same problem?
These are the parameters I'm using for the USB port:

-usb -device qemu-xhci,id=ehci -device usb-kbd -device usb-tablet
-usb -device usb-host,bus=ehci.0,vendorid=0x05ac,productid=0x12a8,guest-reset=false,id=iphone \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants