Failed to attach the USB device SEGGER J-Link [0100] to the virtual machine WINDOWS 7

Baldrick picture Baldrick · Oct 20, 2014 · Viewed 73.1k times · Source

I am running Windows 7 inside Mac OS X with VirtualBox, I used a BLE inside W7 without any problem. Then I used the BLE USB in the Mac, and when I try to use it again in the W& I got this message:

Failed to attach the USB device SEGGER J-Link [0100] to the virtual machine WINDOWS 7.
USB Device 'SEGGER J-Link’ with UUID {} is in use by someone else

I unplugged the USB, restart the Mac, start W7, but I can't attach it again to the W7

Answer

Baldrick picture Baldrick · Oct 21, 2014

I figured it out. You are supposed to:

  1. Shutdown the guest
  2. Plug in the device, let the host grab it
  3. In the host, go to virtual box, and edit the configuration for the guest. In the "Ports" tab, go to USB and add a filter to include the plugged in device
  4. Unplug the device
  5. Start the guest OS
  6. When the guest os is running, plug in the device.

Virtual box will grab the usb device and make it available for the guest. The guest will then go on and try to identify and configure the device.

Done.