How to make Windows 7 based Virtual machine running on Ubuntu 14.04 host machine detect a USB device?

I have a medical device spirometer that connects via USB cable on a windows 7 machine and gets detected. It has a .exe file and corresponding 3 .dll files. Upon plugging the device into a windows machine and running the .exe file it detects the device perfectly,but when I am running windows 7 via virtual machine on Ubuntu 14.04 host machine and running the .exe file or trying to run the .exe file through wine on Linux the .exe file launches but showing "Device not connected" pop up window. Windows 7 running virtually on Linux platform is unable to detect the device.

Although, upon plugging in the device on a Linux machine and checking from the terminal using "lsusb" command I found it getting detected and displayed on the terminal screen.

Note: The manufacturer says they provide support for the device solely for windows machine and not on Linux platform.

Any suggestions as to how to get the device detected on the Linux platform would be very much appreciated.


If you are using Oracle VM VirtualBox - then you should install VirtualBox Extension pack (on host), Guest Additions (on guest) and enable USB Device Filters in the properties of virtual machine.

Steps:

  1. Insert the device into host machine
  2. Ensure that device is detected with lsusb
  3. Change the settings of virtual machine to enable USB device filter - click on add host device to add device from host machine:

    USB Device Filters

  4. Apply settings

  5. Start the virtual machine