How to connect usb device to virtual machine, using Hyper-V

Anonymous
2024-11-23T21:38:02+00:00

Hello,

I'm Andrea. I have to use Ubuntu 22.04 as a virtual machine in Hyper-V. I want to connect an USB device, GeoMagic Touch, an haptic robot. If I connect and I use this robot with Windows, it works, but if I want to use this robot in the virtual machine, Ubuntu 22.04, it doesn't work, because Ubuntu can't see this USB device. Infact, if I run GeoMagic's driver, it can't see the robot and if I run this command in the terminal: "lsusb", it doesn't return me anything.

I'm using Windows 11.

How I can solve this problem?

Best regards,

Andrea.

***Move from Windows / Windows 11 / Devices and drivers***

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-25T02:50:22+00:00

    Hi Andrea Cusinato,

    Unfortunately, it is not supported to pass through USB devices to VMs in Hyper-V. USB devices can only be redirected to VMs through Enhanced Session / RDP. You need to check to see if the USB device works normally when it's redirected to the VM.

    https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/enhanced-session-mode

    Since it's an Ubuntu VM you can give a try to xrdp.

    https://4sysops.com/archives/activate-enhanced-session-mode-for-ubuntu-vms-in-hyper-v

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-25T12:22:12+00:00

    Ok, understood. I tried but it doesn't work.

    Why in hyper-v is not supported to pass through USB devices to a virtual machine?

    Thank you for your reply!

    0 comments No comments