Setting up USB passthrough for UTM - umrover/mrover-ros GitHub Wiki

Are you running Ubuntu through UTM? Trying to access a USB device in your VM? Struggling to get it working?

Try this simple 2-step process that helped me fixed my problem! This is what I did -

  1. USB 2.0 or USB 3.0? Check the USB connector - if the block inside is black, it's USB 2.0. If it's blue, it's USB 3.0. Then, you're going to want to set up USB sharing in UTM for your VM to match up with that. Refer to the GIF below for specifics on this  
  2. Select the USB device in UTM. Boot up your VM, go to the top right menu (of UTM, not your VM), click on the USB icon, & select your USB device. Look at the GIF below for what this looks like

 

And that should be it! You should be able to see your device with the dmesg | grep tty command.

p.s. If this didn't work/ if you've found a different way of getting USB pass through to work for you, let me know! Or just update this page directly.