Fix USB input devices after macOS Sonoma update
A recent macOS Sonoma update included a change to the handling of USB controllers that made the virtual keyboard and mouse inoperative. Changing the USB controller from ehci to xhci fixes it. This change also works for Big Sur and later, so the USB controller is set to xhci for Big Sur through Sonoma.
This commit is contained in:
parent
7ff84160ec
commit
26ceeed84b
1
quickemu
1
quickemu
|
@ -569,6 +569,7 @@ function vm_boot() {
|
||||||
NET_DEVICE="virtio-net"
|
NET_DEVICE="virtio-net"
|
||||||
USB_HOST_PASSTHROUGH_CONTROLLER="nec-usb-xhci"
|
USB_HOST_PASSTHROUGH_CONTROLLER="nec-usb-xhci"
|
||||||
GUEST_TWEAKS="${GUEST_TWEAKS} -global nec-usb-xhci.msi=off"
|
GUEST_TWEAKS="${GUEST_TWEAKS} -global nec-usb-xhci.msi=off"
|
||||||
|
USB_CONTROLLER="xhci"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Backwards compatibility if no macos_release is specified.
|
# Backwards compatibility if no macos_release is specified.
|
||||||
|
|
Loading…
Reference in New Issue