Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 743
Al Baldrick li suen els ous Avatar asked Sep 11 '25 02:09

Al Baldrick li suen els ous


2 Answers

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.

like image 139
Al Baldrick li suen els ous Avatar answered Sep 13 '25 07:09

Al Baldrick li suen els ous


The solution for me was to install the Oracle VM VirtualBox Extension Pack. I had to update virtual box to the latest version then download the latest version of the extension pack.

Then, on the USB tab of the virtual machine settings, I set 'Enable USB Controller' and 'USB 2.0 (EHCI) Controller'. Before it was set to USB 1.1 (OHCI) Controller which did not work. Then just add a USB filter for the composite device and when I started up the machine again everything worked.

USB Page Image

like image 35
user38157 Avatar answered Sep 13 '25 07:09

user38157