Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtualbox: "USB device in use by someone else" error, how to make (mac) host let go? [closed]

I'm trying to set up a USB Fax Modem in Ubuntu through Virtual Box but I'm not sure how to do so.

Host OS = Mac OS X
Virtual Box Guest OS = Ubuntu 12.04
56k USB Fax/Modem = Lenovo 43R1786 (43R1815) by Conexant

On the host os, I can see /dev/tty.usbmodem24680241. I enabled USB Controller, and found my modem as "Conexant USB Modem", so I enabled that. Now, when I run the guest OS, and from the Virtual Box menu for that OS, I go to Devices > USB Devices > Conexant USB Modem, it says:

Failed to attach the USB device Conexant USB modem to the virtual machine Ubuntu32. USB device is in use by someone else. Looks like it means that the host (mac) grabbed the device first. How can I get it to let go so the guest can use it? Am I setting it up the right way?

Thanks!

like image 530
user1678406 Avatar asked Feb 04 '13 14:02

user1678406


People also ask

How do I get USB to work on VirtualBox Mac?

Exit the virtual machine and head over to “Settings” from the VirtualBox main screen. In the settings menu, head over to the USB section from the left pane and then click on the USB icon with a plus (+) sign as shown below. Next, select the USB device that you want to use from the list of connected devices.

How do I get VirtualBox USB ports to work?

Open up VirtualBox, right-click on the virtual machine that needs access to USB, and click Settings. In the VM settings window, click USB. You should see that USB is now available.

Can VirtualBox detect USB?

Now go back into your VM window, and from the Host options, select Device > Usb Devices > “your USB device.” The USB device should now show up just as it would on your physical computer. And that is all there is to adding a physical USB device to your VirtualBox VM's.

Can virtual machines detect USB?

You can use external USB hard drives with your virtual machine, much like any other USB device.


1 Answers

I figured it out. You are supposed to:

  1. Plug in the device, let the host grab it
  2. In the host, go to virtual box, and edit the configuration for the guest to use usb, and add a filter to include the plugged in device
    • Note, you may need to install the Extension pack to enable USB 2.0
  3. Unplug the device
  4. Start the guest os
  5. 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.

Notes:
Done have a running or saved instance of the guest(virtual machine) running while changing the settings.

like image 80
user1678406 Avatar answered Oct 19 '22 00:10

user1678406