Re: USB mouse on MacOS arm64 client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 20, 2024 at 06:52:34PM GMT, Andreas Yankopolus wrote:
> All—
> 
> I’m on an M1 MacBook Pro accessing VMs running on an amd86
> Linux server.
> 
> Is there a way to connect a USB device on the Mac to a VM?

That's the use case for USB redirection. Spice has spice-usbredir
channel which uses the usbredir library to do USB over tcp from
your client to remote QEMU.

As far as I know, usbredir works on Mac but I don't have one at
hand to test. If you are using spice-gtk, the client needs to be
built with that enabled.

> I’m not able to install additional software on the VMs and am
> trying to sort out mouse tracking, which is very laggy using
> the VirtIO Tablet device. Passing the mouse between MacOS and
> the VM seemed worth trying.
> 
> Maybe there’s another option?

If you are allowed to change QEMU command line arguments, you can
use setup usb device over a network port, that uses usbredir
protocol too. Then, you can use usbredirect binary (from usbredir
library) to redirect the local device.

All suggestions considering that usbredir works in your platform.

Cheers,
Victor

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]